Commit Graph

49925 Commits

Author SHA1 Message Date
Sunny Goyal 40902b3cb0 Merge "Preventing unnecessary options update to QSB provider by checking if the options have changed before calling update" into ub-launcher3-calgary 2016-05-19 22:54:22 +00:00
Christopher Tate f27a9c69c3 Track adjustments to new wallpaper APIs am: ea4cc66cf3 am: 9f9d83d750
am: 449cbc3ab2

* commit '449cbc3ab291330826125ba584fd1b8019d50db8':

Change-Id: I09e3887e7e6e35520d980ec8c246690035bde7ce
2016-05-19 21:02:40 +00:00
Christopher Tate 6741a4dd2a Track adjustments to new wallpaper APIs am: ea4cc66cf3 am: efe81e1226
am: 0cbd872189

* commit '0cbd87218900fc8380489bccb3127087de74277d':
  Track adjustments to new wallpaper APIs

Change-Id: I546ca2e5991994c296a146c01b5ea135aaed6b36
2016-05-19 21:01:02 +00:00
Tony Wickham cc792b5142 Missed one more page indicator null check.
am: ddb77003e7

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

Change-Id: I8b24824ddcf8894daf5be52dc743da20e9627792
2016-05-19 20:05:29 +00:00
Christopher Tate 449cbc3ab2 Track adjustments to new wallpaper APIs am: ea4cc66cf3
am: 9f9d83d750

* commit '9f9d83d7509ab1712a157029336f078c8653b48c':

Change-Id: Id2443290ccf389ae0c1823c907ac58c2fc55390c
2016-05-19 19:56:36 +00:00
Tony Wickham ddb77003e7 Missed one more page indicator null check.
Hopefully this is the last one.

Change-Id: I1af4f7058834fe0ba60ccc8752a6bf0df64be473
2016-05-19 12:45:40 -07:00
Christopher Tate 9f9d83d750 Track adjustments to new wallpaper APIs
am: ea4cc66cf3

* commit 'ea4cc66cf303d5e1f4e936f5ff7688a720d36013':
  Track adjustments to new wallpaper APIs

Change-Id: Ibf9232aaaa2dc59e784bed1bc766d854f6876191
2016-05-19 19:44:50 +00:00
Christopher Tate 0cbd872189 Track adjustments to new wallpaper APIs am: ea4cc66cf3
am: efe81e1226

* commit 'efe81e12264520d357e7e975d65b8e9f61fac625':
  Track adjustments to new wallpaper APIs

Change-Id: I8e9d384ffc0ea3a6bf85e6ee5efbb8777af69f1b
2016-05-19 19:44:20 +00:00
Christopher Tate efe81e1226 Track adjustments to new wallpaper APIs
am: ea4cc66cf3

* commit 'ea4cc66cf303d5e1f4e936f5ff7688a720d36013':
  Track adjustments to new wallpaper APIs

Change-Id: Iaead705ec92bd7a41784072b5ec0b8350f33e89c
2016-05-19 19:38:51 +00:00
Tony Wickham 60777ecd86 Add more null checks for page indicators.
am: fea0a5f629

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

Change-Id: I3db6a16e0f0edf0891dbec3c91f1776a21ab9b70
2016-05-19 18:48:18 +00:00
Tony Wickham fea0a5f629 Add more null checks for page indicators.
Change-Id: Id86d4827c9079abfb236f956e531f0e29edfc54e
2016-05-19 11:27:55 -07:00
Sunny Goyal 81259cd086 Storing the widget item views in Widget holder, to avoid looks on every bind/recycle
Change-Id: Ifad34f419b1b4f2bf97cc4ff533277867598a719
2016-05-19 09:35:05 -07:00
Sunny Goyal 9600d20110 Adding a loading view for widgets list
Bug: 28427096
Change-Id: Icdc5ceed0caa1fafc97452142e4b71aa3026ddf9
2016-05-19 09:17:09 -07:00
Sunny Goyal 6a4e02642a Removing some usused resources
Change-Id: Ib11db872270931f956ba7093e472c866a1b0e794
2016-05-18 19:57:00 -07:00
Sunny Goyal c8e0fced52 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
2016-05-19 01:40:40 +00:00
Sunny Goyal c64cfdd8fa 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
2016-05-18 17:50:34 -07:00
Christopher Tate ea4cc66cf3 Track adjustments to new wallpaper APIs
Bug 28773334

Change-Id: I4b660cf83172cfbd3640d7cf06020de766bda0bc
2016-05-18 17:33:01 -07:00
Sunny Goyal a0a4abe822 Adding android.icu.text.AlphabeticIndex implementation for AlphabeticIndexCompat
as libcore.icu.AlphabeticIndex is no longer available in N

Bug: 28795251
Change-Id: I3b168dfb451c0eac9b64c6559a51d2b1b8c578b9
2016-05-18 17:20:39 -07:00
Tony Wickham bdeaa0b079 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
2016-05-18 22:29:28 +00:00
Tony Wickham 770217c697 Add null check to page indicator to prevent crashes in landscape.
Change-Id: I9676c19bcdd9129a8519e96febc779f019bc8a13
2016-05-18 15:16:40 -07:00
Sunny Goyal 3f732190cc Preventing unnecessary options update to QSB provider
by checking if the options have changed before calling update

Bug: 28586377
Change-Id: Idf263b7a32ca85f23f728fa29b9c8ac84289052e
2016-05-18 15:00:52 -07:00
Baligh Uddin 1b6f237222 Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
am: a40102f5d5  -s ours

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

Change-Id: I60a4f2802a3ec5a0f2184371c8f11a1ade693ba5
2016-05-18 19:22:24 +00:00
Baligh Uddin 09befd9941 Merge "Import translations. DO NOT MERGE" into ub-launcher3-burnaby-nyc 2016-05-18 19:06:23 +00:00
Baligh Uddin a40102f5d5 Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary 2016-05-18 19:06:21 +00:00
Baligh Uddin dfc8d1c4d1 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2016-05-18 19:06:20 +00:00
Sunny Goyal 251d464086 Fixing build breakage
am: 7267adf68e

* commit '7267adf68eb582ff20e2ce1bfb2068caecc4e3f5':
  Fixing build breakage

Change-Id: I558760d325a96cea3e51a054d7b866ba9036ea9c
2016-05-18 16:51:38 +00:00
Sunny Goyal 1a784f6488 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
2016-05-18 16:51:38 +00:00
Sunny Goyal 7267adf68e Fixing build breakage
Change-Id: Ib649bff709f4b6e4f173006d267aafa069c2a8b4
2016-05-18 09:47:58 -07:00
Sunny Goyal 1acb9e9e29 Rearranging the provider checks to avoid packagemanager lookups
whenever launcher starts

Bug: 28737985
Change-Id: I3ce3e2741b3224fa5419d7ceca496e1bb91f065c
2016-05-18 09:41:27 -07:00
Tony Wickham 8617f3b3ba 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
2016-05-18 02:17:13 +00:00
Tony Wickham ae00781428 Merge "Add PageIndicator interface and custom PageIndicatorLine view." into ub-launcher3-calgary 2016-05-18 02:09:02 +00:00
Tony Wickham f549dab31d 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
2016-05-17 18:53:57 -07:00
Tony Wickham 53d9b5282a 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
2016-05-18 01:10:48 +00:00
Tony Wickham 63d1b330bf Merge "Only show App Info drag target if developer settings are enabled." into ub-launcher3-calgary 2016-05-18 01:05:48 +00:00
Tony Wickham df23837d99 Only show App Info drag target if developer settings are enabled.
Bug: 28794577
Change-Id: Ia515a627a4f94121c47386829c6772bea42e70f1
2016-05-17 17:52:39 -07:00
Sunny Goyal 73306bf56b 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
2016-05-17 22:03:56 +00:00
Sunny Goyal 889985b44a 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
2016-05-17 21:43:45 +00:00
Sunny Goyal aaf7d1d13b instead of unbinding items from the loader, unregistering listeners
in activity.onDestroy()

Bug: 28740269
Change-Id: I6bf2ad6aca43970fd10cfbcc113e609c227e07bf
2016-05-17 14:42:10 -07:00
Sunny Goyal 5b83d6ce8f Merge "Revert "Wrapping folderLisners with weak reference, and storing it as an array"" into ub-launcher3-calgary 2016-05-17 21:27:46 +00:00
Sunny Goyal 90cb3e51af Revert "Wrapping folderLisners with weak reference, and storing it as an array"
This reverts commit e48644a6cc.

Change-Id: I7bd1d09cae42193de228cb58c08526eeaf57ec04
2016-05-17 21:25:48 +00:00
Sunny Goyal b7af85a667 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
2016-05-17 20:41:37 +00:00
Sunny Goyal 192ae6ca71 Merge "Wrapping folderLisners with weak reference, and storing it as an array" into ub-launcher3-calgary 2016-05-17 20:29:12 +00:00
Sunny Goyal e48644a6cc 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
2016-05-17 12:44:15 -07:00
Sunny Goyal 841c19619e 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
2016-05-17 18:57:31 +00:00
Sunny Goyal 04cc3a7bea Opening the system default wallpaper picker on clicking the wallpaper tile
Bug: 28790378
Change-Id: If283b60a0b9563ab8e80d49b0ffa195fc3ffda8a
2016-05-17 11:29:46 -07:00
Baligh Uddin f478efd10c Import translations. DO NOT MERGE
Change-Id: I799b7bb6b24c2ef7cd1026863cb5daae32ea346b
Auto-generated-cl: translation import
2016-05-17 00:22:34 -07:00
Baligh Uddin cc60ed63a7 Import translations. DO NOT MERGE
Change-Id: I6ed48cc0d1df572fa6aa007722fd1bb4246cd6c5
Auto-generated-cl: translation import
2016-05-17 00:22:02 -07:00
Baligh Uddin 03dc99c0ba Import translations. DO NOT MERGE
Change-Id: Ie23f2e6ed183ef562db099f159b11402c3a959b6
Auto-generated-cl: translation import
2016-05-17 00:21:31 -07:00
Sunny Goyal 7d1934981b Merge "Removing reference of hostView from LauncherAppWidgetInfo" into ub-launcher3-calgary
am: 840e1b3a82

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

Change-Id: I214808953830e86db5c4ce429161f64de03e420a
2016-05-17 02:26:01 +00:00
Sunny Goyal 840e1b3a82 Merge "Removing reference of hostView from LauncherAppWidgetInfo" into ub-launcher3-calgary 2016-05-17 02:22:11 +00:00