Commit Graph

9261 Commits

Author SHA1 Message Date
Sunny Goyal 00a44cbb2e am 5319b2bb: Merge "Removing all dependencies of launcher code on wallpaper-picker" into ub-launcher3-burnaby
* commit '5319b2bb3ba25fa658f58c18130c91d9efb1f677':
  Removing all dependencies of launcher code on wallpaper-picker
2015-03-21 16:20:24 +00:00
Sunny Goyal a992aa0e92 am 244fa8c9: Merge "Rewrite: Widget preview loader logic" into ub-launcher3-burnaby
* commit '244fa8c9a215db48645ad372a6b33404cdc65e64':
  Rewrite: Widget preview loader logic
2015-03-21 16:20:22 +00:00
Sunny Goyal de073a38c0 am e85d7145: Fixing getItemCount in FolderPagedView
* commit 'e85d7145222ba1311cd9280726d8419b84f2f94b':
  Fixing getItemCount in FolderPagedView
2015-03-21 16:20:21 +00:00
Geoff Mendal e6037eced0 Import translations. DO NOT MERGE
Change-Id: Id6f692392c07ecdddd42f61ba0853f09692aaec7
Auto-generated-cl: translation import
2015-03-21 00:34:40 -07:00
Sunny Goyal 5319b2bb3b Merge "Removing all dependencies of launcher code on wallpaper-picker" into ub-launcher3-burnaby 2015-03-21 01:19:35 +00:00
Sunny Goyal 244fa8c9a2 Merge "Rewrite: Widget preview loader logic" into ub-launcher3-burnaby 2015-03-21 01:19:26 +00:00
Sunny Goyal 6a1e95a3df Removing all dependencies of launcher code on wallpaper-picker
> WallpaperPicker can still depend on launcher code, but not the
other way round.

Change-Id: I93a07f985c3955c638a68a5fad9c09b184a879b9
2015-03-20 18:16:58 -07:00
Sunny Goyal e85d714522 Fixing getItemCount in FolderPagedView
> When a folder is created, it initially has no item, and then
two shortcut info are added to it. Initial logic assumed that the
folder it created with on item already present

Bug: 19868273
Change-Id: I8850b71d2bace835f94e3cd791c173d40752d2e6
2015-03-20 18:12:53 -07:00
Sunny Goyal 5b0e669169 Rewrite: Widget preview loader logic
> Widget previews are saved in data dir instead of cache dir
> Expiring widget previews similar to IconCache
> Removed support for setting thread priorities

Bug: 19865031
Change-Id: Ib6033c2b1ff8ae61bba8762ca994ccd8217d3c75
2015-03-20 17:31:11 -07:00
Sunny Goyal 31089efbd1 am 71c3baf5: Merge "Removing unnecessary intent-filter construction" into ub-launcher3-burnaby
* commit '71c3baf5ebc520d5146946e0d7907a5dc12366db':
  Removing unnecessary intent-filter construction
2015-03-20 19:32:16 +00:00
Sunny Goyal 71c3baf5eb Merge "Removing unnecessary intent-filter construction" into ub-launcher3-burnaby 2015-03-20 19:29:12 +00:00
Adam Cohen ff344f2421 am 091440a9: Reducing method count by eliminating synthetic accessors
* commit '091440a9cb9d4f42406631004aa484cbb79214ca':
  Reducing method count by eliminating synthetic accessors
2015-03-20 18:20:37 +00:00
Adam Cohen 091440a9cb Reducing method count by eliminating synthetic accessors
Elimates 304 methods based on dex analysis

The java compiler generates sythetic accessor methods for all private
fields, methods and contructors accessed from inner classes. By marking them
package-private and @Thunk instead, sythentic accessor methods are no
longer needeed. These annotated elements should be treated as private.

Change-Id: Id0dc2c92733474250d8ff12fa793d3a8adeb1f26
2015-03-20 11:15:54 -07:00
Sunny Goyal 574fd78e36 am f846b905: Merge "Removing unused logging" into ub-launcher3-burnaby
* commit 'f846b9054c90e73cb824310e75ea904b5a459c01':
  Removing unused logging
2015-03-20 01:40:48 +00:00
Sunny Goyal f846b9054c Merge "Removing unused logging" into ub-launcher3-burnaby 2015-03-20 01:36:07 +00:00
Robin Lee 85dc67e450 am ec3fe183: (-s ours) am 2dd9f018: (-s ours) Don\'t clobber widgets with the same component - DO NOT MERGE
* commit 'ec3fe183eb432b6541513196e52167ecd7826631':
  Don't clobber widgets with the same component - DO NOT MERGE
2015-03-19 21:37:11 +00:00
Robin Lee ec3fe183eb am 2dd9f018: (-s ours) Don\'t clobber widgets with the same component - DO NOT MERGE
* commit '2dd9f018ff32a1f34023826b64422622f6610daf':
  Don't clobber widgets with the same component - DO NOT MERGE
2015-03-19 21:33:31 +00:00
Robin Lee 8b35317955 am 26ace121: Don\'t clobber widgets with the same component.
* commit '26ace12135a662ad864678c9fede9817e5c02b67':
  Don't clobber widgets with the same component.
2015-03-19 21:33:00 +00:00
Robin Lee 26ace12135 Don't clobber widgets with the same component.
By not storing them in a HashMap keyed against ComponentName (which is
almost guaranteed to conflict with other widgets when managed profiles
are in play).

Bug: 19444068
Change-Id: I6ffce78e8aaf265196239670404cbdaff9fa09be
2015-03-19 21:23:13 +00:00
Robin Lee 2dd9f018ff Don't clobber widgets with the same component - DO NOT MERGE
By not storing them in a HashMap keyed against ComponentName (which is
almost guaranteed to conflict with other widgets when managed profiles
are in play).

Bug: 19444068
Change-Id: I6ffce78e8aaf265196239670404cbdaff9fa09be
2015-03-19 21:16:34 +00:00
Sunny Goyal 449d5c9175 am 0f93d5e7: Merge "Cleaning up widget preview loader" into ub-launcher3-burnaby
* commit '0f93d5e718444fd636c84c239fcff4119e064864':
  Cleaning up widget preview loader
2015-03-19 21:09:43 +00:00
Sunny Goyal 0f93d5e718 Merge "Cleaning up widget preview loader" into ub-launcher3-burnaby 2015-03-19 21:05:17 +00:00
Sunny Goyal 27595796b3 Removing unnecessary intent-filter construction
Change-Id: I1f831ef48ed69381ad260f7d541f39a049c498a5
2015-03-19 13:19:21 -07:00
Sunny Goyal 15b480f234 Removing unused logging
> We store some local logs which are never propagated to the
server and cause unnecessary file-io during app launch

Change-Id: I2b41c3af182de2a87f38ad88f3bae9d250574c26
2015-03-19 10:21:53 -07:00
Adam Cohen 7fed5a38c4 am 57dadda8: Merge "Make sure we set the QSB bar on the SearchDropTargetBar" into ub-launcher3-burnaby
* commit '57dadda8442e3182081e7929bda940c098c147e5':
  Make sure we set the QSB bar on the SearchDropTargetBar
2015-03-19 05:36:44 +00:00
Adam Cohen 57dadda844 Merge "Make sure we set the QSB bar on the SearchDropTargetBar" into ub-launcher3-burnaby 2015-03-19 05:33:16 +00:00
Adam Cohen b0df1b0e1a Make sure we set the QSB bar on the SearchDropTargetBar
Change-Id: If106bae15b3d628d6385711bcb8059acd17d6147
2015-03-18 22:22:03 -07:00
Sunny Goyal 4cad7538c9 Cleaning up widget preview loader
> Removing unnecessary canvas cache
> Removing unnecessary new bitmap creation

Change-Id: Ic9f45c5a204ea4d32dbf93c21a6a7fd6baea4b51
2015-03-18 22:20:20 -07:00
Sunny Goyal 33c3c2fa0e am 6b6ffbe9: Merge "Invalidating sorted list after the item has been added" into ub-launcher3-burnaby
* commit '6b6ffbe9073223324a9abc6f29bdf23892786f1c':
  Invalidating sorted list after the item has been added
2015-03-18 18:17:13 +00:00
Sunny Goyal 6b6ffbe907 Merge "Invalidating sorted list after the item has been added" into ub-launcher3-burnaby 2015-03-18 18:13:11 +00:00
Sunny Goyal cbe620703d am 8758ea05: Using MainThreadExecuter instead of View.post
* commit '8758ea050a9202e9733520898dda5d290644839e':
  Using MainThreadExecuter instead of View.post
2015-03-18 17:30:41 +00:00
Sunny Goyal 2e688a8cc2 Invalidating sorted list after the item has been added
Bug: 19815825
Change-Id: If10d19d41a2400b5a7350e40fa6116494dc9c5a6
2015-03-18 10:23:39 -07:00
Sunny Goyal 8758ea050a Using MainThreadExecuter instead of View.post
Change-Id: Ie7ba88bd3bb412d998ecb51095cbaa74b3b39c10
2015-03-18 10:09:10 -07:00
Geoff Mendal 2b3c300b00 Import translations. DO NOT MERGE
Change-Id: I5c4d7d424f6e2fe5d15875be8685a4e2f20cce0b
Auto-generated-cl: translation import
2015-03-18 06:38:32 -07:00
Sunny Goyal b02eeb725c am 34b6527c: Lazy loading high res icons
* commit '34b6527cefd36fbd5da78464ce9771e379158552':
  Lazy loading high res icons
2015-03-18 01:22:03 +00:00
Sunny Goyal 34b6527cef Lazy loading high res icons
> Loading low-res icons for icons which are not visible on
the homescreen.

Change-Id: I8ac7bf09f6030ed554cb60a4cd402f3f36ffe12b
2015-03-17 15:05:23 -07:00
Sunny Goyal db9a6ce1b8 am 5d85c44f: Adding sort switch in FolderPagedView
* commit '5d85c44fd873c740dc191b28424c2ee367d730a2':
  Adding sort switch in FolderPagedView
2015-03-17 22:05:00 +00:00
Sunny Goyal 5d85c44fd8 Adding sort switch in FolderPagedView
> Adding options column in DB to store generation purpose flags
> Storing isSorted flag in FolderInfo
> Adding a switch for A-Z sorting (only visible if pageCount > 1)
> When in sorted mode, spring-load snaps to the target location for 1.5 seconds

Change-Id: I8c7c778d2cc3ccbd35a2890a1a705e1c1a7e9a66
2015-03-17 14:49:38 -07:00
Hyunyoung Song a335f3b514 am ce53e6dd: Merge "key event focus logic should support large tablets" into ub-launcher3-burnaby
* commit 'ce53e6dd12f5fa9e16ea77fbdafed3f8c2f448ac':
  key event focus logic should support large tablets
2015-03-17 18:41:39 +00:00
Hyunyoung Song ce53e6dd12 Merge "key event focus logic should support large tablets" into ub-launcher3-burnaby 2015-03-17 18:36:06 +00:00
Hyunyoung Song 18bfaafd3d key event focus logic should support large tablets
TL;DR;; On smaller tablets, landscape = vertical hotseat bar, and
portrait = horizontal hotseat bar. However, in larger tablets, hotseat bar is
always horizontal. This is now correctly handled using DeviceProfile.isVerticalBar
method.

b/19732584

Change-Id: I1035c89b4685be12dbc863f8a1465047a5fec6a6
2015-03-17 11:32:21 -07:00
Hyunyoung Song 367710c0f8 am 40bff39b: Merge "Add dummy string to Launcher3Tests resources to fix build error." into ub-launcher3-burnaby
* commit '40bff39b47c6989c795915cf5f47bc5be5682907':
  Add dummy string to Launcher3Tests resources to fix build error.
2015-03-17 14:28:51 +00:00
Hyunyoung Song 40bff39b47 Merge "Add dummy string to Launcher3Tests resources to fix build error." into ub-launcher3-burnaby 2015-03-17 00:35:26 +00:00
Sunny Goyal 7c60468333 am 27959c30: (-s ours) am ef30a2a8: (-s ours) [DO NOT MERGE] Fixing build error in launcher_protoutil_lib
* commit '27959c30394f629e0c551e1c8dacaad8b42817a5':
  [DO NOT MERGE] Fixing build error in launcher_protoutil_lib
2015-03-17 00:24:34 +00:00
Hyunyoung Song 61e3a972e7 Add dummy string to Launcher3Tests resources to fix build error.
TL;DR;; since ag/656186 which moved the all-makefiles-under call to the bottom
of the launcher's Android.mk file, resources for test package
will not build without a dummy file. This change is necessary for the
test team to continuously run the android tests.

b/19566571

Change-Id: I4ff422ac019df4447348d953c5dd606d2a0dcc58
2015-03-16 17:23:58 -07:00
Sunny Goyal 27959c3039 am ef30a2a8: (-s ours) [DO NOT MERGE] Fixing build error in launcher_protoutil_lib
* commit 'ef30a2a8312b83985a8ad3eb8feebbb944cbae01':
  [DO NOT MERGE] Fixing build error in launcher_protoutil_lib
2015-03-17 00:20:10 +00:00
Winson Chung fce429d4f0 am 97985394: Merge "Tweaking the apps list fast scroller." into ub-launcher3-burnaby
* commit '979853943c7d10b85daf9effa453c5bd54635904':
  Tweaking the apps list fast scroller.
2015-03-16 23:56:15 +00:00
Winson Chung 979853943c Merge "Tweaking the apps list fast scroller." into ub-launcher3-burnaby 2015-03-16 23:48:34 +00:00
Adam Cohen 8db24a0149 am 2bbbd746: Don\'t translate these strings until they\'re final
* commit '2bbbd746d22388b994079361c77ff5cdeedd5f3a':
  Don't translate these strings until they're final
2015-03-16 23:23:55 +00:00
Adam Cohen 2bbbd746d2 Don't translate these strings until they're final
Change-Id: I145aecfb83380101404494b72e68962b1ebfbd53
2015-03-16 16:10:23 -07:00