Sunny Goyal
1587d5362f
Refactoring common methods
...
Change-Id: Id6d3072dd3a6d7f54e9591abbeffd9bd51c7403d
2015-02-26 18:19:22 +00:00
Sunny Goyal
633325c4c2
DO NOT MERGE: Setting workspace id as primary key
...
Bug: 19475231
Change-Id: I0385e97868db73dafe148ce45af7dda4555ee593
2015-02-25 16:56:54 -08:00
Sunny Goyal
7902f30127
am 8ed75e5c: am 7470c817: Using SCREEN_ORIENTATION_LOCKED for locking to current orientation.
...
* commit '8ed75e5c1606d4bd1218e2e3975527e1719d9be6':
2015-02-25 21:15:50 +00:00
Sunny Goyal
75510f1346
am 65b929d6: Reducing memory usage of wallpaper picker
...
* commit '65b929d6f21683198caf28e266fd2cf52c843764':
Reducing memory usage of wallpaper picker
2015-02-25 21:15:43 +00:00
Hyunyoung Song
2aede816df
am 31178b82: [key event focus handling] (1)hotseat <-> icon now symmetric, (2)support DEL keycode
...
* commit '31178b8237ccb6af666df60ef60c116c8afdf316':
[key event focus handling] (1)hotseat <-> icon now symmetric, (2)support DEL keycode
2015-02-25 21:15:42 +00:00
Sunny Goyal
9f9d0a59c4
Picking a bitmap to reuse where least pixels are wasted
...
Change-Id: I4217bc68a5caa2d1526e4ebb101dbaf0348066d3
2015-02-25 11:53:26 -08:00
Sunny Goyal
8ed75e5c16
am 7470c817: Using SCREEN_ORIENTATION_LOCKED for locking to current orientation.
...
* commit '7470c817e46f241bf37a7874fa7cf7493fc7cf94':
Using SCREEN_ORIENTATION_LOCKED for locking to current orientation.
2015-02-25 17:56:15 +00:00
Sunny Goyal
65b929d6f2
Reducing memory usage of wallpaper picker
...
> 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 283c2261bd )
2015-02-24 23:18:25 +00:00
Hyunyoung Song
31178b8237
[key event focus handling] (1)hotseat <-> icon now symmetric, (2)support DEL 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
2015-02-24 22:14:11 +00:00
Sunny Goyal
f5a45f4aee
am 7470c817: Using SCREEN_ORIENTATION_LOCKED for locking to current orientation.
...
* commit '7470c817e46f241bf37a7874fa7cf7493fc7cf94':
Using SCREEN_ORIENTATION_LOCKED for locking to current orientation.
2015-02-24 19:18:29 +00:00
Sunny Goyal
7470c817e4
Using SCREEN_ORIENTATION_LOCKED for locking to current orientation.
...
Bug: 17298128
Change-Id: If64b6957a594bcc48f6454689d11cd63d31b9239
(cherry picked from commit 3c1865ad50 )
2015-02-23 17:55:46 +00:00
Sunny Goyal
8e719eb3f4
Merge "Reducing memory usage of wallpaper picker" into ub-launcher3-master
2015-02-23 17:54:25 +00:00
Hyunyoung Song
d88d0bdaf1
Merge "[key event focus handling] Cleanup/Refactor/Feature 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" into ub-launcher3-master
2015-02-20 22:27:41 +00:00
Hyunyoung Song
ee3e6a7b77
[key event focus handling] Cleanup/Refactor/Feature
...
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
2015-02-20 14:25:27 -08:00
Sunny Goyal
283c2261bd
Reducing memory usage of wallpaper picker
...
> 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
2015-02-20 12:33:19 -08:00
Adam Cohen
c018c4db08
Merge "Revert "Mark WIDGET_CATEGORY_HOME and WIDGET_CATEGORY_SEARCHBOX on the search widget"" into ub-launcher3-master
2015-02-20 16:39:42 +00:00
Adam Cohen
eb8e282a77
Revert "Mark WIDGET_CATEGORY_HOME and WIDGET_CATEGORY_SEARCHBOX on the search widget"
...
This reverts commit 87cf88393c .
Change-Id: Ie15c71f76c71dfb6b85aefcc10cd66eb49bea6dc
2015-02-20 16:38:48 +00:00
Sunny Goyal
f3e4f548fd
Merge "Moving some files and methods around" into ub-launcher3-master
2015-02-20 01:54:31 +00:00
Sunny Goyal
9026271410
Merge "Fixing logic to determine if wallpaper change." into ub-launcher3-master
2015-02-20 01:50:47 +00:00
Adam Cohen
ae52d72ccc
Merge "Mark WIDGET_CATEGORY_HOME and WIDGET_CATEGORY_SEARCHBOX on the search widget" into ub-launcher3-master
2015-02-19 01:35:21 +00:00
Adam Cohen
87cf88393c
Mark WIDGET_CATEGORY_HOME and WIDGET_CATEGORY_SEARCHBOX on the search widget
...
Bug 17334589
Change-Id: I0e14381cfc19822451e68eb7f070d94525e126c3
2015-02-18 17:30:15 -08:00
Chet Haase
ea292fe762
Merge "Add clip-reveal animation to Launcher" into ub-launcher3-master
2015-02-17 22:40:36 +00:00
Chet Haase
a8f996d039
Add clip-reveal animation to Launcher
...
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
2015-02-17 14:36:20 -08:00
Sunny Goyal
387f4a7b36
am fce720f3: Merge "Fixing crash when dragging and dropping a restored widget." into ub-launcher3-almonte
...
* commit 'fce720f39adcf8a35b93978c36ab0e8833a74e3e':
Fixing crash when dragging and dropping a restored widget.
2015-02-17 20:39:42 +00:00
Sunny Goyal
fce720f39a
Merge "Fixing crash when dragging and dropping a restored widget." into ub-launcher3-almonte
2015-02-17 20:34:56 +00:00
Sunny Goyal
2434d40ef2
Fixing crash when dragging and dropping a restored widget.
...
> When the widget is in pending state, AppWidgetProviderInfo is not available
Bug: 19364311
Change-Id: If3126a375853e6e710c6eba4b8824e18f3f0d391
2015-02-17 12:00:30 -08:00
Adam Cohen
97079bc7d5
am 80e6beb4: Ensure that layers are properly removed after animation
...
* commit '80e6beb48ca71a321f667e79fe35a7ab2fb4c2bf':
Ensure that layers are properly removed after animation
2015-02-14 01:05:58 +00:00
Adam Cohen
80e6beb48c
Ensure that layers are properly removed after animation
...
Bug 19243980
Change-Id: Ic1d54f92051f7d937878898cae210ec18ecbaff8
2015-02-13 16:39:10 -08:00
Geoff Mendal
2b8eea15b0
am da6e2ddb: (-s ours) am 875cdbd2: (-s ours) Import translations. DO NOT MERGE
...
* commit 'da6e2ddb5bb9de84d004c726369f767c962adc18':
Import translations. DO NOT MERGE
2015-02-13 01:21:22 +00:00
Geoff Mendal
da6e2ddb5b
am 875cdbd2: (-s ours) Import translations. DO NOT MERGE
...
* commit '875cdbd24b1ab3627d9663a49fcb943cdb5b91b4':
Import translations. DO NOT MERGE
2015-02-13 01:14:55 +00:00
Geoff Mendal
875cdbd24b
Import translations. DO NOT MERGE
...
Change-Id: I2287d714cc1f58f409083c256fa4431dc1e4a918
Auto-generated-cl: translation import
2015-02-12 17:08:33 -08:00
Sunny Goyal
f48e71d116
Merge "Use ResolveInfo for label and icon for LauncherActivityInfo" into ub-launcher3-master
2015-02-12 22:31:10 +00:00
Sunny Goyal
35746d6029
Merge "Removing unused BlockingGLTextureView" into ub-launcher3-master
2015-02-12 22:26:48 +00:00
Sunny Goyal
06a4d3f1af
Moving some files and methods around
...
> Removing android.util package
> Moving static methods and classes out of WallpaperCropActivity
> Removing some unused utility methods
Change-Id: I252a0655ddce195189b6b3f0bf92970e5808c9d7
2015-02-12 12:25:56 -08:00
Sunny Goyal
14334bda03
Merge "Removing code for the unused 'upgrade path'" into ub-launcher3-master
2015-02-12 18:23:28 +00:00
Sunny Goyal
e1b8b2796f
Merge "Fixing last image thumb, being loaded twice" into ub-launcher3-master
2015-02-12 18:19:37 +00:00
Sunny Goyal
c7eef37512
Removing unused BlockingGLTextureView
...
Change-Id: Iac5aec1193e53dd554f61d07201bac06178914f5
2015-02-12 10:13:09 -08:00
Sunny Goyal
fddef4634c
Fixing logic to determine if wallpaper change.
...
> Current logic to determine if livewallpaper changed returns true all the time
> Use returnCode passed by the calling activity.
Change-Id: Ida800a90451b1f7d368234e1a7e10938dcf2f6f7
2015-02-12 10:01:15 -08:00
Sunny Goyal
6f553b975f
Fixing last image thumb, being loaded twice
...
Change-Id: I241e472a3f0869b82066163514fb2c29c0f18a8f
2015-02-12 09:58:04 -08:00
Sunny Goyal
d3f035797e
am c87775d8: Fixing rank migration code to handle null values correctly.
...
* commit 'c87775d8e63c7b5722c23ef95c782f574b847d73':
Fixing rank migration code to handle null values correctly.
2015-02-11 23:01:53 +00:00
Hyunyoung Song
09cd92221e
Remove meaningless bug id from from addDumpLog and Log.d methods
...
b/11683562
b/6557954
Change-Id: Icd0e237ebb09ac868928328f45a3b30cf19a20df
2015-02-11 12:58:33 -08:00
Sunny Goyal
66cfdc2549
Removing code for the unused 'upgrade path'
...
Change-Id: Ib9eca92284b0eabbe36ffaaf26c62a6ce3cfd3e9
2015-02-11 11:55:36 -08:00
Sunny Goyal
54d7d05498
Use ResolveInfo for label and icon for LauncherActivityInfo
...
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
2015-02-11 11:53:44 -08:00
Sunny Goyal
c87775d8e6
Fixing rank migration code to handle null values correctly.
...
Bug: 19297508
Change-Id: I652ef30ab37f5b09204f0388de8e065d64b7724d
2015-02-10 19:53:41 -08:00
Sunny Goyal
3c1865ad50
Using SCREEN_ORIENTATION_LOCKED for locking to current orientation.
...
Bug: 17298128
Change-Id: If64b6957a594bcc48f6454689d11cd63d31b9239
2015-02-10 14:32:55 -08:00
Sunny Goyal
45ba26036b
am 8f9a7879: Launcher crashes on widget bind permission prompt
...
* commit '8f9a787945c3326791c61b001e786b96e9fc4341':
Launcher crashes on widget bind permission prompt
2015-02-06 23:43:42 +00:00
Sunny Goyal
8f9a787945
Launcher crashes on widget bind permission prompt
...
Change-Id: If09feb357e1604e5ee1a66305b022674f466833e
(cherry picked from commit e6b63a3d73 )
2015-02-06 23:38:45 +00:00
Adam Cohen
762d08eead
am bd4a7893: Merge "Revert "Adding Launcher3 callbacks for trimming memory."" into ub-launcher3-almonte
...
* commit 'bd4a78937ffe2f37386dae4ae8817e33422c1267':
Revert "Adding Launcher3 callbacks for trimming memory."
2015-02-06 23:34:26 +00:00
Adam Cohen
bd4a78937f
Merge "Revert "Adding Launcher3 callbacks for trimming memory."" into ub-launcher3-almonte
2015-02-06 23:29:32 +00:00
Adam Cohen
e2d4ee1b21
Revert "Adding Launcher3 callbacks for trimming memory."
...
This reverts commit 42f3b9e028 .
Change-Id: I65a7c893576c0901b231bab9abe6937f99415f1e
2015-02-06 23:28:49 +00:00