Commit Graph

78507 Commits

Author SHA1 Message Date
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
Tony Wickham 8dd2409923 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
2016-05-03 17:00:20 -07: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 0042e3a5e7 Revert "Calling start/stop listening in onStart/onStop"
This reverts commit 23ac9cb3e1.

Bug: 28421447
Change-Id: Id04e7b7827d8b897b7c7992705d36f9d83a13320
(cherry picked from commit 7e5d5fc3c6)
2016-04-28 22:43:19 +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
Rubin Xu 3ee9080fb4 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
2016-04-27 20:33:53 +01:00
Sunny Goyal e81ba18a03 Setting stable layout flags on the launcher, so that the instets do not
change for launcher when going in/out of another app

Bug: 27600678
Change-Id: Ic873faba99c539025769d911bc7b0a4fed629cd7
(cherry picked from commit 784f9c3996)
2016-04-27 17:20:24 +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
Bill Yi 0a0039dfa3 Import translations. DO NOT MERGE
Change-Id: I2bc7d79eaae8261dfe5397f4e5eadfdaf71e9a1c
Auto-generated-cl: translation import
2016-04-26 19:31:26 -07:00
Adam Cohen 886076751b Merge "Define a set of methods on Launcher which can be safely called externally" into ub-launcher3-calgary
am: a332ae8

* commit 'a332ae84c1924472ab607a08f94c2da66dd23f27':
  Define a set of methods on Launcher which can be safely called externally

Change-Id: I71d87736aa9e08e2e7d934446b0068d0b2a6a04a
2016-04-26 19:09:51 +00:00
Adam Cohen a332ae84c1 Merge "Define a set of methods on Launcher which can be safely called externally" into ub-launcher3-calgary 2016-04-26 18:56:59 +00:00
Adam Cohen 79d90c558f Define a set of methods on Launcher which can be safely called externally
-> The methods are defined by an interface, LauncherExterns, which Launcher
   implements

Change-Id: I61362761f5d90fbc3011ce000944768d5ab29d43
2016-04-26 11:53:43 -07:00
Baligh Uddin aa520db282 Import translations. DO NOT MERGE
Change-Id: I9c9933669dadf4e9818a5d58cb58f7e06d549c98
Auto-generated-cl: translation import
2016-04-26 10:40:19 -07:00
Baligh Uddin e81d6fdc33 Import translations. DO NOT MERGE
Change-Id: I17e941c5234a763ec4ea0505c970ca68f5a12846
Auto-generated-cl: translation import
2016-04-26 10:39:22 -07:00
Bill Yi ef720f04e7 Import translations. DO NOT MERGE
am: 02c8b3d  -s ours

* commit '02c8b3d3f59a51e11a022ff8c61b200af7b321fe':
  Import translations. DO NOT MERGE

Change-Id: I3002a0ece65e4f101d73a181974518cc95dc2f1c
2016-04-25 15:25:58 +00:00
Bill Yi 36a7fe5c0a Import translations. DO NOT MERGE
Change-Id: Ib82caeb7b04cd82ee0a646e397ba5c7a6c2eaacc
Auto-generated-cl: translation import
2016-04-25 07:29:20 -07:00
Bill Yi 02c8b3d3f5 Import translations. DO NOT MERGE
Change-Id: I3868028d1eede381601fe3565c554dbb82259ca9
Auto-generated-cl: translation import
2016-04-25 07:28:34 -07:00
Sunny Goyal a8c2b7ddd6 Merge "Refactoring package tracking in managed profile heuristic into a separate class" into ub-launcher3-calgary
am: 711ee90

* commit '711ee90ae208d8e2896d6e5b6fec0a6e4ce09d3c':
  Refactoring package tracking in managed profile heuristic into a separate class

Change-Id: Idd4e9ed6e928c9f1f7501491a42023f653250912
2016-04-22 20:41:57 +00:00
Sunny Goyal 711ee90ae2 Merge "Refactoring package tracking in managed profile heuristic into a separate class" into ub-launcher3-calgary 2016-04-22 20:37:21 +00:00
Sunny Goyal 752848a3b1 Refactoring package tracking in managed profile heuristic into a
separate class

Change-Id: I4f346422e5c7f94f8559942e21aa01b5c96cd8be
2016-04-22 11:50:01 -07:00
Sunny Goyal 75cdc36a62 Showing a toast when changing wallaper is disabled
am: 1ed6c4adde

* commit '1ed6c4adde9c2ce597deb3e57600c664684eb639':
  Showing a toast when changing wallaper is disabled

Change-Id: I25c855d47273b504019ba019fbb1293906d56d0f
2016-04-21 23:23:01 +00:00
Sunny Goyal 1ed6c4adde Showing a toast when changing wallaper is disabled
Bug: 27940102
Change-Id: I373093d9b85dca356aaa8798931d5315981fd74c
(cherry picked from commit 2afb636180)
2016-04-21 23:12:50 +00:00
Sunny Goyal 2afb636180 Showing a toast when changing wallaper is disabled
Bug: 27940102
Change-Id: I373093d9b85dca356aaa8798931d5315981fd74c
2016-04-21 15:16:42 -07:00
Sunny Goyal 51d7208017 Removing some deprecated columns.
am: cc8f9e0af7

* commit 'cc8f9e0af7f9acc6f03a1a0173d3e118b4e96ae5':
  Removing some deprecated columns.

Change-Id: I766358316fa9a0c135a23565be2d4dd4fc713894
2016-04-21 20:32:27 +00:00
Sunny Goyal cc8f9e0af7 Removing some deprecated columns.
Removing these columns will ensure that new installs do not
get this column, without affecting the upgrades.

Change-Id: If06edcd2f899f30b5427c07e72a170ccefc32dd6
2016-04-21 08:14:19 -07:00