OSDN Git Service

android-x86/packages-apps-Launcher3.git
8 years agoAccessibility delegate is already set in BubbleTextView constructor. Not need to...
Sunny Goyal [Thu, 7 Jan 2016 21:54:24 +0000 (21:54 +0000)]
Accessibility delegate is already set in BubbleTextView constructor. Not need to set it again
am: e70fb6f8ef

* commit 'e70fb6f8ef03561b7875b872d0efa4ae2a5926af':
  Accessibility delegate is already set in BubbleTextView constructor. Not need to set it again

8 years agoAccessibility delegate is already set in BubbleTextView constructor. Not need to...
Sunny Goyal [Thu, 7 Jan 2016 21:50:08 +0000 (13:50 -0800)]
Accessibility delegate is already set in BubbleTextView constructor. Not need to set it again

Bug: 25948877
Change-Id: I1d301a6169404a78881fa29da6d6bdf2fec8f146

8 years agoMerge "Extending the grid migration logic to handle density changes" into ub-launcher...
Sunny Goyal [Thu, 7 Jan 2016 19:38:32 +0000 (19:38 +0000)]
Merge "Extending the grid migration logic to handle density changes" into ub-launcher3-master

8 years agoRemoving lib proto util
Sunny Goyal [Wed, 6 Jan 2016 23:41:38 +0000 (23:41 +0000)]
Removing lib proto util
am: 5e9ef1344d

* commit '5e9ef1344d2d24061c86cb9dae0cfcd59d551279':
  Removing lib proto util

8 years agoRemoving lib proto util
Sunny Goyal [Wed, 6 Jan 2016 23:30:53 +0000 (15:30 -0800)]
Removing lib proto util

Change-Id: Iebe6341a60a5e62bde97b5cca68f8abb93b04d36

8 years agoFixing syntax error
Sunny Goyal [Wed, 6 Jan 2016 23:12:17 +0000 (23:12 +0000)]
Fixing syntax error
am: f82e547359

* commit 'f82e5473593ea8ce20f664dd639376f546619997':
  Fixing syntax error

8 years agoFixing syntax error
Sunny Goyal [Wed, 6 Jan 2016 23:09:22 +0000 (15:09 -0800)]
Fixing syntax error

Change-Id: I8fbcd34d891b1d020436e9aa430fd26372910a63

8 years ago[DO NOT MERGE] Revert "Fix broken make target launcher_protoutil_lib Bug:26406415...
Hyunyoung Song [Wed, 6 Jan 2016 23:06:30 +0000 (23:06 +0000)]
[DO NOT MERGE] Revert "Fix broken make target launcher_protoutil_lib Bug:26406415" am: 8363faf9a8  -s ours
am: e85138f662  -s ours

* commit 'e85138f6627a77928a96f5d6b3c544a737e87876':
  [DO NOT MERGE] Revert "Fix broken make target launcher_protoutil_lib Bug:26406415"

8 years ago[DO NOT MERGE] Revert "Fix broken make target launcher_protoutil_lib Bug:26406415"
Hyunyoung Song [Wed, 6 Jan 2016 23:04:46 +0000 (23:04 +0000)]
[DO NOT MERGE] Revert "Fix broken make target launcher_protoutil_lib Bug:26406415"
am: 8363faf9a8  -s ours

* commit '8363faf9a885933aca2ced9bb1c6f9aa4a43c9f7':
  [DO NOT MERGE] Revert "Fix broken make target launcher_protoutil_lib Bug:26406415"

8 years agoMerge "Adding support for negative x and y in layout xml. Fixing default configuratio...
Sunny Goyal [Wed, 6 Jan 2016 22:53:59 +0000 (22:53 +0000)]
Merge "Adding support for negative x and y in layout xml. Fixing default configurations for some screen sizes." into ub-launcher3-burnaby-polish
am: f7a263c437

* commit 'f7a263c4370d1e45bb53653de2ef0fb70061ecd5':
  Adding support for negative x and y in layout xml. Fixing default configurations for some screen sizes.

8 years agoAdding a .nano prefix in the proto package name
Sunny Goyal [Wed, 6 Jan 2016 22:53:53 +0000 (22:53 +0000)]
Adding a .nano prefix in the proto package name
am: a6164c5c9b

* commit 'a6164c5c9b48f84c10f4db47d20e7bdeaa98812f':
  Adding a .nano prefix in the proto package name

8 years agoMerge "Adding support for negative x and y in layout xml. Fixing default configuratio...
Sunny Goyal [Wed, 6 Jan 2016 22:51:43 +0000 (22:51 +0000)]
Merge "Adding support for negative x and y in layout xml. Fixing default configurations for some screen sizes." into ub-launcher3-burnaby-polish

8 years ago[DO NOT MERGE] Revert "Fix broken make target launcher_protoutil_lib Bug:26406415"
Hyunyoung Song [Wed, 6 Jan 2016 22:39:56 +0000 (22:39 +0000)]
[DO NOT MERGE] Revert "Fix broken make target launcher_protoutil_lib Bug:26406415"

In branch ub-launcher3-burnaby,
libprotobuf-java-2.3.0-nano can be linked, because the protobuf project is tracking lmp tree

In branch ub-launcher3-burnaby-polish,
libprotobuf-java-nano can be linked, because the
protobuf project is tracking master tree.

Hence the original CL should be reverted in ub-launcher3-burnaby tree but should not be merged automatically
to downstream trees.

This reverts commit 4ae00b1b8e853f45770c833085179eb382220d78.

Change-Id: I137756b79e2c12d36408073bdd6cddc773a4f168

8 years agoAdding a .nano prefix in the proto package name
Sunny Goyal [Wed, 6 Jan 2016 22:47:13 +0000 (14:47 -0800)]
Adding a .nano prefix in the proto package name

Change-Id: Ia513089f813567953ca146538f79d21ca5fd8ddf

8 years agoFix broken make target launcher_protoutil_lib Bug:26406415 am: 4ae00b1b8e
Hyunyoung Song [Wed, 6 Jan 2016 21:23:04 +0000 (21:23 +0000)]
Fix broken make target launcher_protoutil_lib Bug:26406415 am: 4ae00b1b8e
am: 56e6b478ff

* commit '56e6b478fff617000f1fb915cd772020432dc825':
  Fix broken make target launcher_protoutil_lib Bug:26406415

8 years agoFix broken make target launcher_protoutil_lib Bug:26406415
Hyunyoung Song [Wed, 6 Jan 2016 21:20:56 +0000 (21:20 +0000)]
Fix broken make target launcher_protoutil_lib Bug:26406415
am: 4ae00b1b8e

* commit '4ae00b1b8e853f45770c833085179eb382220d78':
  Fix broken make target launcher_protoutil_lib Bug:26406415

8 years agoFix broken make target launcher_protoutil_lib
Hyunyoung Song [Wed, 6 Jan 2016 21:12:45 +0000 (13:12 -0800)]
Fix broken make target launcher_protoutil_lib
Bug:26406415

Change-Id: If3895b384feb9f2a6294fd76c043420851a37f49

8 years agoExtending the grid migration logic to handle density changes
Sunny Goyal [Mon, 14 Dec 2015 22:27:38 +0000 (14:27 -0800)]
Extending the grid migration logic to handle density changes

For hotseat migratino, we simply drop the items with least weight
If the workspace row/column decreases by 2 or more, we clear the whole workspace

Bug: 25958224
Change-Id: I7131b955023d185ed10955f593184b9238546dc8

8 years agoRemove unnecessary use of ../.
Ying Wang [Mon, 4 Jan 2016 20:43:36 +0000 (20:43 +0000)]
Remove unnecessary use of ../.
am: baa5589f6d

* commit 'baa5589f6d8ecee282977b3eaad5086756ac9312':
  Remove unnecessary use of ../.

8 years agoRemove unnecessary use of ../.
Ying Wang [Mon, 4 Jan 2016 20:19:01 +0000 (12:19 -0800)]
Remove unnecessary use of ../.

Change-Id: Ie747c305cbf1a6bf42f6c04c5c4d5ec3c6dad990

8 years agoAdding support for negative x and y in layout xml.
Sunny Goyal [Wed, 16 Dec 2015 19:32:54 +0000 (11:32 -0800)]
Adding support for negative x and y in layout xml.
Fixing default configurations for some screen sizes.

> Negative values for x and y are parsed as distance from end
column and row respectively. e.g.  (-1, -2) => (3, 2) in a
4x4 grid

Bug: 26110981
Change-Id: I4ca30e225ed6e2a31610ab23235d2cd10e8d317c

8 years agoresolve merge conflicts of ffa1237698 to ub-launcher3-master.
Sunny Goyal [Fri, 18 Dec 2015 23:04:13 +0000 (15:04 -0800)]
resolve merge conflicts of ffa1237698 to ub-launcher3-

Change-Id: I65beecb5bbbfe9c4b33d6ca639118cb615c4120a

8 years agoMerge "Using SharedPrefenrece.apply instead of commit to prevent disk IO on main...
Sunny Goyal [Fri, 18 Dec 2015 22:38:52 +0000 (22:38 +0000)]
Merge "Using SharedPrefenrece.apply instead of commit to prevent disk IO on main thread" into ub-launcher3-burnaby-polish

8 years agoMerge "Preventing launcher crashes due to low disk space." into ub-launcher3-burnaby...
Sunny Goyal [Fri, 18 Dec 2015 22:32:36 +0000 (22:32 +0000)]
Merge "Preventing launcher crashes due to low disk space." into ub-launcher3-burnaby-polish
am: 60acb943c6

* commit '60acb943c68e2f949fc8ad4703c9156549263897':
  Preventing launcher crashes due to low disk space.

8 years agoMerge "Preventing launcher crashes due to low disk space." into ub-launcher3-burnaby...
Sunny Goyal [Fri, 18 Dec 2015 22:29:47 +0000 (22:29 +0000)]
Merge "Preventing launcher crashes due to low disk space." into ub-launcher3-burnaby-polish

8 years agoresolve merge conflicts of ca656e3c69 to ub-launcher3-master.
Tony Wickham [Fri, 18 Dec 2015 22:10:34 +0000 (14:10 -0800)]
resolve merge conflicts of ca656e3c69 to ub-launcher3-

Change-Id: Idbbf8caa041b2498b3a0a9d1a8f23bf163181972

8 years agoFix item count check in Folder#replaceFolderWithFinalItem()
Tony Wickham [Fri, 18 Dec 2015 21:13:48 +0000 (13:13 -0800)]
Fix item count check in Folder#replaceFolderWithFinalItem()

Instead of checking the item count (number of views), check the number
of items in the model, since that is where the item is being removed.
This way, mInfo.contents.remove(0) will never be out of bounds.

Bug: 25666490
Change-Id: I0eb880b366157bddb5a8c342d538737722b7f0cd

8 years agoFixing some invalid checks and cleaning some redundant conditions
Sunny Goyal [Fri, 18 Dec 2015 19:20:41 +0000 (11:20 -0800)]
Fixing some invalid checks and cleaning some redundant conditions
am: b740f59c7d

* commit 'b740f59c7d572d54402e3a74fb2a23c0f1b1af48':
  Fixing some invalid checks and cleaning some redundant conditions

8 years agoFixing some invalid checks and cleaning some redundant conditions
Sunny Goyal [Fri, 18 Dec 2015 07:22:42 +0000 (23:22 -0800)]
Fixing some invalid checks and cleaning some redundant conditions

Change-Id: I770ce2cc2eccbee105958634e81bbc9bc2e4cc48

8 years agoPreventing launcher crashes due to low disk space.
Sunny Goyal [Fri, 18 Dec 2015 01:09:36 +0000 (17:09 -0800)]
Preventing launcher crashes due to low disk space.

In case of low disk space, all write operations to the IconCache are
silently ignored. This will not affect the Launcher behavior and
user will still see the latest icons, but in some cases, icon loading
would appear slow

Bug: 24585352
Change-Id: I85ccc519046fc3708403388bba89e019a3f2ce3d

8 years agoUsing SharedPrefenrece.apply instead of commit to prevent disk IO on main thread
Sunny Goyal [Fri, 18 Dec 2015 06:23:02 +0000 (22:23 -0800)]
Using SharedPrefenrece.apply instead of commit to prevent disk IO on main thread

Bug: 25903149
Change-Id: Ib1ee3fd27cca14f147f704aec768a330c4f03b33

8 years agoresolve merge conflicts of d896ee43cd to ub-launcher3-master.
Sunny Goyal [Thu, 17 Dec 2015 20:31:56 +0000 (12:31 -0800)]
resolve merge conflicts of d896ee43cd to ub-launcher3-

Change-Id: If09db8d99e7065c08fcb81b8d97a68a2557d53d7

8 years agoProtecting Icon normalization behind a feature flag
Sunny Goyal [Thu, 17 Dec 2015 19:24:31 +0000 (11:24 -0800)]
Protecting Icon normalization behind a feature flag

Change-Id: I91b7126765049372a3ffec3ad6f661715dc83bab

8 years agoReverting the cache version change, so that users on release version do not get the...
Sunny Goyal [Wed, 16 Dec 2015 01:30:07 +0000 (01:30 +0000)]
Reverting the cache version change, so that users on release version do not get the cache reset
am: 2b84b652b3

* commit '2b84b652b33977d82e0af4ab9fdc7a97cb8d5a33':
  Reverting the cache version change, so that users on release version do not get the cache reset

8 years agoReverting the cache version change, so that users on release version do not get the...
Sunny Goyal [Wed, 16 Dec 2015 01:12:22 +0000 (17:12 -0800)]
Reverting the cache version change, so that users on release version do not get the cache reset

Change-Id: I61b06ca001e6ae47693e8d6f467565314d66f1b4

8 years agoMerge "Preserving the open folder state across rotation" into ub-launcher3-master
Sunny Goyal [Mon, 14 Dec 2015 22:56:51 +0000 (22:56 +0000)]
Merge "Preserving the open folder state across rotation" into ub-launcher3-master

8 years agoresolve merge conflicts of a50a419b82 to ub-launcher3-master.
Sunny Goyal [Fri, 11 Dec 2015 22:18:16 +0000 (14:18 -0800)]
resolve merge conflicts of a50a419b82 to ub-launcher3-

Change-Id: Ie0e233e22284b8ddd2dbb86204e042651b6dfae2

8 years agoRestarting launcher when on font scale change
Sunny Goyal [Fri, 11 Dec 2015 17:50:49 +0000 (09:50 -0800)]
Restarting launcher when on font scale change

Chaning the font scale affects the static device profile and may
affect various background threads and static constants. Killing
the process ensures that these states get invalidated properly.

Bug: 26131935
Change-Id: Idc262ee5d158019e7a2505f8fb9a6413c06bfdeb

8 years agoMerge "Fixing All apps not respecting scaled icon size" into ub-launcher3-burnaby...
Sunny Goyal [Fri, 11 Dec 2015 01:52:01 +0000 (17:52 -0800)]
Merge "Fixing All apps not respecting scaled icon size" into ub-launcher3-burnaby-polish
am: 49750ce75e

* commit '49750ce75e7413ad3c4fe4be31a2e1d73312794b':
  Fixing All apps not respecting scaled icon size

8 years agoMerge "Fixing All apps not respecting scaled icon size" into ub-launcher3-burnaby...
Sunny Goyal [Fri, 11 Dec 2015 01:49:02 +0000 (01:49 +0000)]
Merge "Fixing All apps not respecting scaled icon size" into ub-launcher3-burnaby-polish

8 years agoresolve merge conflicts of e5ef3d2e9b to ub-launcher3-master.
Sunny Goyal [Fri, 11 Dec 2015 01:46:12 +0000 (17:46 -0800)]
resolve merge conflicts of e5ef3d2e9b to ub-launcher3-

Change-Id: I37cbbe4f51cc0a8de8071434020ec1553241da85

8 years agoMerge "Clearing DB instead of deleting the DB file." into ub-launcher3-burnaby-polish
Sunny Goyal [Fri, 11 Dec 2015 01:37:56 +0000 (01:37 +0000)]
Merge "Clearing DB instead of deleting the DB file." into ub-launcher3-burnaby-polish

8 years agoFixing All apps not respecting scaled icon size
Sunny Goyal [Thu, 10 Dec 2015 20:28:21 +0000 (12:28 -0800)]
Fixing All apps not respecting scaled icon size

Change-Id: I3d05c713939fd69d04f5896cdc5db91480b0d4d1

8 years agoPreserving the open folder state across rotation
Sunny Goyal [Thu, 22 Oct 2015 00:15:08 +0000 (17:15 -0700)]
Preserving the open folder state across rotation

Bug: 24900496
Change-Id: Ie1318b82b497957b99603b11ec338dd50d51b962

8 years agoMerge "Moving DB creation to background thread" into ub-launcher3-master
Sunny Goyal [Tue, 8 Dec 2015 21:52:39 +0000 (21:52 +0000)]
Merge "Moving DB creation to background thread" into ub-launcher3-master

8 years agoMerge "Verifying the install shortcut intent before casting the extras to various...
Sunny Goyal [Tue, 8 Dec 2015 21:47:09 +0000 (21:47 +0000)]
Merge "Verifying the install shortcut intent before casting the extras to various object types" into ub-launcher3-burnaby-polish
am: 06538a7784

* commit '06538a778485e920a651bf662a90c6a5dc3b0218':
  Verifying the install shortcut intent before casting the extras to various object types

8 years agoMerge "Verifying the install shortcut intent before casting the extras to various...
Sunny Goyal [Tue, 8 Dec 2015 21:43:10 +0000 (21:43 +0000)]
Merge "Verifying the install shortcut intent before casting the extras to various object types" into ub-launcher3-burnaby-polish

8 years agoMoving DB creation to background thread
Sunny Goyal [Thu, 29 Oct 2015 17:28:32 +0000 (10:28 -0700)]
Moving DB creation to background thread

Change-Id: I5404edd8df7160108c230d245f34bf8e24173619

8 years agoRecreating QSB when the widget host gets reset
Sunny Goyal [Tue, 8 Dec 2015 20:56:53 +0000 (20:56 +0000)]
Recreating QSB when the widget host gets reset
am: 655daaed3e

* commit '655daaed3ef8a68deaae5f72acbc1fc444cc54d6':
  Recreating QSB when the widget host gets reset

8 years agoRecreating QSB when the widget host gets reset
Sunny Goyal [Tue, 8 Dec 2015 17:28:23 +0000 (09:28 -0800)]
Recreating QSB when the widget host gets reset

Bug: 25073414
Change-Id: Ibdaa2b330ef7989cb7c93d64a05c8f6e5b26594a

8 years agoMerge "Added an instrumentation test case for quickly adding a widget." into ub-launc...
Tony Wickham [Tue, 8 Dec 2015 02:40:37 +0000 (02:40 +0000)]
Merge "Added an instrumentation test case for quickly adding a widget." into ub-launcher3-burnaby-polish
am: d42f97ee07

* commit 'd42f97ee070f508216763ba3c45c8004866bc1ec':
  Added an instrumentation test case for quickly adding a widget.

8 years agoMerge "Added an instrumentation test case for quickly adding a widget." into ub-launc...
Tony Wickham [Tue, 8 Dec 2015 02:36:54 +0000 (02:36 +0000)]
Merge "Added an instrumentation test case for quickly adding a widget." into ub-launcher3-burnaby-polish

8 years agoMerge "Adding FeatureFlags.java file to aggregate various feature definitions" into...
Sunny Goyal [Tue, 8 Dec 2015 01:48:59 +0000 (01:48 +0000)]
Merge "Adding FeatureFlags.java file to aggregate various feature definitions" into ub-launcher3-burnaby-polish
am: f3b13b55df

* commit 'f3b13b55df44ff23fdb184cd467dfd2b6d89074f':
  Adding FeatureFlags.java file to aggregate various feature definitions

8 years agoMerge "Adding FeatureFlags.java file to aggregate various feature definitions" into...
Sunny Goyal [Tue, 8 Dec 2015 01:44:40 +0000 (01:44 +0000)]
Merge "Adding FeatureFlags.java file to aggregate various feature definitions" into ub-launcher3-burnaby-polish

8 years agoAdding FeatureFlags.java file to aggregate various feature definitions
Sunny Goyal [Mon, 7 Dec 2015 23:00:24 +0000 (15:00 -0800)]
Adding FeatureFlags.java file to aggregate various feature definitions

Change-Id: I52d04ab979329d1afd42fd74ec0a533dd819fd23

8 years agoVerifying the install shortcut intent before casting the extras to various object...
Sunny Goyal [Mon, 7 Dec 2015 22:51:23 +0000 (14:51 -0800)]
Verifying the install shortcut intent before casting the extras to various object types

Bug: 26043109
Change-Id: I95f127d62a6a508a850e11d6728afc7509fb07d1

8 years agoAdded config_springLoadWorkspace to enable/disable spring-loaded workspace.
Tony Wickham [Thu, 3 Dec 2015 01:55:07 +0000 (17:55 -0800)]
Added config_springLoadWorkspace to enable/disable spring-loaded workspace.

- Added side hints back
- Only scale down icons if spring-loaded
- Only show App Info drop target if spring-loaded

Change-Id: I4b0dddccbe0e80b7ceb6b7266fc527f757744148

8 years agoMerge "Add appropriate (tiny) offset to widget drops so they land correctly." into...
Tony Wickham [Fri, 4 Dec 2015 22:21:19 +0000 (14:21 -0800)]
Merge "Add appropriate (tiny) offset to widget drops so they land correctly." into ub-launcher3-burnaby-polish
am: 8db5d7ca60

* commit '8db5d7ca60e79f007bfce7952c15c74d0ee44bc0':
  Add appropriate (tiny) offset to widget drops so they land correctly.

8 years agoMerge "Add appropriate (tiny) offset to widget drops so they land correctly." into...
Tony Wickham [Fri, 4 Dec 2015 22:14:36 +0000 (22:14 +0000)]
Merge "Add appropriate (tiny) offset to widget drops so they land correctly." into ub-launcher3-burnaby-polish

8 years agoAdded an instrumentation test case for quickly adding a widget.
Tony [Sun, 18 Oct 2015 22:01:32 +0000 (15:01 -0700)]
Added an instrumentation test case for quickly adding a widget.

This would have caught the race condition bugs that caused the "specified child
already has a parent" IllegalStateException (bug 23896857).

Change-Id: I3b408d21113237b0c89a0a7161f504596212bd58

8 years agoMerge "Increase spacing between icons in All Apps on tablets." into ub-launcher3...
Tony Wickham [Fri, 4 Dec 2015 18:33:51 +0000 (18:33 +0000)]
Merge "Increase spacing between icons in All Apps on tablets." into ub-launcher3-burnaby-polish
am: bcec69525d

* commit 'bcec69525d8c4c64258f930608ab4e437368c058':
  Increase spacing between icons in All Apps on tablets.

8 years agoMerge "Increase spacing between icons in All Apps on tablets." into ub-launcher3...
Tony Wickham [Fri, 4 Dec 2015 18:30:09 +0000 (18:30 +0000)]
Merge "Increase spacing between icons in All Apps on tablets." into ub-launcher3-burnaby-polish

8 years agoresolve merge conflicts of 39b700fcc5 to ub-launcher3-master.
Sunny Goyal [Fri, 4 Dec 2015 18:04:54 +0000 (10:04 -0800)]
resolve merge conflicts of 39b700fcc5 to ub-launcher3-

Change-Id: I394258be0c75289cab2f5141c0fb765504527420

8 years agoMerge "Cleanup keyboard code." into ub-launcher3-burnaby-polish
Tony Wickham [Fri, 4 Dec 2015 18:01:51 +0000 (18:01 +0000)]
Merge "Cleanup keyboard code." into ub-launcher3-burnaby-polish
am: b88d0bccbe

* commit 'b88d0bccbe997e5c45c930698e37f52865bd9210':
  Cleanup keyboard code.

8 years agoMerge "Normalizing app icons based on the standard icon guidelines" into ub-launcher3...
Sunny Goyal [Fri, 4 Dec 2015 17:56:04 +0000 (17:56 +0000)]
Merge "Normalizing app icons based on the standard icon guidelines" into ub-launcher3-burnaby-polish

8 years agoMerge "Cleanup keyboard code." into ub-launcher3-burnaby-polish
Tony Wickham [Fri, 4 Dec 2015 17:55:33 +0000 (17:55 +0000)]
Merge "Cleanup keyboard code." into ub-launcher3-burnaby-polish

8 years agoCleanup keyboard code.
Tony Wickham [Fri, 4 Dec 2015 17:48:17 +0000 (09:48 -0800)]
Cleanup keyboard code.

This should be the last keyboard CL.
- Fix bug: couldn't focus All Apps button in some cases when the All
Apps column was skipped over. Also added test case for this.
- Stop explicitly passing countX and countY to handleKeyEvent, as
these had to match the matrix dimensions anyways.
- Rename createSparseMatrix() - there were 3 methods of the same name,
but all had different purposes. This is confusing both from a
readability standpoint and also when looking at stack traces.

Change-Id: I08ba8411674fcea43a608856c114dee8dbd22398

8 years agoHide the focus indicator view when going to a fullscreen page.
Tony Wickham [Thu, 3 Dec 2015 22:52:03 +0000 (22:52 +0000)]
Hide the focus indicator view when going to a fullscreen page.
am: 62b9b6054e

* commit '62b9b6054e46074f57ccf156a8663b4392cd82d9':
  Hide the focus indicator view when going to a fullscreen page.

8 years agoHide the focus indicator view when going to a fullscreen page.
Tony Wickham [Wed, 18 Nov 2015 18:56:35 +0000 (10:56 -0800)]
Hide the focus indicator view when going to a fullscreen page.

Bug: 25649853
Change-Id: I9f2f221020548b48d816924a1803a1a70d11c412

8 years agoFullscreen pages (e.g. Now) are focusable via keyboard.
Tony Wickham [Thu, 3 Dec 2015 22:34:43 +0000 (22:34 +0000)]
Fullscreen pages (e.g. Now) are focusable via keyboard.
am: 0fa5ada226

* commit '0fa5ada2261a29ad9be7195c8cdb8cb50bdd0742':
  Fullscreen pages (e.g. Now) are focusable via keyboard.

8 years agoFullscreen pages (e.g. Now) are focusable via keyboard.
Tony Wickham [Sat, 14 Nov 2015 01:32:20 +0000 (17:32 -0800)]
Fullscreen pages (e.g. Now) are focusable via keyboard.

Change-Id: I962551651aeb9ac7b57bb51b195adc3140db30d8

8 years agoMake sure pages are always accessible via left/right arrow keys.
Tony Wickham [Thu, 3 Dec 2015 22:23:11 +0000 (22:23 +0000)]
Make sure pages are always accessible via left/right arrow keys.
am: af78b59af1

* commit 'af78b59af19264105b8ce856defa5342d6fd584a':
  Make sure pages are always accessible via left/right arrow keys.

8 years agoMake sure pages are always accessible via left/right arrow keys.
Tony Wickham [Wed, 11 Nov 2015 17:25:38 +0000 (09:25 -0800)]
Make sure pages are always accessible via left/right arrow keys.

- Handle NextPageFirstItem as first focusable item in reading order
- Handle PreviousPageLastItem as last focusable item in reading order
- Check the hotseat after the workspace in both cases above
- Dpad horizontal navigation (left/right) uses these as a last
  resort (Rule3) to guarantee an item takes focus if a page exists

Note that it is necessary to search for a focusable item because
widgets are not yet focusable.

Bug: 25591057
Change-Id: I953648bd76c657d660a38427fdd4108bf9963c23

8 years agoMerge "Add special column for All Apps button in FocusLogic\'s sparse matrix." into...
Tony Wickham [Thu, 3 Dec 2015 20:45:25 +0000 (20:45 +0000)]
Merge "Add special column for All Apps button in FocusLogic\'s sparse matrix." into ub-launcher3-burnaby-polish
am: b879abd274

* commit 'b879abd2747c1c1473c8d2b9d9c97707da8218f3':
  Add special column for All Apps button in FocusLogic's sparse matrix.

8 years agoMerge "Add special column for All Apps button in FocusLogic's sparse matrix." into...
Tony Wickham [Thu, 3 Dec 2015 20:41:28 +0000 (20:41 +0000)]
Merge "Add special column for All Apps button in FocusLogic's sparse matrix." into ub-launcher3-burnaby-polish

8 years agoAdd appropriate (tiny) offset to widget drops so they land correctly.
Tony Wickham [Wed, 4 Nov 2015 02:05:01 +0000 (18:05 -0800)]
Add appropriate (tiny) offset to widget drops so they land correctly.

Also removed some unused parameters I found on the way.

Bug: 25191623
Change-Id: Ib9a30db106467c114cc8b54a5b13ed3e88162d56

8 years agoNormalizing app icons based on the standard icon guidelines
Sunny Goyal [Thu, 17 Sep 2015 21:59:10 +0000 (14:59 -0700)]
Normalizing app icons based on the standard icon guidelines

Bug: 18245189
Change-Id: Iaadcddbe3f966733a13b2e1fb60ba09a8b3aef9a

8 years agoresolve merge conflicts of aa4011e63e to ub-launcher3-master.
Sunny Goyal [Thu, 3 Dec 2015 03:32:07 +0000 (19:32 -0800)]
resolve merge conflicts of aa4011e63e to ub-launcher3-

Change-Id: Id91f5c3be2678ca05cd51aa72bb6a25112afb020

8 years agoMerge "Scaling down the icon before applying the user badge > This also saves memor...
Sunny Goyal [Thu, 3 Dec 2015 03:25:21 +0000 (03:25 +0000)]
Merge "Scaling down the icon before applying the user badge   > This also saves memory only create one new bitmap while loading instead of two" into ub-launcher3-burnaby-polish

8 years agoMerge "Disallow scrolling if workspace is in transition." into ub-launcher3-burnaby...
Tony Wickham [Wed, 2 Dec 2015 23:18:22 +0000 (23:18 +0000)]
Merge "Disallow scrolling if workspace is in transition." into ub-launcher3-burnaby-polish
am: ac929f4ad8

* commit 'ac929f4ad80fabeddfae51e30ec5d7ff434652c8':
  Disallow scrolling if workspace is in transition.

8 years agoMerge "Disallow scrolling if workspace is in transition." into ub-launcher3-burnaby...
Tony Wickham [Wed, 2 Dec 2015 23:11:09 +0000 (23:11 +0000)]
Merge "Disallow scrolling if workspace is in transition." into ub-launcher3-burnaby-polish

8 years agoIncrease spacing between icons in All Apps on tablets.
Tony Wickham [Wed, 2 Dec 2015 21:37:07 +0000 (13:37 -0800)]
Increase spacing between icons in All Apps on tablets.

Change-Id: If90332098f749295da07f4faca707a7a6965666b

8 years agoMerge "Keeping the focus indicator on the widget view, while a child is focused"...
Sunny Goyal [Tue, 1 Dec 2015 23:36:37 +0000 (23:36 +0000)]
Merge "Keeping the focus indicator on the widget view, while a child is focused" into ub-launcher3-burnaby-polish
am: 093a58cc77

* commit '093a58cc776be2a3cd5aed9d14df9c78a35af052':
  Keeping the focus indicator on the widget view, while a child is focused

8 years agoMerge "Keeping the focus indicator on the widget view, while a child is focused"...
Sunny Goyal [Tue, 1 Dec 2015 23:19:11 +0000 (23:19 +0000)]
Merge "Keeping the focus indicator on the widget view, while a child is focused" into ub-launcher3-burnaby-polish

8 years agoAdding margin to Drag layer instead of checking for right insets at every place
Sunny Goyal [Tue, 1 Dec 2015 22:49:42 +0000 (22:49 +0000)]
Adding margin to Drag layer instead of checking for right insets at every place
am: 9326461652

* commit '9326461652c36c2ddd888d1452cf7f075a391868':
  Adding margin to Drag layer instead of checking for right insets at every place

8 years agoAdding margin to Drag layer instead of checking for right insets at every place
Sunny Goyal [Mon, 23 Nov 2015 19:47:50 +0000 (11:47 -0800)]
Adding margin to Drag layer instead of checking for right insets at every place

Bug: 25692432
Change-Id: I853f41a17c54b30b7772b9fd8556d9465de84752

8 years agoKeeping the focus indicator on the widget view, while a child is focused
Sunny Goyal [Tue, 1 Dec 2015 21:21:49 +0000 (13:21 -0800)]
Keeping the focus indicator on the widget view, while a child is focused

Bug: 25199581
Change-Id: Ie08d1438ae0c1b5d4fcaa4d642508c1b9db0f5d4

8 years agoClearing DB instead of deleting the DB file.
Sunny Goyal [Mon, 30 Nov 2015 18:59:35 +0000 (10:59 -0800)]
Clearing DB instead of deleting the DB file.

> Deleting a file/reinitializing the openHelper variable is not thread safe
and can cause the sqlite instance ot go in an invalid state

Change-Id: I54d992c7e3daee82e6dad38d6bfbfcbf8ede506c

8 years agoresolve merge conflicts of 0c2f0700a5 to ub-launcher3-master.
Sunny Goyal [Mon, 30 Nov 2015 18:19:02 +0000 (10:19 -0800)]
resolve merge conflicts of 0c2f0700a5 to ub-launcher3-

Change-Id: I92f38e9f4ac4d9b6c5a3000e0971d2bc417bd3c6

8 years agoOnly fetching firstInstallTime for an activity when required
Sunny Goyal [Tue, 24 Nov 2015 18:16:37 +0000 (10:16 -0800)]
Only fetching firstInstallTime for an activity when required

Change-Id: Ia16c05718938849f4250802d8770ddfe6dbef055

8 years agoScaling down the icon before applying the user badge
Sunny Goyal [Mon, 19 Oct 2015 21:03:30 +0000 (14:03 -0700)]
Scaling down the icon before applying the user badge
  > This also saves memory only create one new bitmap while loading instead of two

Bug: 25027252
Change-Id: Ia594dd65a30f32e99404190f649b334615c9e17f

8 years agoMerge "Allowing widgets to be focusable" into ub-launcher3-burnaby-polish
Sunny Goyal [Wed, 25 Nov 2015 18:15:56 +0000 (18:15 +0000)]
Merge "Allowing widgets to be focusable" into ub-launcher3-burnaby-polish
am: d007d0722c

* commit 'd007d0722c782266f494806e750c24208d6d3ca5':
  Allowing widgets to be focusable

8 years agoMerge "Allowing widgets to be focusable" into ub-launcher3-burnaby-polish
Sunny Goyal [Wed, 25 Nov 2015 18:10:56 +0000 (18:10 +0000)]
Merge "Allowing widgets to be focusable" into ub-launcher3-burnaby-polish

8 years agoMerge "Skip to the end of the folder open animation in battery saver mode." into...
Tony Wickham [Wed, 25 Nov 2015 00:06:14 +0000 (00:06 +0000)]
Merge "Skip to the end of the folder open animation in battery saver mode." into ub-launcher3-burnaby-polish
am: 6e83dc4031

* commit '6e83dc4031b78ac6e65102b2d936e9e769686fec':
  Skip to the end of the folder open animation in battery saver mode.

8 years agoDon\'t let folder be replaced with final item twice.
Tony Wickham [Wed, 25 Nov 2015 00:06:08 +0000 (00:06 +0000)]
Don\'t let folder be replaced with final item twice.
am: 1a690cb785

* commit '1a690cb785a1b1644ad4c97e8b755528b2222cfc':
  Don't let folder be replaced with final item twice.

8 years agoMerge "Skip to the end of the folder open animation in battery saver mode." into...
Tony Wickham [Wed, 25 Nov 2015 00:02:12 +0000 (00:02 +0000)]
Merge "Skip to the end of the folder open animation in battery saver mode." into ub-launcher3-burnaby-polish

8 years agoDon't let folder be replaced with final item twice.
Tony Wickham [Tue, 24 Nov 2015 23:34:53 +0000 (15:34 -0800)]
Don't let folder be replaced with final item twice.

Bug: 25732317
Change-Id: I77b3ddc8951583bebfb908fda934c9b80ddebce0

8 years agoresolve merge conflicts of 7bce5f7988 to ub-launcher3-master.
Sunny Goyal [Tue, 24 Nov 2015 21:12:32 +0000 (13:12 -0800)]
resolve merge conflicts of 7bce5f7988 to ub-launcher3-

Change-Id: Id352ce219bed7701956bb462ea2dd0a5aebe7317

8 years agoTying LauncherAppState lifecycle with LauncherProvider
Sunny Goyal [Tue, 24 Nov 2015 19:40:40 +0000 (11:40 -0800)]
Tying LauncherAppState lifecycle with LauncherProvider

The content provider is the first component started with the main process,
which makes it ideal for initiating LauncherAppState

Change-Id: I03db82a8949ad1376af53a0033592f421dbf0b15

8 years agoMerge "Setting statusbar and nav bar colors in theme instead of code" into ub-launche...
Sunny Goyal [Mon, 23 Nov 2015 18:48:37 +0000 (18:48 +0000)]
Merge "Setting statusbar and nav bar colors in theme instead of code" into ub-launcher3-burnaby-polish
am: 4ee66259eb

* commit '4ee66259eb7835bfcf3747596e068319e1e3c677':
  Setting statusbar and nav bar colors in theme instead of code