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
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
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
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
14334bda03
Merge "Removing code for the unused 'upgrade path'" into ub-launcher3-master
2015-02-12 18:23:28 +00: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
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
Robert Kozikowski
9d083a1c2a
am acbe9f65: Merge "Adding Launcher3 callbacks for trimming memory." into ub-launcher3-almonte
...
* commit 'acbe9f6546455672b2edf51928d4fee4b6e246ba':
Adding Launcher3 callbacks for trimming memory.
2015-02-04 18:41:44 +00:00
Sunny Goyal
980b2f053c
am 4802b410: Adding null-check before parsing an intent
...
* commit '4802b4107a66bc86996083b4835d1094ef4f4cbb':
Adding null-check before parsing an intent
2015-02-04 18:38:36 +00:00
Robert Kozikowski
acbe9f6546
Merge "Adding Launcher3 callbacks for trimming memory." into ub-launcher3-almonte
2015-02-04 18:38:31 +00:00
Sunny Goyal
4802b4107a
Adding null-check before parsing an intent
...
Bug: 18962665
Change-Id: Iae02435f019fa205f3ee3ae721a29f26b3b56dd2
2015-02-04 10:05:47 -08:00
Robert Kozikowski
42f3b9e028
Adding Launcher3 callbacks for trimming memory.
...
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
2015-02-04 15:06:54 +00:00
Adam Cohen
158da0802d
am b76c165a: Fix ClassCastException due to typo
...
* commit 'b76c165aadb4deb144ec3b1267aa1faf304638e9':
Fix ClassCastException due to typo
2015-01-30 19:29:28 +00:00
Adam Cohen
b76c165aad
Fix ClassCastException due to typo
...
issue 19159790
Change-Id: I5f9fa0e3672c10a460606dcb13b158bd4e614813
2015-01-30 10:29:26 -08:00
Nilesh Agrawal
7034f1467d
am a258f812: Modify strict mode thread policy for LauncherProvider.
...
* commit 'a258f812fac21767d1f2e61ee7a7a58bfe6da582':
Modify strict mode thread policy for LauncherProvider.
2015-01-26 22:28:49 +00:00
Nilesh Agrawal
a258f812fa
Modify strict mode thread policy for LauncherProvider.
...
Allowing thread writes too as SQLiteOpenHelper.getWritableDatabase needs it.
Bug: 19094644
Change-Id: I39fe97a9e7fc07c38a4f8e5c5979196b742e36bf
2015-01-26 14:07:29 -08:00
Sunny Goyal
b3a8f80e2e
resolved conflicts for merge of b564efb0 to ub-launcher3-master
...
Change-Id: I4321522dd1b6b3f96e21232d113fad5144b630bc
2015-01-23 14:22:07 -08:00
Sunny Goyal
b564efb024
Adding support for <include> tag in AutoInstall layout
...
Bug: 19121893
Change-Id: I760fa76d6e63c1aa0152e8cd710aba0d6ef4462a
2015-01-23 13:53:38 -08:00
Sunny Goyal
1660da5a03
Merge "Replacing hotseat icon to an appropriate system app" into ub-launcher3-master
2015-01-23 21:11:21 +00:00
Sunny Goyal
bb3b02f562
Replacing hotseat icon to an appropriate system app
...
> During backupi, store the hotseat target app type, based on some predefined
common system apps
> During restore, save this app type in the restore flag, if it is a hotseat app
> During first launcher load, if an app is not being restored, try to replace it
with an appropriate replacement for that type, otherwise delete it.
Bug: 18764649
Change-Id: Ic49e40bd707bd8d7de18bbab8b1e58a0a36426a2
2015-01-22 10:54:50 -08:00
Nilesh Agrawal
d8c2a43efa
am fde11852: Add strict mode exception in LauncherProvider.
...
* commit 'fde11852cf0f91c4500a93dfffb44c1b86991e6e':
Add strict mode exception in LauncherProvider.
2015-01-21 21:17:07 +00:00
Nilesh Agrawal
fde11852cf
Add strict mode exception in LauncherProvider.
...
Content providers are created during process startup (before Application.onCreate),
and we should not be doing expensive stuff in Provider.onCreate
Adding an exception for now as it looks like LauncherProvider initialization is needed
before we can show meaningful UI.
Bug: 19094644
Change-Id: I860c2934c110d3a43f1a3afa00729077dc64796c
2015-01-21 11:50:57 -08:00
Sunny Goyal
a2cc624e75
Changing DB upgrade path to use swith case statement.
...
> This allows to cancel the whole upgrade path if any one step fails
and reset the DB
Change-Id: I645b74af8afcd21dda0d619691a5fb3dbf1a04c0
2015-01-21 11:05:00 -08:00
Sunny Goyal
5736ed319d
Merge "Removing usage of reflection." into ub-launcher3-master
2015-01-21 01:13:27 +00:00
Sunny Goyal
d009101232
Removing usage of reflection.
...
> Updated launcher.java with the new APIs
> Removed unused method in BitmapUtils
Change-Id: I24804d2cd7d9fc45040532e8324672f5ea6fc110
2015-01-20 15:56:23 -08:00
Sunny Goyal
c46bfef5df
Removing support library dependency
...
> Removed FolderAutoScrollHelper as folders are currently not scrollable
Change-Id: I261f43a665b742697e3224e1e9852ccc526badcd
2015-01-20 11:49:12 -08:00
Sunny Goyal
c1b7c2ecbd
Simplifying loadScreenDB to load the screen IDs in sorted order
...
Change-Id: I5551b5c12cdc2b0e304a06d2e8edbe81e124a55c
2015-01-20 11:46:46 -08:00
Sunny Goyal
808ba3dd1b
Merge "Adding accessibility controls" into ub-launcher3-almonte
...
automerge: 54cdef7
* commit '54cdef77dbb958a853387957c303e1b872489b00':
Adding accessibility controls
2015-01-20 19:39:44 +00:00
Sunny Goyal
295a17aabb
Merge "Avoiding writing the Metadata in the backup if nothing was changed in the backup" into ub-launcher3-almonte
...
automerge: 2d26480
* commit '2d264802754e78a98ab1a52c39aa4ceef75b32ae':
Avoiding writing the Metadata in the backup if nothing was changed in the backup
2015-01-20 19:39:40 +00:00
Sunny Goyal
4e6cca03cf
Adding a rank column for itemInfo
...
automerge: 08f7261
* commit '08f7261d11a53ae4b330ad4fa897b8519de3d750':
Adding a rank column for itemInfo
2015-01-20 19:39:34 +00:00
Sunny Goyal
54cdef77db
Merge "Adding accessibility controls" into ub-launcher3-almonte
2015-01-17 01:58:01 +00:00
Sunny Goyal
71b5c0b988
Adding accessibility controls
...
> Adding 'Remove' option to workspace items
> Adding 'Add to workspace' to all apps and widget list items, which
adds the item to the first available space, giving preference to
the current workspace screen
> Adding 'App info' and 'Uninstall' options to appropriate items
Bug: 18482913
Change-Id: Ifab7423af2d9ba502b5a2771b37bb5436b3df937
2015-01-16 17:40:41 -08:00
Sunny Goyal
e6b63a3d73
Launcher crashes on widget bind permission prompt
...
Change-Id: If09feb357e1604e5ee1a66305b022674f466833e
2015-01-16 16:14:29 -08:00