Commit Graph

11527 Commits

Author SHA1 Message Date
Sunny Goyal 37bfe69329 Merge "Removing LauncherProvider dependency in DatabaseHeler" into ub-launcher3-calgary
am: 78508ec5ab

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

Change-Id: I042a1c0351bc606017c576377e92bd8ce8a769ba
2016-05-10 22:16:51 +00:00
Sunny Goyal 78508ec5ab Merge "Removing LauncherProvider dependency in DatabaseHeler" into ub-launcher3-calgary 2016-05-10 22:11:43 +00:00
Hyunyoung Song 43b0552726 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
2016-05-10 20:54:24 +00:00
Hyunyoung Song adb8eb5a34 Merge "Widgets tray should preserve scroll position during screen rotation" into ub-launcher3-calgary 2016-05-10 20:49:13 +00:00
Hyunyoung Song bc5d623845 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
2016-05-10 13:46:13 -07:00
Sunny Goyal b5b55c8012 Removing LauncherProvider dependency in DatabaseHeler
This will allow DatabaseHeler to easily be moved to an independent class

Change-Id: I9a3d5d3380ed0af246d7a01553a492467c3096b0
2016-05-10 12:30:47 -07:00
Sunny Goyal f9021bc186 Merge "Using a separate thread for logging" into ub-launcher3-calgary
am: 6b360f684d

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

Change-Id: Id911cce659eeefecb33f47967ea72c3210a37c3e
2016-05-10 04:02:05 +00:00
Sunny Goyal 93037e05e5 Merge "Removing some obsolete flags" into ub-launcher3-calgary
am: 7cb519bde1

* commit '7cb519bde14f33aff39350a1e4cbb17e87d53abc':
  Removing some obsolete flags

Change-Id: I45e28a1b9d06990f72f3f0b865b2497beb7fd82a
2016-05-10 04:02:05 +00:00
Sunny Goyal 6b360f684d Merge "Using a separate thread for logging" into ub-launcher3-calgary 2016-05-10 03:49:28 +00:00
Sunny Goyal 7cb519bde1 Merge "Removing some obsolete flags" into ub-launcher3-calgary 2016-05-10 03:49:15 +00:00
Sunny Goyal 91b40f2d4f Updating gradle version
am: 0292bd18fa

* commit '0292bd18fa92184947ebfd4de5db56a662a98934':
  Updating gradle version

Change-Id: I91a95276e55dd8f833813e4e0ef2717031c78006
2016-05-10 00:08:58 +00:00
Sunny Goyal 0292bd18fa Updating gradle version
Change-Id: I4f43a45576118572470703668ff3f495a25f3e3c
2016-05-09 16:57:58 -07:00
Tony Wickham 0521bbaa6c Extract color for the hotseat.
am: 462b5cca7b

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

Change-Id: I83fe42945ff7e32d69885040f3eb473a12141e01
2016-05-09 23:01:10 +00:00
Tony Wickham 462b5cca7b 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
2016-05-09 15:41:38 -07:00
Sunny Goyal 14c73cc120 Using a separate thread for logging
Change-Id: I85a900bd70e01a7df2c2d8bd09c82cebdec2d3be
2016-05-09 15:33:52 -07:00
Sunny Goyal 6d9f167126 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
2016-05-09 21:16:28 +00:00
Sunny Goyal a26e2d3d93 Removing some obsolete flags
Change-Id: Id33e28ddd7341d2b494c4b2a294663091afdb157
2016-05-09 14:13:06 -07:00
Sunny Goyal b9bbb351ef 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
2016-05-09 21:11:02 +00:00
Sunny Goyal 34a2d31f32 Merge "Adding a utility class for persistant logging." into ub-launcher3-calgary 2016-05-09 21:06:04 +00:00
Sunny Goyal ac6d3a87ae Merge "Fixing bug where the widget background enters into a focused state if a child calls requestFocus in xml" into ub-launcher3-calgary 2016-05-09 20:53:39 +00:00
Sunny Goyal 713edfce26 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
2016-05-09 12:47:42 -07:00
Hyunyoung Song d9d76820c5 Merge "Add test size annotation." into ub-launcher3-calgary
am: 3074965cdb

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

Change-Id: Ie97ee19ea9446884ed3b4d98609778a72f1b5c50
2016-05-05 21:14:17 +00:00
Hyunyoung Song 3074965cdb Merge "Add test size annotation." into ub-launcher3-calgary 2016-05-05 21:05:15 +00:00
Adam Cohen 45e99c93f2 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
2016-05-05 20:45:51 +00:00
Adam Cohen 1afc1b3d3a Merge "Workaround issue where IME doesn't show up when tapping folder text" into ub-launcher3-calgary 2016-05-05 20:38:06 +00:00
Hyunyoung Song 9345ebfc5c Add test size annotation.
Rational/Background:

@MediumTest: An integration or functional test that validates the
interaction of one or more application modules on a single machine.
(should run under 1 sec: Usually get killed after 5 min)
@LargeTest: A system test, integration test, or end-to-end test that
verifies that a complete application works and accounts for the behavior
of external subsystems.
(Usually get killed after 15 min)

Change-Id: I8b668af3d2ca09c43ad45c6fd72b1d0d80c6b7d3
2016-05-05 11:46:03 -07:00
Sunny Goyal ea98f5288b Fixing bug where the widget background enters into a focused state
if a child calls requestFocus in xml

Bug: 28562293
Change-Id: I005e23550184de29fa15eb70ab322615920b8947
2016-05-04 16:11:40 -07:00
Tony Wickham 5fb7d965ed Return 1f in Log(Ac/De)celerateInterpolators on a 1f input.
am: bd42ba73b2

* commit 'bd42ba73b23d0470b675af73a721fc1d019be39d':
  Return 1f in Log(Ac/De)celerateInterpolators on a 1f input.

Change-Id: Iae6c49b04d4b360d3e89928643c7e96ad6caecf0
2016-05-04 00:38:08 +00:00
Tony Wickham bd42ba73b2 Return 1f in Log(Ac/De)celerateInterpolators on a 1f input.
In battery saver mode, animations skip directly to the final values.
For LogDecelerateInterpolator, however, an input of 1f outputs an
interpolated 0.99999994. This meant that the FirstFrameAnimatorHelper
didn't realize that this was the last frame, and messed things up.
Since any interpolator should return 1 on an input of 1, we just
short-circuit in that case for the log interpolators.

Bug: 25666809
Change-Id: I60527e3758cea383fbcf50acb95460a7bd9ab43c
(cherry picked from commit 8dd2409923)
2016-05-04 00:21:45 +00:00
Adam Cohen b0efe3f9b2 Workaround issue where IME doesn't show up when tapping folder text
-> Various calls on EditText don't work when calling from
   onFocusChange, post instead

issue 28523980

Change-Id: Ib9972c3c5083450412340f27bdd231605957ae6f
2016-05-03 14:06:45 -07:00
Baligh Uddin 6733f00c99 Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
am: f9a13f7cf8  -s ours

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

Change-Id: I398cb2c24a0c2b7744558c4048035c54f1f98138
2016-05-03 16:43:52 +00:00
Baligh Uddin f9a13f7cf8 Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary 2016-05-03 16:32:46 +00:00
Baligh Uddin 588bd13c7a Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2016-05-03 16:32:44 +00:00
Sunny Goyal 20f2365343 Fixing crash when getActivity is null
am: 5ae82081c1

* commit '5ae82081c15c957d92a7eff68473d1c45d3c5e8f':
  Fixing crash when getActivity is null

Change-Id: Iaa77d68c200fed8ad99c2b385f2866d2a7dcc339
2016-05-03 02:13:58 +00:00
Baligh Uddin 690a41170b Import translations. DO NOT MERGE
Change-Id: I7810b992f10df06127053ac60cd954fcd6187392
Auto-generated-cl: translation import
2016-05-02 13:23:55 -07:00
Baligh Uddin e2cd10d4a3 Import translations. DO NOT MERGE
Change-Id: Idf845844d4c1319981ffb13b279be6ea307d4543
Auto-generated-cl: translation import
2016-05-02 13:22:51 -07:00
Sunny Goyal 5ae82081c1 Fixing crash when getActivity is null
> Also changing the default value of preferences to true

Change-Id: I0a80d9b6b76d7210b12c952cf8e991a3eb327e5c
2016-05-02 12:51:07 -07:00
Sunny Goyal dd221132d5 Chaning the behavior of settings activity.
am: 745bad9da1

* commit '745bad9da1ef2fca2ab7bfeb5ea885a2b50c49c3':
  Chaning the behavior of settings activity.

Change-Id: I7435ceffed5b64a44fe50c65ba6bde8ecc33e13f
2016-05-02 19:19:20 +00:00
Sunny Goyal 745bad9da1 Chaning the behavior of settings activity.
> Making all twoState prefs backed by content provider
> Using the stadard intent defined in N for settings
> Using SharedPrefsListener instead of LauncherProvider

Change-Id: I8272f54aa780bc0436e3d0aa89096a4bd2a9194f
2016-05-02 12:00:51 -07:00
Sunny Goyal 0b6a4835a8 Merge "Revert "Calling start/stop listening in onStart/onStop"" into ub-launcher3-calgary
am: f8a2ba2707

* commit 'f8a2ba27078badc61b7122a6781214a4148a686f':
  Revert "Calling start/stop listening in onStart/onStop"

Change-Id: I79a543a0fd1c0724b652c2e04545d95db7429eec
2016-04-28 22:57:29 +00:00
Sunny Goyal f8a2ba2707 Merge "Revert "Calling start/stop listening in onStart/onStop"" into ub-launcher3-calgary 2016-04-28 22:43:10 +00:00
Sunny Goyal 7e5d5fc3c6 Revert "Calling start/stop listening in onStart/onStop"
This reverts commit 23ac9cb3e1.

Bug: 28421447
Change-Id: Id04e7b7827d8b897b7c7992705d36f9d83a13320
2016-04-28 22:24:50 +00:00
Rubin Xu 05399dcf3e Fix incorrect icon greying on pre-N system
am: da3de6d

* commit 'da3de6ddfe6d83941f9ddde0354e6781bca24e75':
  Fix incorrect icon greying on pre-N system

Change-Id: I5f2fd22cabc44ab748838a33c5cfb6495b3c6516
2016-04-28 17:05:52 +00:00
Rubin Xu da3de6ddfe Fix incorrect icon greying on pre-N system
The flag we check for package suspension is reused by a hidden constant
prior to N, so the flag should only be checked on N or later system.

Bug: 28390176
Change-Id: Ia28f62991cc2cd1b5d2cc27a5f11f7edca0ba02b
(cherry picked from commit 3ee9080fb4)
2016-04-28 16:55:03 +00:00
Baligh Uddin 3cae99b123 Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
am: c578415  -s ours

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

Change-Id: I195c6c72a9a3425d5679a7024091c68aa7a52ee0
2016-04-27 21:33:59 +00:00
Baligh Uddin c5784155bf Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary 2016-04-27 21:18:34 +00:00
Baligh Uddin dd14139089 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2016-04-27 21:18:32 +00:00
Bill Yi a03513d9bc Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2016-04-27 20:17:31 +00:00
Bill Yi ff85d94f58 Import translations. DO NOT MERGE
am: 0a0039d  -s ours

* commit '0a0039dfa3f346722489ef2915dd15983aa8c5e8':
  Import translations. DO NOT MERGE

Change-Id: I118d2f51022afed8c79376d5cfc132023a6ce758
2016-04-27 19:45:06 +00:00
Bill Yi e9ab7e7dc4 Import translations. DO NOT MERGE
Change-Id: I7d769bfea20fb68b0420839758446ca3ca8eda6e
Auto-generated-cl: translation import
2016-04-26 19:32:37 -07:00