OSDN Git Service

android-x86/packages-apps-Launcher3.git
8 years agoMerge "Removing some usused resources" into ub-launcher3-calgary
Sunny Goyal [Tue, 24 May 2016 02:45:24 +0000 (02:45 +0000)]
Merge "Removing some usused resources" into ub-launcher3-calgary
am: fec5fc1964

* commit 'fec5fc1964ee3c26590c14bf7c8b432e8a3596fd':
  Removing some usused resources

Change-Id: I331f396decb2eb3b3864a3e7691ac698fa3fbaf0

8 years agoMerge "Removing some usused resources" into ub-launcher3-calgary
Sunny Goyal [Tue, 24 May 2016 02:37:17 +0000 (02:37 +0000)]
Merge "Removing some usused resources" into ub-launcher3-calgary

8 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 23 May 2016 15:55:58 +0000 (15:55 +0000)]
Import translations. DO NOT MERGE
am: 33c2ed341e  -s ours

* commit '33c2ed341e376bf8778cf10a98ace072e2ea3bbe':
  Import translations. DO NOT MERGE

Change-Id: I7bccf3278100eeb0a92248625d5a887a69a135cb

8 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 23 May 2016 10:16:49 +0000 (03:16 -0700)]
Import translations. DO NOT MERGE

Change-Id: I869352120f57a9be27c9b6515f75a79b151a05b9
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 23 May 2016 10:15:58 +0000 (03:15 -0700)]
Import translations. DO NOT MERGE

Change-Id: I398e3304ae15e66577c39b53896d46d602a91965
Auto-generated-cl: translation import

8 years agoMerge "Adding android.icu.text.AlphabeticIndex implementation for AlphabeticIndexComp...
Sunny Goyal [Fri, 20 May 2016 21:33:12 +0000 (21:33 +0000)]
Merge "Adding android.icu.text.AlphabeticIndex implementation for AlphabeticIndexCompat as libcore.icu.AlphabeticIndex is no longer available in N" into ub-launcher3-calgary
am: 712a7f0c4e

* commit '712a7f0c4ebdc08c6573238a5b33d153a8c10ac8':
  Adding android.icu.text.AlphabeticIndex implementation for AlphabeticIndexCompat as libcore.icu.AlphabeticIndex is no longer available in N

Change-Id: I448b52982afafa553fb6b6650b8e9c4cc3f55504

8 years agoMerge "Adding android.icu.text.AlphabeticIndex implementation for AlphabeticIndexComp...
Sunny Goyal [Fri, 20 May 2016 21:26:53 +0000 (21:26 +0000)]
Merge "Adding android.icu.text.AlphabeticIndex implementation for AlphabeticIndexCompat as libcore.icu.AlphabeticIndex is no longer available in N" into ub-launcher3-calgary

8 years agoMaking page indicator an abstract class and implementing some common methods.
Sunny Goyal [Fri, 20 May 2016 20:29:05 +0000 (20:29 +0000)]
Making page indicator an abstract class and implementing some common methods.
am: c487bd34ac

* commit 'c487bd34ace268dd8be5480ba884baed6096f76e':
  Making page indicator an abstract class and implementing some common methods.

Change-Id: Ifac23eac824365fb122bd984dca6ef93901289dd

8 years agoMaking page indicator an abstract class and implementing some common methods.
Sunny Goyal [Fri, 20 May 2016 19:48:10 +0000 (12:48 -0700)]
Making page indicator an abstract class and implementing some common methods.

Change-Id: I06613428c54f1f086090580db8242cf81f7fb128

8 years agoMerge "Preventing unnecessary options update to QSB provider by checking if the optio...
Sunny Goyal [Thu, 19 May 2016 23:01:09 +0000 (23:01 +0000)]
Merge "Preventing unnecessary options update to QSB provider by checking if the options have changed before calling update" into ub-launcher3-calgary
am: 40902b3cb0

* commit '40902b3cb040eb9ed35c174e41bca9feefe41b73':
  Preventing unnecessary options update to QSB provider by checking if the options have changed before calling update

Change-Id: Iccda4c7921683cd7124a629ebd19c5fc33081f74

8 years agoMerge "Preventing unnecessary options update to QSB provider by checking if the optio...
Sunny Goyal [Thu, 19 May 2016 22:54:22 +0000 (22:54 +0000)]
Merge "Preventing unnecessary options update to QSB provider by checking if the options have changed before calling update" into ub-launcher3-calgary

8 years agoMissed one more page indicator null check.
Tony Wickham [Thu, 19 May 2016 20:05:29 +0000 (20:05 +0000)]
Missed one more page indicator null check.
am: ddb77003e7

* commit 'ddb77003e728cac32de009e709f80280e68f6b6e':
  Missed one more page indicator null check.

Change-Id: I8b24824ddcf8894daf5be52dc743da20e9627792

8 years agoMissed one more page indicator null check.
Tony Wickham [Thu, 19 May 2016 19:45:40 +0000 (12:45 -0700)]
Missed one more page indicator null check.

Hopefully this is the last one.

Change-Id: I1af4f7058834fe0ba60ccc8752a6bf0df64be473

8 years agoAdd more null checks for page indicators.
Tony Wickham [Thu, 19 May 2016 18:48:18 +0000 (18:48 +0000)]
Add more null checks for page indicators.
am: fea0a5f629

* commit 'fea0a5f629f7bc59117401b744ed334cf33a7ae0':
  Add more null checks for page indicators.

Change-Id: I3db6a16e0f0edf0891dbec3c91f1776a21ab9b70

8 years agoAdd more null checks for page indicators.
Tony Wickham [Thu, 19 May 2016 18:27:55 +0000 (11:27 -0700)]
Add more null checks for page indicators.

Change-Id: Id86d4827c9079abfb236f956e531f0e29edfc54e

8 years agoRemoving some usused resources
Sunny Goyal [Thu, 19 May 2016 02:56:43 +0000 (19:56 -0700)]
Removing some usused resources

Change-Id: Ib11db872270931f956ba7093e472c866a1b0e794

8 years agoUpdating the folder page indicator to be more like the framework page indicator ...
Sunny Goyal [Thu, 19 May 2016 01:40:40 +0000 (01:40 +0000)]
Updating the folder page indicator to be more like the framework page indicator (used in quick settings)
am: c64cfdd8fa

* commit 'c64cfdd8fa18de45fc1646c8ef2449f39ef83022':
  Updating the folder page indicator to be more like the framework page indicator (used in quick settings)

Change-Id: Ibd2d33dd2162495f19fe50eb952c4cf0fc788004

8 years agoUpdating the folder page indicator to be more like the
Sunny Goyal [Wed, 18 May 2016 21:12:02 +0000 (14:12 -0700)]
Updating the folder page indicator to be more like the
framework page indicator (used in quick settings)

The active page is indicated with the accent color. During scroll
the active indicator expands to 2 dots corresponding to the visible pages.

Change-Id: Iaf57836b642cf87e5eed98048ecca7dd8e7643a4

8 years agoAdding android.icu.text.AlphabeticIndex implementation for AlphabeticIndexCompat
Sunny Goyal [Thu, 19 May 2016 00:16:26 +0000 (17:16 -0700)]
Adding android.icu.text.AlphabeticIndex implementation for AlphabeticIndexCompat
as libcore.icu.AlphabeticIndex is no longer available in N

Bug: 28795251
Change-Id: I3b168dfb451c0eac9b64c6559a51d2b1b8c578b9

8 years agoAdd null check to page indicator to prevent crashes in landscape.
Tony Wickham [Wed, 18 May 2016 22:29:28 +0000 (22:29 +0000)]
Add null check to page indicator to prevent crashes in landscape.
am: 770217c697

* commit '770217c697a92b441b66fac6d3441db1c0a84a3a':
  Add null check to page indicator to prevent crashes in landscape.

Change-Id: Ic9ba50892ef777d76f9bd64e3ab81f220eff8532

8 years agoAdd null check to page indicator to prevent crashes in landscape.
Tony Wickham [Wed, 18 May 2016 22:16:40 +0000 (15:16 -0700)]
Add null check to page indicator to prevent crashes in landscape.

Change-Id: I9676c19bcdd9129a8519e96febc779f019bc8a13

8 years agoPreventing unnecessary options update to QSB provider
Sunny Goyal [Fri, 13 May 2016 20:48:44 +0000 (13:48 -0700)]
Preventing unnecessary options update to QSB provider
by checking if the options have changed before calling update

Bug: 28586377
Change-Id: Idf263b7a32ca85f23f728fa29b9c8ac84289052e

8 years agoMerge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
Baligh Uddin [Wed, 18 May 2016 19:22:24 +0000 (19:22 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
am: a40102f5d5  -s ours

* commit 'a40102f5d5049d6656f98122bf23d7f27ecc6593':
  Import translations. DO NOT MERGE

Change-Id: I60a4f2802a3ec5a0f2184371c8f11a1ade693ba5

8 years agoMerge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
Baligh Uddin [Wed, 18 May 2016 19:06:21 +0000 (19:06 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary

8 years agoMerge "Import translations. DO NOT MERGE" into ub-launcher3-master
Baligh Uddin [Wed, 18 May 2016 19:06:19 +0000 (19:06 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-master

8 years agoFixing build breakage
Sunny Goyal [Wed, 18 May 2016 16:51:38 +0000 (16:51 +0000)]
Fixing build breakage
am: 7267adf68e

* commit '7267adf68eb582ff20e2ce1bfb2068caecc4e3f5':
  Fixing build breakage

Change-Id: I558760d325a96cea3e51a054d7b866ba9036ea9c

8 years agoRearranging the provider checks to avoid packagemanager lookups whenever launcher...
Sunny Goyal [Wed, 18 May 2016 16:51:38 +0000 (16:51 +0000)]
Rearranging the provider checks to avoid packagemanager lookups whenever launcher starts
am: 1acb9e9e29

* commit '1acb9e9e29bb06b6266781284ae60e9fd4d0962f':
  Rearranging the provider checks to avoid packagemanager lookups whenever launcher starts

Change-Id: I4717167af838e9ab30992f7eeaf8ef6d7b73e50b

8 years agoFixing build breakage
Sunny Goyal [Wed, 18 May 2016 16:47:50 +0000 (09:47 -0700)]
Fixing build breakage

Change-Id: Ib649bff709f4b6e4f173006d267aafa069c2a8b4

8 years agoRearranging the provider checks to avoid packagemanager lookups
Sunny Goyal [Mon, 16 May 2016 19:41:09 +0000 (12:41 -0700)]
Rearranging the provider checks to avoid packagemanager lookups
whenever launcher starts

Bug: 28737985
Change-Id: I3ce3e2741b3224fa5419d7ceca496e1bb91f065c

8 years agoMerge "Add PageIndicator interface and custom PageIndicatorLine view." into ub-launch...
Tony Wickham [Wed, 18 May 2016 02:17:13 +0000 (02:17 +0000)]
Merge "Add PageIndicator interface and custom PageIndicatorLine view." into ub-launcher3-calgary
am: ae00781428

* commit 'ae007814289a465be3df1ddca276e30f73460a97':
  Add PageIndicator interface and custom PageIndicatorLine view.

Change-Id: I5e541836b8628236e2cd91a7f3aa37c52ac70f06

8 years agoMerge "Add PageIndicator interface and custom PageIndicatorLine view." into ub-launch...
Tony Wickham [Wed, 18 May 2016 02:09:02 +0000 (02:09 +0000)]
Merge "Add PageIndicator interface and custom PageIndicatorLine view." into ub-launcher3-calgary

8 years agoAdd PageIndicator interface and custom PageIndicatorLine view.
Tony Wickham [Mon, 16 May 2016 16:54:06 +0000 (09:54 -0700)]
Add PageIndicator interface and custom PageIndicatorLine view.

- The current PageIndicator has been renamed to PageIndicatorDots
  and PageIndicatorMarker has been renamed to PageIndicatorDot.
- PageIndicatorDots and PageIndicatorLine implement PageIndicator.
- PageIndicatorLine uses scroll progress and number of pages to
  draw a line of the correct size and position.
- All of these page indicator files are now in a pageindicators package.

Bug: 27227498

Change-Id: I9230d2e0600ce583989bd31d0b0e252b148d15c2

8 years agoMerge "Only show App Info drag target if developer settings are enabled." into ub...
Tony Wickham [Wed, 18 May 2016 01:10:48 +0000 (01:10 +0000)]
Merge "Only show App Info drag target if developer settings are enabled." into ub-launcher3-calgary
am: 63d1b330bf

* commit '63d1b330bfe7942c5a53d53010b6f5e6dea0945c':
  Only show App Info drag target if developer settings are enabled.

Change-Id: I911691ad21475e8bf3fd694b07a39fb2e17af776

8 years agoMerge "Only show App Info drag target if developer settings are enabled." into ub...
Tony Wickham [Wed, 18 May 2016 01:05:48 +0000 (01:05 +0000)]
Merge "Only show App Info drag target if developer settings are enabled." into ub-launcher3-calgary

8 years agoOnly show App Info drag target if developer settings are enabled.
Tony Wickham [Tue, 17 May 2016 19:19:07 +0000 (12:19 -0700)]
Only show App Info drag target if developer settings are enabled.

Bug: 28794577
Change-Id: Ia515a627a4f94121c47386829c6772bea42e70f1

8 years agoinstead of unbinding items from the loader, unregistering listeners in activity.onDes...
Sunny Goyal [Tue, 17 May 2016 22:03:56 +0000 (22:03 +0000)]
instead of unbinding items from the loader, unregistering listeners in activity.onDestroy()
am: aaf7d1d13b

* commit 'aaf7d1d13bd88bdeac5c56a9ab1d293fdaea3c11':
  instead of unbinding items from the loader, unregistering listeners in activity.onDestroy()

Change-Id: I6ae696f375a15a396d762a84bd148317e847ac11

8 years agoMerge "Revert "Wrapping folderLisners with weak reference, and storing it as an array...
Sunny Goyal [Tue, 17 May 2016 21:43:45 +0000 (21:43 +0000)]
Merge "Revert "Wrapping folderLisners with weak reference, and storing it as an array"" into ub-launcher3-calgary
am: 5b83d6ce8f

* commit '5b83d6ce8f7391aab67b7c53d972380fe0762ced':
  Revert "Wrapping folderLisners with weak reference, and storing it as an array"

Change-Id: Ie82f664b8562d96b73a57b0f88a59f8d0184133d

8 years agoinstead of unbinding items from the loader, unregistering listeners
Sunny Goyal [Tue, 17 May 2016 20:38:54 +0000 (13:38 -0700)]
instead of unbinding items from the loader, unregistering listeners
in activity.onDestroy()

Bug: 28740269
Change-Id: I6bf2ad6aca43970fd10cfbcc113e609c227e07bf

8 years agoMerge "Revert "Wrapping folderLisners with weak reference, and storing it as an array...
Sunny Goyal [Tue, 17 May 2016 21:27:46 +0000 (21:27 +0000)]
Merge "Revert "Wrapping folderLisners with weak reference, and storing it as an array"" into ub-launcher3-calgary

8 years agoRevert "Wrapping folderLisners with weak reference, and storing it as an array"
Sunny Goyal [Tue, 17 May 2016 21:25:48 +0000 (21:25 +0000)]
Revert "Wrapping folderLisners with weak reference, and storing it as an array"

This reverts commit e48644a6cc3024399ee2c9509d42ef6c2770ef61.

Change-Id: I7bd1d09cae42193de228cb58c08526eeaf57ec04

8 years agoMerge "Wrapping folderLisners with weak reference, and storing it as an array" into...
Sunny Goyal [Tue, 17 May 2016 20:41:37 +0000 (20:41 +0000)]
Merge "Wrapping folderLisners with weak reference, and storing it as an array" into ub-launcher3-calgary
am: 192ae6ca71

* commit '192ae6ca71b0a1401ad44020b631c634a348597e':
  Wrapping folderLisners with weak reference, and storing it as an array

Change-Id: Icc6f57d05b53b452073038f612a8277f8b395be4

8 years agoMerge "Wrapping folderLisners with weak reference, and storing it as an array" into...
Sunny Goyal [Tue, 17 May 2016 20:29:12 +0000 (20:29 +0000)]
Merge "Wrapping folderLisners with weak reference, and storing it as an array" into ub-launcher3-calgary

8 years agoWrapping folderLisners with weak reference, and storing it as an array
Sunny Goyal [Mon, 16 May 2016 23:16:14 +0000 (16:16 -0700)]
Wrapping folderLisners with weak reference, and storing it as an array

Storing as an array allows the listeners to be overriten on next bind.
These changes remove the need to unbind the item

Bug: 28740269
Change-Id: Ibbe4b760d64784fbe3075d18e2b946b366d631c5

8 years agoOpening the system default wallpaper picker on clicking the wallpaper tile
Sunny Goyal [Tue, 17 May 2016 18:57:31 +0000 (18:57 +0000)]
Opening the system default wallpaper picker on clicking the wallpaper tile
am: 04cc3a7bea

* commit '04cc3a7beabf03c2e09c3b3e99601fe983a3d897':
  Opening the system default wallpaper picker on clicking the wallpaper tile

Change-Id: I1f256234b05ad655ad66531e5fda78c93d14e334

8 years agoOpening the system default wallpaper picker on clicking the wallpaper tile
Sunny Goyal [Tue, 17 May 2016 17:32:43 +0000 (10:32 -0700)]
Opening the system default wallpaper picker on clicking the wallpaper tile

Bug: 28790378
Change-Id: If283b60a0b9563ab8e80d49b0ffa195fc3ffda8a

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 17 May 2016 07:22:34 +0000 (00:22 -0700)]
Import translations. DO NOT MERGE

Change-Id: I799b7bb6b24c2ef7cd1026863cb5daae32ea346b
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 17 May 2016 07:22:02 +0000 (00:22 -0700)]
Import translations. DO NOT MERGE

Change-Id: I6ed48cc0d1df572fa6aa007722fd1bb4246cd6c5
Auto-generated-cl: translation import

8 years agoMerge "Removing reference of hostView from LauncherAppWidgetInfo" into ub-launcher3...
Sunny Goyal [Tue, 17 May 2016 02:26:01 +0000 (02:26 +0000)]
Merge "Removing reference of hostView from LauncherAppWidgetInfo" into ub-launcher3-calgary
am: 840e1b3a82

* commit '840e1b3a82a1c8dd35d4d16fcf8673fe8a3ca965':
  Removing reference of hostView from LauncherAppWidgetInfo

Change-Id: I214808953830e86db5c4ce429161f64de03e420a

8 years agoMerge "Removing reference of hostView from LauncherAppWidgetInfo" into ub-launcher3...
Sunny Goyal [Tue, 17 May 2016 02:22:11 +0000 (02:22 +0000)]
Merge "Removing reference of hostView from LauncherAppWidgetInfo" into ub-launcher3-calgary

8 years agoRemoving reference of hostView from LauncherAppWidgetInfo
Sunny Goyal [Mon, 16 May 2016 21:56:02 +0000 (14:56 -0700)]
Removing reference of hostView from LauncherAppWidgetInfo

LauncherAppWidgetInfo is a model item and does not need to reference
a view. Removing this dependency will allow cleaning up the
item unbinding logic

Bug: 28740269
Change-Id: I11fc2e2500b8fe29d157eefe74c70b1decdfd08d

8 years agoOn some "non-standard" devices, load label can cause a security exception due to...
Sunny Goyal [Mon, 16 May 2016 20:07:49 +0000 (20:07 +0000)]
On some "non-standard" devices, load label can cause a security exception due to modified platform code am: 0d86a8dccf  -s ours
am: 519a47d5c9

* commit '519a47d5c9a0e4abfee15a782042e3d72a772625':
  On some "non-standard" devices, load label can cause a security exception due to modified platform code

Change-Id: I9711c6ce9685c6a32eec186e84bc85323ada5cae

8 years agoOn some "non-standard" devices, load label can cause a security exception due to...
Sunny Goyal [Mon, 16 May 2016 20:05:33 +0000 (20:05 +0000)]
On some "non-standard" devices, load label can cause a security exception due to modified platform code
am: 0d86a8dccf  -s ours

* commit '0d86a8dccf6557587eb3abae1bb3573e2c40c12c':
  On some "non-standard" devices, load label can cause a security exception due to modified platform code

Change-Id: Ic2256db82871f26497f699dd4ded276db63ff0ac

8 years agoOn some "non-standard" devices, load label can cause a security exception
Sunny Goyal [Mon, 16 May 2016 18:57:45 +0000 (11:57 -0700)]
On some "non-standard" devices, load label can cause a security exception
due to modified platform code

Bug: 28243147
Change-Id: Iab899d0cb233e19ebf994f8a3eacba26f840148f

8 years agoMaking the \'Allow rotation\' setting dependent on system state
Sunny Goyal [Mon, 16 May 2016 19:14:26 +0000 (19:14 +0000)]
Making the \'Allow rotation\' setting dependent on system state
am: f48e59268b

* commit 'f48e59268bf801cf4f4d1e6715871e14fea31ce3':
  Making the 'Allow rotation' setting dependent on system state

Change-Id: I27e9c2ef596c3beecac30e6f2fce05d67242ec90

8 years agoMaking the 'Allow rotation' setting dependent on system state
Sunny Goyal [Thu, 12 May 2016 22:36:20 +0000 (15:36 -0700)]
Making the 'Allow rotation' setting dependent on system state

The setting will not be available on a tablet, where rotation is
always enabled. On mobiles, it will be disabled when auto-rotate
is disabled in display settings.
Also removing content provider dependency from settings, as its in the
same process as launcher.

Bug: 28704055
Change-Id: Ibe6b1e67411fb0e4b2e36446710f463e4a3d6883

8 years agoCall onLauncherTransitionPrepare() and End() from pinch.
Tony Wickham [Fri, 13 May 2016 00:19:49 +0000 (00:19 +0000)]
Call onLauncherTransitionPrepare() and End() from pinch.
am: f898b970cc

* commit 'f898b970cc9130d629d4bc969222aaa96a8a013a':
  Call onLauncherTransitionPrepare() and End() from pinch.

Change-Id: If4d6b6b7eb733f638c541bbb3971aac1c0a07b4e

8 years agoCall onLauncherTransitionPrepare() and End() from pinch.
Tony Wickham [Wed, 6 Apr 2016 01:36:36 +0000 (18:36 -0700)]
Call onLauncherTransitionPrepare() and End() from pinch.

This makes the pinch transition more consistent with other transitions.
One immediate benefit of this is that it updates adjacent overview
panels during pinch, regardless of whether they are completely visible.

Previously the adjacent panels' alphas weren't always reset to 0.
Specifically, if you made a small pinch from workspace, which
canceled and went back to workspace, adjacent pages retained a
slightly visible panel.

Bug: 27676309
Change-Id: I7e79fddec31cd649e0811e4524b9a9a501c627f9

8 years agoUpdate page when scrolling/flinging in free-scroll.
Tony Wickham [Thu, 12 May 2016 23:40:55 +0000 (23:40 +0000)]
Update page when scrolling/flinging in free-scroll.
am: 8f7ead3e94

* commit '8f7ead3e94d0550beb85b83a8c1d5e78a9abd69f':
  Update page when scrolling/flinging in free-scroll.

Change-Id: I42ebd61a143599b5190c8452620a87f3abc5b993

8 years agoUpdate page when scrolling/flinging in free-scroll.
Tony Wickham [Fri, 8 Apr 2016 01:46:44 +0000 (18:46 -0700)]
Update page when scrolling/flinging in free-scroll.

Bug: 28054048
Change-Id: Ic22e7e717c3ead52dd6fb7495c37be3837e11030

8 years agoSimplifying view cluster by using a single int flag instead of 4 booleans
Sunny Goyal [Wed, 11 May 2016 23:14:18 +0000 (23:14 +0000)]
Simplifying view cluster by using a single int flag instead of 4 booleans
am: 6dc98b9dc0

* commit '6dc98b9dc01f8e5cf5729b958f348af37e0117c6':
  Simplifying view cluster by using a single int flag instead of 4 booleans

Change-Id: Id019e3ef2ec1893b51e7b55d58c648532ddd18e6

8 years agoSimplifying view cluster by using a single int flag instead of 4 booleans
Sunny Goyal [Sun, 3 Apr 2016 22:25:29 +0000 (15:25 -0700)]
Simplifying view cluster by using a single int flag instead of 4 booleans

Also fixing the bug where dirty flgas were never being set to false

Change-Id: Idbb16d07bef5a157502e1652bd1beb33ff39faaa

8 years agoRemoving icon_type column Icon type is not used consistently. It is used initially...
Sunny Goyal [Wed, 11 May 2016 22:33:59 +0000 (22:33 +0000)]
Removing icon_type column Icon type is not used consistently. It is used initially during the loader. Afterwards, we save both the icon and resource to the db. Instead of changing the logic to always read the shortcut-resource first, and fallback to the bitmap if the resource is not available, always write the bitmap to DB whenever the shortcut is edited.
am: eb4b79935e

* commit 'eb4b79935e9f75dda72e4953f45e616e252d7b03':
  Removing icon_type column Icon type is not used consistently. It is used initially during the loader. Afterwards, we save both the icon and resource to the db. Instead of changing the logic to always read the shortcut-resource first, and fallback to the bitmap if the resource is not available, always write the bitmap to DB whenever the shortcut is edited.

Change-Id: Ied43e481b22b444dc9d088f07bde98e7dffcec74

8 years agoRemoving icon_type column
Sunny Goyal [Thu, 21 Apr 2016 21:30:18 +0000 (14:30 -0700)]
Removing icon_type column
Icon type is not used consistently. It is used initially
during the loader. Afterwards, we save both the icon and resource to the db.
Instead of changing the logic to always read the shortcut-resource first, and fallback to the bitmap if the resource is not available,
always write the bitmap to DB whenever the shortcut is edited.

Change-Id: I0ea5e88f8904bd3250ca669220b3e5d6aeef1bfd

8 years agoMerge "Fixing a crash/ Launcher3 doesn\'t have predicted apps" into ub-launcher3...
Hyunyoung Song [Wed, 11 May 2016 20:34:15 +0000 (20:34 +0000)]
Merge "Fixing a crash/ Launcher3 doesn\'t have predicted apps" into ub-launcher3-calgary
am: 4dcd8ffecc

* commit '4dcd8ffecc5bbdc5c7496cea4eb6808f4026bf9e':
  Fixing a crash/ Launcher3 doesn't have predicted apps

Change-Id: I999591077dfd0c55f9a97533044d60864018c97b

8 years agoMerge "Fixing a crash/ Launcher3 doesn't have predicted apps" into ub-launcher3-calgary
TreeHugger Robot [Wed, 11 May 2016 20:18:58 +0000 (20:18 +0000)]
Merge "Fixing a crash/ Launcher3 doesn't have predicted apps" into ub-launcher3-calgary

8 years agoFixing a crash/ Launcher3 doesn't have predicted apps
Hyunyoung Song [Wed, 11 May 2016 18:26:01 +0000 (11:26 -0700)]
Fixing a crash/ Launcher3 doesn't have predicted apps

Change-Id: Id405e6d077f8b4c3fb399d4a613d6013dca5cddc

8 years agoMerge "Changing minSDK for launcher3 to 21 (Lollipop)" into ub-launcher3-calgary
Sunny Goyal [Wed, 11 May 2016 04:48:45 +0000 (04:48 +0000)]
Merge "Changing minSDK for launcher3 to 21 (Lollipop)" into ub-launcher3-calgary
am: 5a874d2a3d

* commit '5a874d2a3d80847917498462cdf4a1ed8e4e38a9':
  Changing minSDK for launcher3 to 21 (Lollipop)

Change-Id: I41b783db84b6bf409be309e0ab999cd9676ef408

8 years agoMerge "Changing minSDK for launcher3 to 21 (Lollipop)" into ub-launcher3-calgary
Sunny Goyal [Wed, 11 May 2016 04:44:38 +0000 (04:44 +0000)]
Merge "Changing minSDK for launcher3 to 21 (Lollipop)" into ub-launcher3-calgary

8 years agoMerge "Send predictedApps rank via user event logging" into ub-launcher3-calgary
Hyunyoung Song [Wed, 11 May 2016 00:14:05 +0000 (00:14 +0000)]
Merge "Send predictedApps rank via user event logging" into ub-launcher3-calgary
am: da912837b3

* commit 'da912837b33629b305924a4efc5ec9511881d171':
  Send predictedApps rank via user event logging

Change-Id: I304abac611553bedf6a63ae0a04b0999c29da7e2

8 years agoMerge "Send predictedApps rank via user event logging" into ub-launcher3-calgary
Hyunyoung Song [Wed, 11 May 2016 00:06:45 +0000 (00:06 +0000)]
Merge "Send predictedApps rank via user event logging" into ub-launcher3-calgary

8 years agoSend predictedApps rank via user event logging
Hyunyoung Song [Tue, 10 May 2016 23:59:55 +0000 (16:59 -0700)]
Send predictedApps rank via user event logging

Change-Id: Ib492cb77bce0bc57f60bc4b1310df0810b63d0aa

8 years agobuild fix
Sunny Goyal [Tue, 10 May 2016 23:34:38 +0000 (23:34 +0000)]
build fix
am: bc543af01c

* commit 'bc543af01c2b37aba61e6979ae3424e5eca72e2b':
  build fix

Change-Id: I368cde2781ed4259828d8ee6b7d33e13caec8e2c

8 years agobuild fix
Sunny Goyal [Tue, 10 May 2016 23:28:26 +0000 (16:28 -0700)]
build fix

Change-Id: Ib31b7b4efa96897e7ea04412a9deae14a432b6c0

8 years agoAdding full backup handler for launcher3
Sunny Goyal [Tue, 10 May 2016 22:43:00 +0000 (22:43 +0000)]
Adding full backup handler for launcher3
am: c190dbfb78

* commit 'c190dbfb784c0bca629b6966ce314d735cf98db3':
  Adding full backup handler for launcher3

Change-Id: I502886f8ac7bd04ae330900d284e65efd80ab5a6

8 years agoChanging minSDK for launcher3 to 21 (Lollipop)
Sunny Goyal [Tue, 10 May 2016 22:35:02 +0000 (15:35 -0700)]
Changing minSDK for launcher3 to 21 (Lollipop)

Change-Id: I421a33801886bdcccb43429b571af1ca7c6b9f55

8 years agoAdding full backup handler for launcher3
Sunny Goyal [Thu, 5 May 2016 21:37:05 +0000 (14:37 -0700)]
Adding full backup handler for launcher3

Bug: 28302573

Change-Id: If0889a3b00b88b134b19d7f790159dfafdcdb004

8 years agoMerge "Removing LauncherProvider dependency in DatabaseHeler" into ub-launcher3-calgary
Sunny Goyal [Tue, 10 May 2016 22:16:51 +0000 (22:16 +0000)]
Merge "Removing LauncherProvider dependency in DatabaseHeler" into ub-launcher3-calgary
am: 78508ec5ab

* commit '78508ec5ab69367e52eef1e8c3273ad6e2c40fc6':
  Removing LauncherProvider dependency in DatabaseHeler

Change-Id: I042a1c0351bc606017c576377e92bd8ce8a769ba

8 years agoMerge "Removing LauncherProvider dependency in DatabaseHeler" into ub-launcher3-calgary
Sunny Goyal [Tue, 10 May 2016 22:11:43 +0000 (22:11 +0000)]
Merge "Removing LauncherProvider dependency in DatabaseHeler" into ub-launcher3-calgary

8 years agoMerge "Widgets tray should preserve scroll position during screen rotation" into...
Hyunyoung Song [Tue, 10 May 2016 20:54:24 +0000 (20:54 +0000)]
Merge "Widgets tray should preserve scroll position during screen rotation" into ub-launcher3-calgary
am: adb8eb5a34

* commit 'adb8eb5a34ea3a31e4ac062e18aebb939e1f7567':
  Widgets tray should preserve scroll position during screen rotation

Change-Id: I98695e133b76492d909a2ab1b0de90a49772df2a

8 years agoMerge "Widgets tray should preserve scroll position during screen rotation" into...
Hyunyoung Song [Tue, 10 May 2016 20:49:13 +0000 (20:49 +0000)]
Merge "Widgets tray should preserve scroll position during screen rotation" into ub-launcher3-calgary

8 years agoWidgets tray should preserve scroll position during screen rotation
Hyunyoung Song [Tue, 10 May 2016 20:46:13 +0000 (13:46 -0700)]
Widgets tray should preserve scroll position during screen rotation

> This used to work, but when I got rid of preloading which was
handled by linear manager to increase scrolling speed, the save
and restore instance that was being handled by the linear layout
manager created using Launcher context also went away. Hence,
bringing back custom LinearLayoutManager.

Change-Id: Ibccdf80533a5ace06cc6c6932b257c223cbac0ff

8 years agoRemoving LauncherProvider dependency in DatabaseHeler
Sunny Goyal [Tue, 10 May 2016 19:28:59 +0000 (12:28 -0700)]
Removing LauncherProvider dependency in DatabaseHeler

This will allow DatabaseHeler to easily be moved to an independent class

Change-Id: I9a3d5d3380ed0af246d7a01553a492467c3096b0

8 years agoMerge "Using a separate thread for logging" into ub-launcher3-calgary
Sunny Goyal [Tue, 10 May 2016 04:02:05 +0000 (04:02 +0000)]
Merge "Using a separate thread for logging" into ub-launcher3-calgary
am: 6b360f684d

* commit '6b360f684da3bf4d36643a4325dec2d659900da9':
  Using a separate thread for logging

Change-Id: Id911cce659eeefecb33f47967ea72c3210a37c3e

8 years agoMerge "Removing some obsolete flags" into ub-launcher3-calgary
Sunny Goyal [Tue, 10 May 2016 04:02:05 +0000 (04:02 +0000)]
Merge "Removing some obsolete flags" into ub-launcher3-calgary
am: 7cb519bde1

* commit '7cb519bde14f33aff39350a1e4cbb17e87d53abc':
  Removing some obsolete flags

Change-Id: I45e28a1b9d06990f72f3f0b865b2497beb7fd82a

8 years agoMerge "Using a separate thread for logging" into ub-launcher3-calgary
Sunny Goyal [Tue, 10 May 2016 03:49:28 +0000 (03:49 +0000)]
Merge "Using a separate thread for logging" into ub-launcher3-calgary

8 years agoMerge "Removing some obsolete flags" into ub-launcher3-calgary
Sunny Goyal [Tue, 10 May 2016 03:49:15 +0000 (03:49 +0000)]
Merge "Removing some obsolete flags" into ub-launcher3-calgary

8 years agoUpdating gradle version
Sunny Goyal [Tue, 10 May 2016 00:08:58 +0000 (00:08 +0000)]
Updating gradle version
am: 0292bd18fa

* commit '0292bd18fa92184947ebfd4de5db56a662a98934':
  Updating gradle version

Change-Id: I91a95276e55dd8f833813e4e0ef2717031c78006

8 years agoUpdating gradle version
Sunny Goyal [Mon, 9 May 2016 23:57:48 +0000 (16:57 -0700)]
Updating gradle version

Change-Id: I4f43a45576118572470703668ff3f495a25f3e3c

8 years agoExtract color for the hotseat.
Tony Wickham [Mon, 9 May 2016 23:01:10 +0000 (23:01 +0000)]
Extract color for the hotseat.
am: 462b5cca7b

* commit '462b5cca7bb1d5e24fb8277b0cfe238cc2e1e980':
  Extract color for the hotseat.

Change-Id: I83fe42945ff7e32d69885040f3eb473a12141e01

8 years agoExtract color for the hotseat.
Tony Wickham [Fri, 1 Apr 2016 23:00:49 +0000 (16:00 -0700)]
Extract color for the hotseat.

- Only considers the bottom fourth of the wallpaper
- Is translucent black or white depending on how dark/light
  the wallpaper is
- Hotseat extends behind the nav bar

Bug: 27230217
Change-Id: Id4ea6ee91b4dd221b4c277d22d5041cab178801d

8 years agoUsing a separate thread for logging
Sunny Goyal [Mon, 9 May 2016 22:33:41 +0000 (15:33 -0700)]
Using a separate thread for logging

Change-Id: I85a900bd70e01a7df2c2d8bd09c82cebdec2d3be

8 years agoMerge "Adding a utility class for persistant logging." into ub-launcher3-calgary
Sunny Goyal [Mon, 9 May 2016 21:16:28 +0000 (21:16 +0000)]
Merge "Adding a utility class for persistant logging." into ub-launcher3-calgary
am: 34a2d31f32

* commit '34a2d31f3208c64f6ebf403f8a0cb6ea96461747':
  Adding a utility class for persistant logging.

Change-Id: Ib5ce8987d9271379165d34ff3829482b7509e732

8 years agoRemoving some obsolete flags
Sunny Goyal [Fri, 6 May 2016 20:05:23 +0000 (13:05 -0700)]
Removing some obsolete flags

Change-Id: Id33e28ddd7341d2b494c4b2a294663091afdb157

8 years agoMerge "Fixing bug where the widget background enters into a focused state if a child...
Sunny Goyal [Mon, 9 May 2016 21:11:02 +0000 (21:11 +0000)]
Merge "Fixing bug where the widget background enters into a focused state if a child calls requestFocus in xml" into ub-launcher3-calgary
am: ac6d3a87ae

* commit 'ac6d3a87ae9a31873a34f3eae01979910740ade1':
  Fixing bug where the widget background enters into a focused state if a child calls requestFocus in xml

Change-Id: I768f13b539e4de683925f94d29d092023660c371

8 years agoMerge "Adding a utility class for persistant logging." into ub-launcher3-calgary
Sunny Goyal [Mon, 9 May 2016 21:06:04 +0000 (21:06 +0000)]
Merge "Adding a utility class for persistant logging." into ub-launcher3-calgary

8 years agoMerge "Fixing bug where the widget background enters into a focused state if a child...
Sunny Goyal [Mon, 9 May 2016 20:53:39 +0000 (20:53 +0000)]
Merge "Fixing bug where the widget background enters into a focused state if a child calls requestFocus in xml" into ub-launcher3-calgary

8 years agoAdding a utility class for persistant logging.
Sunny Goyal [Fri, 6 May 2016 16:58:34 +0000 (09:58 -0700)]
Adding a utility class for persistant logging.

The logs are kept for at max 48 hours. It uses two log files and switches
between the two based on the day of the year.

Change-Id: I9a99499b3445a62f29f62a5cd13db20b1783bcd3

8 years agoMerge "Add test size annotation." into ub-launcher3-calgary
Hyunyoung Song [Thu, 5 May 2016 21:14:17 +0000 (21:14 +0000)]
Merge "Add test size annotation." into ub-launcher3-calgary
am: 3074965cdb

* commit '3074965cdb63adc8f834afefb282f43d3d9e4c2f':
  Add test size annotation.

Change-Id: Ie97ee19ea9446884ed3b4d98609778a72f1b5c50

8 years agoMerge "Add test size annotation." into ub-launcher3-calgary
Hyunyoung Song [Thu, 5 May 2016 21:05:15 +0000 (21:05 +0000)]
Merge "Add test size annotation." into ub-launcher3-calgary

8 years agoMerge "Workaround issue where IME doesn\'t show up when tapping folder text" into...
Adam Cohen [Thu, 5 May 2016 20:45:51 +0000 (20:45 +0000)]
Merge "Workaround issue where IME doesn\'t show up when tapping folder text" into ub-launcher3-calgary
am: 1afc1b3d3a

* commit '1afc1b3d3a6573c3729870c29bac405ef5bd6315':
  Workaround issue where IME doesn't show up when tapping folder text

Change-Id: I8c5caea733020b0eafc34c30b9f46a4dce4cbeec