Commit Graph
33301 Commits
Author SHA1 Message Date
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
Hyunyoung Song f89aec74d3 resolve merge conflicts of 7520e49 to nyc-dev-plus-aosp am: 3e906a925c
am: 724e51e88d

* commit '724e51e88dea60401102d00ecf87b63f565e09bf':

Change-Id: If4fb5799c28e7f1a1f12be3b1f9fd517cf5c3f39
2016-04-21 02:53:05 +00:00
Sunny Goyal 89ef5e7fdf resolve merge conflicts of f82aba0 to nyc-mr1-dev-plus-aosp
am: 1b1b84e96a

* commit '1b1b84e96a30b30d1df11948eccdf3bb0a821233': (219 commits)
  Passing the full image and crop hint when setting the wallpaper
  Prompt to set URI wallpapers on lock screen (missed before).
  Fixing wrong grid size definitions
  [DO NOT MERGE] Address some spacing issues in all apps related to new support library
  Giving proper workspace description when the launcher is not loaded.
  [DO NOT MERGE] Address some spacing issues in all apps related to new support library
  Talkback: return correct row index inside AllApps b/27108673 b/26546781
  Add dialog to set Default Wallpaper on lock screen for N+.
  [DO NOT MERGE] Changing WallpaperChangeReceiver to a runtime registered broadcast receiver
  [DO NOT MERGE] Changing WallpaperChangeReceiver to a runtime registered broadcast receiver
  Disable "Set wallpaper" action bar when no tile is selected.
  Prompt users to set wallpaper on lockscreen on N+.
  Removing dependency on getApplicationInfo method added in N
  Calling start/stop listening in onStart/onStop
  Fixing a typo from <array> to <string-array>
  Make com.android.launcher3.action.LAUNCH intent explicit b/27967359
  Fixing debug log
  Listen on new broadcasts for profile changes.
  No need to differentiate package event into app or updated based on a package is being updated or not
  Embedding the icon pixel size in the cache DB version. This causes the cache to get reset when the icon size changes, for eg, in case of display scale changes
  ...

Change-Id: Id20a2fd47cd4aed84182bc228e2a89070931910e
2016-04-21 02:53:05 +00:00
Hyunyoung Song 724e51e88d resolve merge conflicts of 7520e49 to nyc-dev-plus-aosp
am: 3e906a925c

* commit '3e906a925c05824546c48776836a6f727271f625':

Change-Id: I9dce3069f215363b02c42d569e559cdf20998ddb
2016-04-21 00:42:05 +00:00
Hyunyoung Song 3e906a925c resolve merge conflicts of 7520e49 to nyc-dev-plus-aosp
Change-Id: I7e619acb70767f5db5004a40e160ef6487aea78b
2016-04-20 17:20:53 -07:00
Hyunyoung Song 1b1b84e96a resolve merge conflicts of f82aba0 to nyc-mr1-dev-plus-aosp
Change-Id: I9fdb4b870c11cd9ef1d46727496839743217fac3
2016-04-20 17:03:16 -07:00
Sunny Goyal f82aba03a7 merged ub-launcher3-burnaby-nyc, and resolved conflicts b/28269144 Change-Id: Ie884be65901b8d9c6a912944094b8c45796162ee
am: 7520e49

* commit '7520e492e75a517b7ff41452318dd56bb9a74c8c': (219 commits)
  Passing the full image and crop hint when setting the wallpaper
  Prompt to set URI wallpapers on lock screen (missed before).
  Fixing wrong grid size definitions
  [DO NOT MERGE] Address some spacing issues in all apps related to new support library
  Giving proper workspace description when the launcher is not loaded.
  [DO NOT MERGE] Address some spacing issues in all apps related to new support library
  Talkback: return correct row index inside AllApps b/27108673 b/26546781
  Add dialog to set Default Wallpaper on lock screen for N+.
  [DO NOT MERGE] Changing WallpaperChangeReceiver to a runtime registered broadcast receiver
  [DO NOT MERGE] Changing WallpaperChangeReceiver to a runtime registered broadcast receiver
  Disable "Set wallpaper" action bar when no tile is selected.
  Prompt users to set wallpaper on lockscreen on N+.
  Removing dependency on getApplicationInfo method added in N
  Calling start/stop listening in onStart/onStop
  Fixing a typo from <array> to <string-array>
  Make com.android.launcher3.action.LAUNCH intent explicit b/27967359
  Fixing debug log
  Listen on new broadcasts for profile changes.
  No need to differentiate package event into app or updated based on a package is being updated or not
  Embedding the icon pixel size in the cache DB version. This causes the cache to get reset when the icon size changes, for eg, in case of display scale changes
  ...

Change-Id: I5b2af74a5bb37df9c220cef8eb671288a686c38c
2016-04-20 23:21:54 +00:00