summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Cleaning up some resources in WallpaperPickerActivitySunny Goyal2015-02-2612-114/+46
| | | | Change-Id: I4923403c0c094d0ae0b00e3a08a13099c3addb10
* Build fix. Some references of a resources still remained after ag/619757Sunny Goyal2015-02-262-19/+2
| | | | Change-Id: Ia05a12ff5af6fa13d75cbedd8bd2fd6d33a78b7f
* Merge "Refactoring common methods" into ub-launcher3-burnabySunny Goyal2015-02-266-88/+28
|\
| * Refactoring common methodsSunny Goyal2015-02-266-88/+28
| | | | | | | | Change-Id: Id6d3072dd3a6d7f54e9591abbeffd9bd51c7403d
* | Merge "Picking a bitmap to reuse where least pixels are wasted" into ↵Sunny Goyal2015-02-261-8/+13
|\ \ | |/ |/| | | ub-launcher3-burnaby
| * Picking a bitmap to reuse where least pixels are wastedSunny Goyal2015-02-251-8/+13
| | | | | | | | Change-Id: I4217bc68a5caa2d1526e4ebb101dbaf0348066d3
* | am 7470c817: Using SCREEN_ORIENTATION_LOCKED for locking to current orientation.Sunny Goyal2015-02-250-0/+0
|\ \ | |/ |/| | | | | * commit '7470c817e46f241bf37a7874fa7cf7493fc7cf94': Using SCREEN_ORIENTATION_LOCKED for locking to current orientation.
| * Using SCREEN_ORIENTATION_LOCKED for locking to current orientation.Sunny Goyal2015-02-231-2/+6
| | | | | | | | | | | | Bug: 17298128 Change-Id: If64b6957a594bcc48f6454689d11cd63d31b9239 (cherry picked from commit 3c1865ad5050f594d1684fe8962bfbc8ffcbe4bb)
* | 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)
* | [key event focus handling] (1)hotseat <-> icon now symmetric, (2)support DEL ↵Hyunyoung Song2015-02-244-50/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | keycode TL;DR; (1) Key event navigation from and to the hotseat and icons in the workspace is now symmetric. Since there is one more icon in the hotseat, only left N-1 icon navigation was symmetric. (2) KeyEvent.KEYCODE_DEL and KeyEvent.KEYCODE_FORWARD_DEL can now delete icons from the workspace. The focus move to the previous icon where the focus traveled from. Also contains minor styling and indexing issues. Bug: 15408321 Bug: 19381790 Change-Id: I16cbcb2693e92eebb830997d01c0bf674073dd51
* | Merge "[key event focus handling] Cleanup/Refactor/Feature 1) Focus ↵Hyunyoung Song2015-02-203-532/+732
|\ \ | | | | | | | | | navigation handling is refactored to Focus utility class. New 2 step dpad navigation algorithm is inside Focus class 2) Introduced a map (or matrix) that indicates where sparse icons are located inside a grid. This enables getting rid of the icon sorting logic which was costly. 3) Unified all the dpad handling logic inside the handleXXKeyEvent methods 4) DOWN/UP key will allow navigation between workspace icons and the hotseat 5) Folder icons allow DOWN/UP to navigate to the title" into ub-launcher3-master
| * | [key event focus handling] Cleanup/Refactor/FeatureHyunyoung Song2015-02-203-532/+732
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Focus navigation handling is refactored to Focus utility class. New 2 step dpad navigation algorithm is inside Focus class 2) Introduced a map (or matrix) that indicates where sparse icons are located inside a grid. This enables getting rid of the icon sorting logic which was costly. 3) Unified all the dpad handling logic inside the handleXXKeyEvent methods 4) DOWN/UP key will allow navigation between workspace icons and the hotseat 5) Folder icons allow DOWN/UP to navigate to the title b/19381790 Change-Id: Id45b3f215ef7c1ca5f99b08e3d721e219298627a
* | | Merge "Revert "Mark WIDGET_CATEGORY_HOME and WIDGET_CATEGORY_SEARCHBOX on ↵Adam Cohen2015-02-201-4/+1
|\ \ \ | | | | | | | | | | | | the search widget"" into ub-launcher3-master
| * | | Revert "Mark WIDGET_CATEGORY_HOME and WIDGET_CATEGORY_SEARCHBOX on the ↵Adam Cohen2015-02-201-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | search widget" This reverts commit 87cf88393cedb66633bbcf51c283d525ef88932f. Change-Id: Ie15c71f76c71dfb6b85aefcc10cd66eb49bea6dc
* | | | 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 "Mark WIDGET_CATEGORY_HOME and WIDGET_CATEGORY_SEARCHBOX on the search ↵Adam Cohen2015-02-191-1/+4
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | widget" into ub-launcher3-master
| * | | | | Mark WIDGET_CATEGORY_HOME and WIDGET_CATEGORY_SEARCHBOX on the search widgetAdam Cohen2015-02-181-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 17334589 Change-Id: I0e14381cfc19822451e68eb7f070d94525e126c3
* | | | | | Merge "Add clip-reveal animation to Launcher" into ub-launcher3-masterChet Haase2015-02-171-3/+51
|\ \ \ \ \ \
| * | | | | | Add clip-reveal animation to LauncherChet Haase2015-02-171-3/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ClipReveal animation was recently added to the platform. This makes that animation the default launch animation when running on that version of the platform. Issue #19362772 Better material launch animations Change-Id: I077659c14dc426be465d163bea6ba0fa93a637c5
* | | | | | | am fce720f3: Merge "Fixing crash when dragging and dropping a restored ↵Sunny Goyal2015-02-172-5/+4
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | / | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | widget." into ub-launcher3-almonte * commit 'fce720f39adcf8a35b93978c36ab0e8833a74e3e': Fixing crash when dragging and dropping a restored widget.
| * | | | | Merge "Fixing crash when dragging and dropping a restored widget." into ↵Sunny Goyal2015-02-172-5/+4
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | ub-launcher3-almonte
| | * | | | | Fixing crash when dragging and dropping a restored widget.Sunny Goyal2015-02-172-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > When the widget is in pending state, AppWidgetProviderInfo is not available Bug: 19364311 Change-Id: If3126a375853e6e710c6eba4b8824e18f3f0d391
* | | | | | | am 80e6beb4: Ensure that layers are properly removed after animationAdam Cohen2015-02-142-36/+59
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '80e6beb48ca71a321f667e79fe35a7ab2fb4c2bf': Ensure that layers are properly removed after animation
| * | | | | | Ensure that layers are properly removed after animationAdam Cohen2015-02-132-36/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 19243980 Change-Id: Ic1d54f92051f7d937878898cae210ec18ecbaff8
* | | | | | | Merge "Use ResolveInfo for label and icon for LauncherActivityInfo" into ↵Sunny Goyal2015-02-121-22/+23
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ub-launcher3-master
| * | | | | | | Use ResolveInfo for label and icon for LauncherActivityInfoSunny Goyal2015-02-111-22/+23
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of using the ActivityInfo, use the ResolveInfo so that any label or icon specified on the intent-filter is used. Bug: 18482039 Change-Id: I87c0d9dba0754e3aa2c81727a9f60d789e5e8630
* | | | | | | Merge "Removing unused BlockingGLTextureView" into ub-launcher3-masterSunny Goyal2015-02-122-540/+11
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | |
| * | | | | | Removing unused BlockingGLTextureViewSunny Goyal2015-02-122-540/+11
| |/ / / / / | | | | | | | | | | | | | | | | | | Change-Id: Iac5aec1193e53dd554f61d07201bac06178914f5
* | | | | | Merge "Removing code for the unused 'upgrade path'" into ub-launcher3-masterSunny Goyal2015-02-125-237/+36
|\ \ \ \ \ \
| * | | | | | Removing code for the unused 'upgrade path'Sunny Goyal2015-02-115-237/+36
| |/ / / / / | | | | | | | | | | | | | | | | | | Change-Id: Ib9eca92284b0eabbe36ffaaf26c62a6ce3cfd3e9
* | | | | | Merge "Fixing last image thumb, being loaded twice" into ub-launcher3-masterSunny Goyal2015-02-121-2/+1
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | |
| * | | | | Fixing last image thumb, being loaded twiceSunny Goyal2015-02-121-2/+1
| |/ / / / | | | | | | | | | | | | | | | Change-Id: I241e472a3f0869b82066163514fb2c29c0f18a8f
* | | | | am c87775d8: Fixing rank migration code to handle null values correctly.Sunny Goyal2015-02-111-1/+2
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | * commit 'c87775d8e63c7b5722c23ef95c782f574b847d73': Fixing rank migration code to handle null values correctly.
| * | | | Fixing rank migration code to handle null values correctly.Sunny Goyal2015-02-101-1/+2
| | |/ / | |/| | | | | | | | | | | | | | Bug: 19297508 Change-Id: I652ef30ab37f5b09204f0388de8e065d64b7724d
* | | | Remove meaningless bug id from from addDumpLog and Log.d methodsHyunyoung Song2015-02-111-25/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | b/11683562 b/6557954 Change-Id: Icd0e237ebb09ac868928328f45a3b30cf19a20df
* | | | Using SCREEN_ORIENTATION_LOCKED for locking to current orientation.Sunny Goyal2015-02-101-2/+6
| |/ / |/| | | | | | | | | | | Bug: 17298128 Change-Id: If64b6957a594bcc48f6454689d11cd63d31b9239
* | | am 8f9a7879: Launcher crashes on widget bind permission promptSunny Goyal2015-02-060-0/+0
|\| | | | | | | | | | | | | | * commit '8f9a787945c3326791c61b001e786b96e9fc4341': Launcher crashes on widget bind permission prompt
| * | Launcher crashes on widget bind permission promptSunny Goyal2015-02-061-3/+3
| | | | | | | | | | | | | | | Change-Id: If09feb357e1604e5ee1a66305b022674f466833e (cherry picked from commit e6b63a3d7335fed5b7bbcc6d2c6230ae28facd3e)
* | | am bd4a7893: Merge "Revert "Adding Launcher3 callbacks for trimming ↵Adam Cohen2015-02-063-8/+0
|\| | | | | | | | | | | | | | | | | | | | memory."" into ub-launcher3-almonte * commit 'bd4a78937ffe2f37386dae4ae8817e33422c1267': Revert "Adding Launcher3 callbacks for trimming memory."
| * | Merge "Revert "Adding Launcher3 callbacks for trimming memory."" into ↵Adam Cohen2015-02-063-8/+0
| |\ \ | | | | | | | | | | | | ub-launcher3-almonte
| | * | Revert "Adding Launcher3 callbacks for trimming memory."Adam Cohen2015-02-063-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 42f3b9e0283c30c40c286f9958ce0f8b02f85c52. Change-Id: I65a7c893576c0901b231bab9abe6937f99415f1e
* | | | am acbe9f65: Merge "Adding Launcher3 callbacks for trimming memory." into ↵Robert Kozikowski2015-02-043-0/+8
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | ub-launcher3-almonte * commit 'acbe9f6546455672b2edf51928d4fee4b6e246ba': Adding Launcher3 callbacks for trimming memory.
| * | | Merge "Adding Launcher3 callbacks for trimming memory." into ↵Robert Kozikowski2015-02-043-0/+8
| |\| | | | | | | | | | | | | | ub-launcher3-almonte
| | * | Adding Launcher3 callbacks for trimming memory.Robert Kozikowski2015-02-043-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It will help reduce memory footprint of Launcher, when in background. It is required to help deallocate images, when Google Now Launcher goes into the background. See cl/83222937/ . Change-Id: I6d3d4d1f0457c67abcad3ba4516c87abcf666b05
* | | | am 4802b410: Adding null-check before parsing an intentSunny Goyal2015-02-041-1/+3
|\| | | | | | | | | | | | | | | | | | | * commit '4802b4107a66bc86996083b4835d1094ef4f4cbb': Adding null-check before parsing an intent
| * | | Adding null-check before parsing an intentSunny Goyal2015-02-041-1/+3
| |/ / | | | | | | | | | | | | Bug: 18962665 Change-Id: Iae02435f019fa205f3ee3ae721a29f26b3b56dd2
* | / am b76c165a: Fix ClassCastException due to typoAdam Cohen2015-01-301-1/+1
|\| | | |/ |/| | | | | * commit 'b76c165aadb4deb144ec3b1267aa1faf304638e9': Fix ClassCastException due to typo