summaryrefslogtreecommitdiffstats
path: root/WallpaperPicker
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* Merge "Moving some files and methods around" into ub-launcher3-masterSunny Goyal2015-02-2010-930/+568
|\
| * Moving some files and methods aroundSunny Goyal2015-02-1210-930/+568
| | | | | | | | | | | | | | | | > Removing android.util package > Moving static methods and classes out of WallpaperCropActivity > Removing some unused utility methods Change-Id: I252a0655ddce195189b6b3f0bf92970e5808c9d7
* | Merge "Fixing logic to determine if wallpaper change." into ub-launcher3-masterSunny Goyal2015-02-202-28/+4
|\ \
| * | Fixing logic to determine if wallpaper change.Sunny Goyal2015-02-122-28/+4
| | | | | | | | | | | | | | | | | | | | | > Current logic to determine if livewallpaper changed returns true all the time > Use returnCode passed by the calling activity. Change-Id: Ida800a90451b1f7d368234e1a7e10938dcf2f6f7
* | | Merge "Removing unused BlockingGLTextureView" into ub-launcher3-masterSunny Goyal2015-02-122-540/+11
|\ \ \ | |_|/ |/| |
| * | Removing unused BlockingGLTextureViewSunny Goyal2015-02-122-540/+11
| |/ | | | | | | Change-Id: Iac5aec1193e53dd554f61d07201bac06178914f5
* / Fixing last image thumb, being loaded twiceSunny Goyal2015-02-121-2/+1
|/ | | | Change-Id: I241e472a3f0869b82066163514fb2c29c0f18a8f
* Merge "Removing usage of reflection." into ub-launcher3-masterSunny Goyal2015-01-211-52/+0
|\
| * Removing usage of reflection.Sunny Goyal2015-01-201-52/+0
| | | | | | | | | | | | | | > Updated launcher.java with the new APIs > Removed unused method in BitmapUtils Change-Id: I24804d2cd7d9fc45040532e8324672f5ea6fc110
* | Removing support library dependencySunny Goyal2015-01-202-3/+3
|/ | | | | | > Removed FolderAutoScrollHelper as folders are currently not scrollable Change-Id: I261f43a665b742697e3224e1e9852ccc526badcd
* Import translations. DO NOT MERGEGeoff Mendal2015-01-1620-5/+619
| | | | | Change-Id: Id2721f2c721bfcaf5f880e6675f66a02a8bca1f3 Auto-generated-cl: translation import
* Changes made to accomodate GSA in Google3 w/ RobolectricCameron Neale2014-10-312-25/+2
| | | | | | | | | | | | | dragViewOffset removed from WallpaperPicker as it was causing a duplicate resource conflict with launcher3 and was not used within the WallpaperPicker project. Empty <application> tag added to WallpaperPicker manifest as required by Robolectric Removed <add-resource> tag from L3 manifest, unrecognized by Robolectric Change-Id: I3744fc50731f82c3e6fdc01d9819e9a0302dc503
* Removing duplicated and/or unused resources from WallpaperPicker that ↵Cameron Neale2014-10-203-24/+0
| | | | | | conflict with Launcher 3 resources. The resource duplicated between the two is now only held within Launcher3. These changes are necessary in order for GSA to build in Google3. Change-Id: I70f5a250db52303c876e6abedd9c6d32d1d4761e
* Add more Launcher files to delete on Clear Launcher DataHelena Josol2014-10-162-7/+5
| | | | | Bug: 12753154 Change-Id: I00679bdc6eff70a1398122aaa955c08eabd556b1
* Merge "Using DeviceDefault theme for Launcher and WallpaperPicker" into ↵Sunny Goyal2014-10-082-6/+6
|\ | | | | | | ub-now-queens
| * Using DeviceDefault theme for Launcher and WallpaperPickerSunny Goyal2014-10-082-6/+6
| | | | | | | | Change-Id: I31bfeedd99d50683fba910f233b25bb3f364ce1f
* | Updating the wallpaperpicker thumb selection feedbackSunny Goyal2014-10-0815-4/+98
|/ | | | | | | | | | > Using shape drawable instead of 9-patch image > For L and above, using ripple click feedback with a tick when selected. The vector path for tick is from go/icons ('Done') Bug: 17897837 Change-Id: Ic9c9e455eb8bc39322b1474dd55432961b9a6498
* Merge "Create a central list of files the Launcher writes to the app ↵Helena Josol2014-10-061-4/+5
|\ | | | | | | directory" into ub-now-queens
| * Create a central list of files the Launcher writes to the app directoryHelena Josol2014-10-061-4/+5
| | | | | | | | | | | | | | Replace hardcoded Launcher filenames with the defined constants. Bug: 12753154 Change-Id: I072f202d9388a703b9e6851bde64ea7fafe4b10a
* | am 4b8d11fc: Add missing xxhdpi assetAdam Cohen2014-10-031-0/+0
|\ \ | |/ |/| | | | | * commit '4b8d11fcb396760eca75cf2b055a7acd05c594ec': Add missing xxhdpi asset
| * Add missing xxhdpi assetAdam Cohen2014-10-031-0/+0
| | | | | | | | | | Bug: 17813013 Change-Id: If1e3448fb109e3f7f0c1ae6562a795fecf3bdf42
| * Import translations. DO NOT MERGEBaligh Uddin2014-09-252-4/+4
|/ | | | | Change-Id: I619612c919567fdaec3d7d0f5b9a33c94439c759 Auto-generated-cl: translation import
* Add ability for Partner customization apk to override certain DeviceProfile ↵Adam Cohen2014-09-042-107/+1
| | | | | | | | | | | params -> Workspace row / col counts -> All apps row / col counts -> Workspace icon size issue 17208277 Change-Id: I25cfafede4da783083593b9bfeff4e5ba7751d36
* Saving the system wallpaper thumbnail prefixed by the SDK_INTSunny Goyal2014-08-131-8/+20
| | | | | | | | so that it is recreated after a system update. issue: 15670065 Change-Id: I237ef1d99676d5a0ac6ff7b4a80a7a72905ef1ed
* Autoinstalls loading xmlSunny Goyal2014-08-121-20/+4
| | | | | | | | | | > Launcher checkes for an apk in the system image with a broadcast receiver for action: com.android.launcher3.action.LAUNCHER_CUSTOMIZATION > Default layout is parsed from that apk, which can also contain icons and string resources used in the layout config Change-Id: I44fc9e7c3134f525f7b5db29f4e8bb56e17ce445
* Add partner customization option to force first run flowAdam Cohen2014-08-081-0/+8
| | | | | Change-Id: Id50587cbb95e375b3847597f12bd8566c70dd7bc (cherry picked from commit 923e1de9f0d7672dd18947ecde2b0da8c5768b7a)
* Fix SecurityException when exiting wallpaper picker earlyAdam Cohen2014-07-241-4/+18
| | | | | | issue 16155967 Change-Id: Iba1add737089b73e6e5bbfb143dce4204fa9dc7c