summaryrefslogtreecommitdiffstats
path: root/WallpaperPicker
Commit message (Collapse)AuthorAgeFilesLines
* Trebuchet: Add runtime storage perm check for wallpaper pickercretin452016-05-052-1/+43
| | | | | | Issue-id: FEIJ-441 Change-Id: Iac9a2c249de595568f68313335d337410928d19e
* Revert "Merge tag 'android-6.0.1_r22' of ↵Michael Bestas2016-05-024-5/+5
| | | | | | | | | https://android.googlesource.com/platform/packages/apps/Launcher3 into HEAD" This reverts commit 1129f556e5097e777bd2071890cc622db6a14f5e, reversing changes made to e48ef94fd67a228c3ab402bdbb2b77c8a5440012. Change-Id: Ie2c86d2cf4856b99ac65030c8af3571b926fde53
* Merge tag 'android-6.0.1_r22' of ↵Steve Kondik2016-03-134-5/+5
|\ | | | | | | | | | | https://android.googlesource.com/platform/packages/apps/Launcher3 into HEAD Android 6.0.1 release 22
| * am 00e827c7: am 5fcaab43: am ea9ad5ce: Merge remote-tracking branch ↵Sunny Goyal2015-09-146-20/+38
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | \'origin/ub-launcher3-burnaby\' into mnc-dev * commit '00e827c70cb4213ee05140157006a37d12662448': (76 commits) Restoring provider behavior for reloading app on old devices > For older devices, launcher will only reload in case of inserts with specific query parameters > For older devices, launcehr will notify content observers of any internal inserts > Chaning TAG for Launcher provider as max logging tag is only 23 characters Removing items which are on invalid screen Preventing null pointer crash when opening a folder Revert workaround for move to default screen on home intent. Fixing NPE in recycler view scroll bar. Adding workaround for regression caused by ag/752175 Adding gradle script for Android Studio Override the overscroll color for the widget rows. Adding graphic for all apps empty search screen. Using GET_UNINSTALLED_PACKAGES flag when getting packageInfo for a managed profile app Revert "Adding viewId for the QSB" Adding viewId for the QSB Fixing issue with missing scroll bar after fast-scrolling and searching. Fixing an issue where you would inadvertently start fastscrolling. Pending bind callbacks should be cleared before starting the loader, similar to startBinding Fixing widgets container inactive scroll bar color. Making the detached scrollbar catch up faster to the actual scroll position. Updating theme to use the light theme by default, instead of wallpaper theme > This allows us to use all the goodness of material theme > Cursor in folder edit text is no longer 1px wide Updating the target sdk to launcher Using the usermanager api to get creation time ...
| | * am 5fcaab43: am ea9ad5ce: Merge remote-tracking branch ↵Sunny Goyal2015-09-146-20/+38
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | \'origin/ub-launcher3-burnaby\' into mnc-dev * commit '5fcaab43e603ceabd1d71ec355c8a0b59aac8cf0': (76 commits) Restoring provider behavior for reloading app on old devices > For older devices, launcher will only reload in case of inserts with specific query parameters > For older devices, launcehr will notify content observers of any internal inserts > Chaning TAG for Launcher provider as max logging tag is only 23 characters Removing items which are on invalid screen Preventing null pointer crash when opening a folder Revert workaround for move to default screen on home intent. Fixing NPE in recycler view scroll bar. Adding workaround for regression caused by ag/752175 Adding gradle script for Android Studio Override the overscroll color for the widget rows. Adding graphic for all apps empty search screen. Using GET_UNINSTALLED_PACKAGES flag when getting packageInfo for a managed profile app Revert "Adding viewId for the QSB" Adding viewId for the QSB Fixing issue with missing scroll bar after fast-scrolling and searching. Fixing an issue where you would inadvertently start fastscrolling. Pending bind callbacks should be cleared before starting the loader, similar to startBinding Fixing widgets container inactive scroll bar color. Making the detached scrollbar catch up faster to the actual scroll position. Updating theme to use the light theme by default, instead of wallpaper theme > This allows us to use all the goodness of material theme > Cursor in folder edit text is no longer 1px wide Updating the target sdk to launcher Using the usermanager api to get creation time ...
| | * \ resolved conflicts for merge of 13ef17a3 to cw-e-devHyunyoung Song2015-07-23121-2333/+1165
| | |\ \ | | | | | | | | | | | | | | | | | | | | b/22609402 Change-Id: I3753db1f922923a6b462fa75a5c0d826e0413f95
| | * | | Import translations. DO NOT MERGEGeoff Mendal2015-05-302-1/+37
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id8b8584b48327e773693a700dbbf4b5934dbd8b4 Auto-generated-cl: translation import
| | * | | Import translations. DO NOT MERGEGeoff Mendal2015-05-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I04d830524cf0903d9cf77874039a3f7a9a165ce9 Auto-generated-cl: translation import
| * | | | resolved conflicts for merge of 13ef17a3 to mnc-ub-devHyunyoung Song2015-07-23121-2331/+1199
| |\ \ \ \ | | |/ / / | |/| / / | | |/ / | | | | | | | | b/22609402 Change-Id: I80699d985088b9b79211284e710e8a6b8b90860b
| * | | Import translations. DO NOT MERGEGeoff Mendal2015-04-223-0/+108
| | | | | | | | | | | | | | | | | | | | Change-Id: I3a26b2cea1c07962922548e026933df4a52bda4e Auto-generated-cl: translation import
| * | | Import translations. DO NOT MERGEGeoff Mendal2015-03-211-0/+36
| | | | | | | | | | | | | | | | | | | | Change-Id: I1e04e82c7ab16d948fd15adb5688e452211256df Auto-generated-cl: translation import
| * | | Import translations. DO NOT MERGEGeoff Mendal2015-03-091-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: Iff3cfd7f43663f7fc777da5c1971da7b8608d952 Auto-generated-cl: translation import
| * | | Import translations. DO NOT MERGEGeoff Mendal2015-02-0220-5/+619
| | | | | | | | | | | | | | | | | | | | Change-Id: Id9fffb14666e450ddf0159be048e79e2c0b5bc44 Auto-generated-cl: translation import
* | | | Trebuchet: Fix resource not found exception when picking a wallpapermyfluxi2016-01-121-1/+1
| |_|/ |/| | | | | | | | | | | | | | Select a picture from Gallery, set as wallpaper, crash. Change-Id: I4c23b9523d36f51bdd1cff2858f2ece08fd4cc84
* | | Updating theme to use the light theme by default, instead of wallpaper themeSunny Goyal2015-08-214-2/+17
| | | | | | | | | | | | | | | | | | | | | > This allows us to use all the goodness of material theme > Cursor in folder edit text is no longer 1px wide Change-Id: I705f5472ff71969ae45747dd127a8ba5253df44d
* | | Version code cleanupSunny Goyal2015-08-172-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | > Renaming Lmp to Lollipop > Lollipop_MR1 instead of directly using 22 > Using M APIs directly instead of reflection Change-Id: I10a307f46e3be15b3299f549a2fd7e0e215a6a1b
* | | Ensure that crop view is loaded before applying a wallpaperSunny Goyal2015-08-121-1/+2
| | | | | | | | | | | | | | | Bug: 22293299 Change-Id: I64d5268cc263bbb6595a0b28bdd5ec73d540da41
* | | Preventing user from selecting any new time, when a tile is already being ↵Sunny Goyal2015-08-101-0/+4
| | | | | | | | | | | | | | | | | | | | | applied Bug: 22293299 Change-Id: I6b9bf2b777d33ca23f291c7872ce1f338d41e516
* | | Fix issue where scroll container shadow didn't fade outAdam Cohen2015-08-031-9/+11
| |/ |/| | | | | Change-Id: I3b0104dea04009819db0375c381b8ff445b76baa
* | Import translations. DO NOT MERGEGeoff Mendal2015-07-084-0/+144
| | | | | | | | | | Change-Id: I6d088f3a7797d75df4e1faf21b3809a891618449 Auto-generated-cl: translation import
* | Import translations. DO NOT MERGEGeoff Mendal2015-07-082-3/+3
| | | | | | | | | | Change-Id: I32cb7994d836d2ea00acab42fa11f31b33dab3d9 Auto-generated-cl: translation import
* | Import translations. DO NOT MERGEGeoff Mendal2015-07-0673-74/+74
| | | | | | | | | | Change-Id: I7e48169b1393f02ef4a152b8052f5243f3363f3a Auto-generated-cl: translation import
* | Updating the pick-image tile in wallpaper pickerSunny Goyal2015-07-016-1/+1
| | | | | | | | | | | | | | | | > Changing the label to My photos > Changing the icon to photo-library icon Bug: 22019397 Change-Id: I068d8d5fa11392642bb0a84cb466d8f679e49b54
* | Removing junit.framework.Assert from wallpaper picker codeSunny Goyal2015-06-263-8/+7
| | | | | | | | | | Bug: 22124692 Change-Id: Ifd41727a2ce4af660818b4f0cd6b95110ffdeec4
* | Merge "Avoid crashing if we don't have the READ_EXTERNAL_STORAGE permission" ↵Adam Cohen2015-06-241-0/+13
|\ \ | | | | | | | | | into ub-launcher3-burnaby
| * | Avoid crashing if we don't have the READ_EXTERNAL_STORAGE permissionAdam Cohen2015-06-231-0/+13
| | | | | | | | | | | | | | | | | | issue 22019397 Change-Id: I7d556494569afaeac0ecdd641a089b78663b5563
* | | Using a full-bleed background for Set-Wallpaper buttonSunny Goyal2015-06-232-1/+7
| | | | | | | | | | | | | | | Bug: 22007160 Change-Id: I06c4ffe5b5fa4f2c18c06a6e1bf014b328de00fd
* | | Import translations. DO NOT MERGEGeoff Mendal2015-06-175-6/+42
|/ / | | | | | | | | Change-Id: I8c0c8c4e5f5e09c5852d31429c8f668d4229cc37 Auto-generated-cl: translation import
* | Read rotation setting correctly from the wallpaper picker.Rahul Chaturvedi2015-06-151-1/+1
| | | | | | | | | | | | | | | | | | If reading the rotation setting without the multi-process flag, the WallpaperPickerActivity usually picks up a cached value. Specifying the multi-process flag during the read fixes this and the wallpaper picker always has the correct rotation setting. Change-Id: Ic3639f8cd694674e92c8940b753c6bc30486076d
* | Fixing touch feedback clipped on SetWallpaper buttonSunny Goyal2015-06-051-0/+31
| | | | | | | | | | Bug: 19534312 Change-Id: I97dfd92c560caaf83e525f7e94286a7a77d2ba0b
* | Merge "Stylus support: creating and setting listeners for stylus button ↵Mady Mellor2015-06-031-0/+10
|\ \ | | | | | | | | | press" into ub-launcher3-burnaby
| * | Stylus support: creating and setting listeners for stylus button pressMady Mellor2015-06-021-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This updates almost(*) all locations that use a long press listener to also set a custom touch listener that recognizes the stylus button press action. The stylus button press action is: when a stylus touches a view while the primary stylus button is pressed which may occur on a DOWN or MOVE event. *The location this is *not* enabled for is: Longpress to enter "overview" mode -- this isn't really a selection or drag n drop action; it is also easy to accidentally do this while using the stylus gesture to drag n drop items which is not an ideal interaction. Also not set for the "cling" that demonstrates this. Bug: 20430722 Change-Id: I9343f143261a7b4fada9afca28b8a11a60dbecca
* | | Add the Allow Rotation setting to Launcher3.Rahul Chaturvedi2015-06-011-1/+6
|/ / | | | | | | | | | | | | | | | | | | | | | | This CL adds a Settings activity along with the code needed to provide a "Allow Rotation" setting to all phones and tablets. This setting is set to false for phones and true for tablets. On changing the setting from unlocked to locked, the launcher (and the Settings activity) will get locked to the orientation the user was in when he disabled "Allow Rotation". This is consistent with how the natural rotation feature of Android works. Change-Id: I8a1c59d1fa0bb9262530cad96e0a9bdbab0d9344
* | Enabling setWallpaper button only if the image was loaded successfullySunny Goyal2015-05-212-4/+9
| | | | | | | | | | Bug: 20187333 Change-Id: I1b738a06499d20facbc4bccb1e6247086a45b686
* | Verify that an image can be rendered on a GL Surface before using itSunny Goyal2015-05-183-46/+45
| | | | | | | | | | Bug: 20138883 Change-Id: I8de70eb971f31c2a4c07a7903e097a1586402282
* | Various lint error fixes.Sunny Goyal2015-05-143-6/+12
| | | | | | | | | | | | | | | | > Fixing some RTL errors by specifying both marginStart and marginLeft > Moving all layout direction checks to Utilities > Explicitely adding @TargetApi before every method Change-Id: Ibe9c52b93b5a6adeadb27ace2b312770fd732ea0
* | Merge "Revert "Revert "Disable setWallpaper button until the wallpaper is ↵Sunny Goyal2015-04-151-30/+41
|\ \ | | | | | | | | | loaded" Will submit again after the drop" Actual fix" into ub-launcher3-burnaby
| * | Revert "Revert "Disable setWallpaper button until the wallpaper is loaded" ↵Sunny Goyal2015-04-151-30/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Will submit again after the drop" Actual fix This reverts commit b4b01efa438953b0a9fcb5b83a6a619e24c93ea3. Change-Id: I65cc75e0f1a95f69be607bb5b11d7f4627ff25c1
* | | Merge "Revert "Disable setWallpaper button until the wallpaper is loaded" ↵Sunny Goyal2015-04-151-41/+30
|\ \ \ | |/ / | | | | | | Will submit again after the drop" into ub-launcher3-burnaby
| * | Revert "Disable setWallpaper button until the wallpaper is loaded"Sunny Goyal2015-04-151-41/+30
| | | | | | | | | | | | | | | | | | | | | | | | Will submit again after the drop This reverts commit 65776c43590e506f2ce1906b1421caad95448010. Change-Id: I5f85d0c70f3f5faf85d9ba16e82d4714b694a193
* | | Merge "Disable setWallpaper button until the wallpaper is loaded" into ↵Sunny Goyal2015-04-151-30/+41
|\ \ \ | |/ / | | | | | | ub-launcher3-burnaby
| * | Disable setWallpaper button until the wallpaper is loadedSunny Goyal2015-04-151-30/+41
| | | | | | | | | | | | | | | Bug: 20187333 Change-Id: Id7a42616560e15eddedad5846ef927a3be52ed1c
* | | Remove usage of FloatMathNeil Fuller2015-04-151-3/+2
|/ / | | | | | | | | Bug: https://code.google.com/p/android/issues/detail?id=36199 Change-Id: I2effc3f498fb13e66de9a905b9a40ac5688a5850
* | Removing Pools.java as it is present in support libSunny Goyal2015-04-082-167/+2
| | | | | | | | Change-Id: I0f1346223aa289889dbefedd47bff093e9c2c05d
* | Adding BaseActivity which can be overriden for custom behaviorSunny Goyal2015-03-216-59/+80
| | | | | | | | Change-Id: I6707aa99f5d33dceede226a6367e24482f5157f6
* | Removing all dependencies of launcher code on wallpaper-pickerSunny Goyal2015-03-204-136/+37
| | | | | | | | | | | | | | > WallpaperPicker can still depend on launcher code, but not the other way round. Change-Id: I93a07f985c3955c638a68a5fad9c09b184a879b9
* | Reducing method count by eliminating synthetic accessorsAdam Cohen2015-03-207-38/+48
| | | | | | | | | | | | | | | | | | | | | | Elimates 304 methods based on dex analysis The java compiler generates sythetic accessor methods for all private fields, methods and contructors accessed from inner classes. By marking them package-private and @Thunk instead, sythentic accessor methods are no longer needeed. These annotated elements should be treated as private. Change-Id: Id0dc2c92733474250d8ff12fa793d3a8adeb1f26
* | Cleaning up some resources in WallpaperPickerActivitySunny Goyal2015-02-2612-114/+46
| | | | | | | | Change-Id: I4923403c0c094d0ae0b00e3a08a13099c3addb10
* | Picking a bitmap to reuse where least pixels are wastedSunny Goyal2015-02-251-8/+13
| | | | | | | | Change-Id: I4217bc68a5caa2d1526e4ebb101dbaf0348066d3
* | Reducing memory usage of wallpaper pickerSunny Goyal2015-02-245-182/+241
| | | | | | | | | | | | | | | | | | | | | | | | > Loading preview bitmap only once, instead of loading it twice at BitmapRegionTileSource and BitmapSource > Maintaing a weak-set of reusable bitmaps and reusing them for decoding bitmaps > Loading images on a HandlerThread (instead of AsyncTask) and removing any non-started task before submitting a new task > Loading inbuild images (from resources) on HandlerThread instead of UIThread > Freeing up unbound GL textures before binding a new texture. Bug: 18382606 Change-Id: Ic4ca630dd113ded65d2853eb0d291c9e5823637e (cherry picked from commit 283c2261bd4440f4108a564cea0f5fc499781213)