Commit Graph

49925 Commits

Author SHA1 Message Date
Sunny Goyal f1468af68c Adding back the style Theme to avoid breaking dependencies
Change-Id: I4844173ce99cdb15242cca5f06e14c6210d9d877
2016-02-17 11:36:26 -08:00
Adam Cohen 73912653d9 Merge "First pass at new FolderIcon visual treatment" into ub-launcher3-calgary
am: 29aac6e272

* commit '29aac6e27202703b721df7ab029ab81202dfd286':
  First pass at new FolderIcon visual treatment
2016-02-17 19:16:18 +00:00
Adam Cohen 29aac6e272 Merge "First pass at new FolderIcon visual treatment" into ub-launcher3-calgary 2016-02-17 19:07:47 +00:00
Adam Cohen 119e8982ab First pass at new FolderIcon visual treatment
-> Modeled as a set of items around a circle
-> Modulate the radius and icon size as number of items grow
-> Clip the icons by a circular clip aligned to the background drawable

Remaining issues
-> Probably want to move to a programmaticly drawn circle + shadow
-> Anti-aliasing of the clipped region will need more attention
-> Need to animate all items in the preview as it changes (this
   wasn't required before)

Change-Id: I678ec605f6c8a34e9d7e4aec4e9583e36a9ef394
2016-02-17 10:41:46 -08:00
Sunny Goyal 3974fafc5a Merge "Setting content bounds in onMeasure as it uses measuredWidth, which might not be available during onCreate" into ub-launcher3-burnaby-polish am: 5df98da8fd
am: 775d4c9ac0

* commit '775d4c9ac0544c8ba95e9a7817bccc0c63508bcd':
  Setting content bounds in onMeasure as it uses measuredWidth, which might not be available during onCreate
2016-02-17 02:06:35 +00:00
Sunny Goyal 775d4c9ac0 Merge "Setting content bounds in onMeasure as it uses measuredWidth, which might not be available during onCreate" into ub-launcher3-burnaby-polish
am: 5df98da8fd

* commit '5df98da8fd2c1997bd6c09a4772f018730345090':
  Setting content bounds in onMeasure as it uses measuredWidth, which might not be available during onCreate
2016-02-17 02:03:05 +00:00
Sunny Goyal 5df98da8fd Merge "Setting content bounds in onMeasure as it uses measuredWidth, which might not be available during onCreate" into ub-launcher3-burnaby-polish 2016-02-17 01:43:08 +00:00
Sunny Goyal 94f46d9e5f Setting content bounds in onMeasure as it uses measuredWidth, which might
not be available during onCreate

Also fixing the calculation of allApps column could, which was counting an
additional icon gap

Bug: 27173894
Change-Id: I8be8cccc76d7e7d945cf9383567a3026228b6c86
2016-02-16 15:24:14 -08:00
Geoff Mendal fb3c19df4e Import translations. DO NOT MERGE am: 5a2d603ac5 -s ours
am: fce9c411ac  -s ours

* commit 'fce9c411ac7fecc5c97fb3e807cf3014bccf7573':
  Import translations. DO NOT MERGE
2016-02-15 14:07:45 +00:00
Geoff Mendal fce9c411ac Import translations. DO NOT MERGE
am: 5a2d603ac5  -s ours

* commit '5a2d603ac5fdb91e8a5fcee8376d626cd66c71d6':
  Import translations. DO NOT MERGE
2016-02-15 14:00:17 +00:00
Geoff Mendal 6f09bf289f Import translations. DO NOT MERGE
am: 35bd24e8b3  -s ours

* commit '35bd24e8b346ffa6a326ad426b4c1c715b27cff7':
  Import translations. DO NOT MERGE
2016-02-15 14:00:17 +00:00
Geoff Mendal a0430e01e6 Import translations. DO NOT MERGE
Change-Id: Id22993261db71609ea1052ae99459709300efb3b
Auto-generated-cl: translation import
2016-02-15 05:47:59 -08:00
Geoff Mendal 35bd24e8b3 Import translations. DO NOT MERGE
Change-Id: Ibc884be444ad3bb28b4b0635ec57bbbfff705855
Auto-generated-cl: translation import
2016-02-15 05:47:04 -08:00
Geoff Mendal 5a2d603ac5 Import translations. DO NOT MERGE
Change-Id: I17aa02de8c4cf240e1220dc891d5fdbb0955aaf7
Auto-generated-cl: translation import
2016-02-15 05:46:10 -08:00
Adam Cohen cc3a37dbb5 Fix build; broken import due to bad merge
Change-Id: I751962d59a75002c2c6b142387d9a69982c8b73b
2016-02-13 12:53:48 -08:00
Adam Cohen f9c184a619 Refactor FolderIcon to separate the preview effect into it's own class
-> Created com.android.launcher3.folder package to house most folder-related files
   (aside from the FolderInfo) which is more related to the model than the UI.

Change-Id: I767063e1e4c775c01a799a3bede30cd94ac48ade
2016-02-12 17:28:31 -08:00
Tony Wickham c338ea74c2 Merge "Clears the widget resize frame when a directional key is pressed." into ub-launcher3-burnaby-polish
am: 187b8f547d

* commit '187b8f547d2112e8d0384cf1c2077beb969dfec6':
  Clears the widget resize frame when a directional key is pressed.
2016-02-12 22:16:32 +00:00
Tony Wickham 187b8f547d Merge "Clears the widget resize frame when a directional key is pressed." into ub-launcher3-burnaby-polish 2016-02-12 22:07:27 +00:00
Tony Wickham 71255bb04f Clears the widget resize frame when a directional key is pressed.
Also gives focus to the corresponding widget host view in this case.

Bug: 27130066
Change-Id: I0a564aa7c509450cd1b9cf259c0a009c68ce3e3b
2016-02-12 14:06:32 -08:00
Sunny Goyal d365ed6952 Removign optimations in onDestroy
> Workspace is still being held at
   Launcher > DragLayer > DragController > DragListeners
> The activity is not GCed immediately whith/without this optimization
> No momory/GPU change with/without this optimization

Change-Id: I9466ed47adbac717954d1998951937b04bc4cfd5
2016-02-12 09:44:03 -08:00
Sunny Goyal cb1edd20e1 Fixing crash during rotation
am: bb702584fa

* commit 'bb702584fa551fab8cffbb0ae5459d9efd16ce2a':
  Fixing crash during rotation
2016-02-11 22:58:20 +00:00
Sunny Goyal 8390eb1197 Build fix
Change-Id: Ic828f62fbd1990d81983cad995b918bba020a3b1
2016-02-11 14:31:52 -08:00
Sunny Goyal 8ddb390914 Merge "Making some view properties exported. These will be visible in hierarchy viewer" into ub-launcher3-calgary 2016-02-11 22:08:45 +00:00
Sunny Goyal e759e4de5f Merge "Separating out Launcher3 resources from Wallpaper resources" into ub-launcher3-calgary 2016-02-11 22:08:05 +00:00
Hyunyoung Song 6d45594971 Merge "Define launcher_log.proto used for user event logging" into ub-launcher3-calgary 2016-02-11 22:04:47 +00:00
Hyunyoung Song ddaeff63ae Define launcher_log.proto used for user event logging
b/26494415

Change-Id: I117f290bec3c2b4cbdb43dae03adafbc9cb35a00
2016-02-11 14:03:48 -08:00
Sunny Goyal bb702584fa Fixing crash during rotation
> Different views with same IDs were saving state
> Fixing scroll getting reset on rotation

Change-Id: Iae42419b83ee5ffa1bb43959f0931c8dfb761f32
2016-02-11 11:06:43 -08:00
Sunny Goyal 954b7d36b9 Temporarily disabling custom search controller
Change-Id: I7920425a63e64cd619349895e8e7e1c8448305f5
2016-02-11 09:28:40 -08:00
Tony Wickham 654f1b315f Merge "Change widget host view background when giving focus to child." into ub-launcher3-burnaby-polish
am: 4df1653331

* commit '4df165333131483e1d6b6c156d345a4aeef9806c':
  Change widget host view background when giving focus to child.
2016-02-10 23:36:42 +00:00
Tony Wickham 4df1653331 Merge "Change widget host view background when giving focus to child." into ub-launcher3-burnaby-polish 2016-02-10 23:35:11 +00:00
Tony Wickham fb78856466 Change widget host view background when giving focus to child.
Before, the FocusIndicatorView stayed on the widget host unless the
widget had its own focus change listener, which caused a couple of
problems, namely  (1) it was hard to know where the focus was from
a user's standpoint, and (2) the focus indicator could get stuck on
the screen if you entered a widget and then long-pressed workspace.
Now, the focus indicator goes away and instead the widget is framed
with a white border to indicate that the focus is inside it. The
frame goes away when pressing ESC or when touching the screen.

Bug: 26744224

Change-Id: I14025576fd7a9f901b4d969b878af0bebad79a70
2016-02-10 15:28:18 -08:00
Sunny Goyal 5abb9f88ef Separating out Launcher3 resources from Wallpaper resources
Change-Id: I7e33c83df8b16e8552fe588cadbcf3bf7881cb95
2016-02-10 15:11:35 -08:00
Sunny Goyal 7c50b31f57 resolve merge conflicts of 3826bab27e to ub-launcher3-calgary.
Change-Id: I14ff2d67de4ba97628bdf651602724f9f4989173
2016-02-10 12:27:51 -08:00
Sunny Goyal 3826bab27e Merge "Merging search bar with all apps" into ub-launcher3-burnaby-polish 2016-02-10 19:18:13 +00:00
Sunny Goyal 4ffec48dec Making some view properties exported.
These will be visible in hierarchy viewer

Change-Id: I940724a7f61d67b8502d77be203a94875bc92668
2016-02-09 11:29:34 -08:00
Hyunyoung Song 323117ca37 WidgetsModel clone method should be called in worker thread
am: f97083245c

* commit 'f97083245c440e0c09e2485094157bb8389cdd95':
  WidgetsModel clone method should be called in worker thread
2016-02-09 02:21:55 +00:00
Hyunyoung Song f97083245c WidgetsModel clone method should be called in worker thread
b/24582368

Change-Id: I7b1d2ccfa7d7ac8235e4aeccc2b6b1a8eeea6461
(cherry picked from commit 747a5bc486)
2016-02-09 02:19:59 +00:00
Hyunyoung Song 39a98ed803 Merge "WidgetsModel clone method should be called in worker thread" into ub-launcher3-calgary 2016-02-09 02:19:43 +00:00
Hyunyoung Song 747a5bc486 WidgetsModel clone method should be called in worker thread
b/24582368

Change-Id: I7b1d2ccfa7d7ac8235e4aeccc2b6b1a8eeea6461
2016-02-08 18:14:17 -08:00
Sunny Goyal 0ac7ede56a Merging search bar with all apps
Change-Id: I78577124cd3c05d52669c3e52b0294d6eb1d194d
2016-02-08 14:55:22 -08:00
Tony Wickham f87b8e3b6b Merge "Tweak spring-loaded workspace." into ub-launcher3-calgary 2016-02-08 19:55:26 +00:00
Tony Wickham e0c3323656 Tweak spring-loaded workspace.
- No page indicators in spring-loaded mode
- Don’t move workspace up as high
- Scale workspace at 90% instead of 80% on phones
- Increase speed of workspace -> spring-loaded -> workspace
- Widgets were being scaled down twice when dragging from widget picker
- Don't scale up icons when dragging (scaling other stuff down is enough)
- Make scrim less dark and panels more transparent
- Thin white border around page instead of highlight when hovering

Change-Id: I963e91c20d4c0340480d165e0f3b8064783c0cb2
2016-02-08 11:37:19 -08:00
Hyunyoung Song 4ed751e52b Add more debugging info when Launcher deletes widget from homescreen. b/26219491
am: a27d7a5a19

* commit 'a27d7a5a194846a3c98fa69495e627db2343f6db':
  Add more debugging info when Launcher deletes widget from homescreen. b/26219491
2016-02-04 01:25:11 +00:00
Hyunyoung Song a27d7a5a19 Add more debugging info when Launcher deletes widget from homescreen.
b/26219491

Change-Id: I5899cafa8d78e5e64a4ec1495ebf62ebc55ea8f5
(cherry picked from commit 70264a9717)
2016-02-04 01:23:25 +00:00
Hyunyoung Song 70264a9717 Add more debugging info when Launcher deletes widget from homescreen.
b/26219491

Change-Id: I5899cafa8d78e5e64a4ec1495ebf62ebc55ea8f5
2016-02-03 15:28:47 -08:00
Sunny Goyal bda3ff8f20 resolve merge conflicts of 0e04980310 to ub-launcher3-calgary.
Change-Id: Ic4526dfc388590aa0288936d827f19060922529f
2016-02-03 11:41:36 -08:00
Sunny Goyal 0e04980310 Merge "Updating folder UI when icons are normalized > Increasing padding > Making the folder label bold and lighter color" into ub-launcher3-burnaby-polish 2016-02-03 19:32:02 +00:00
Sunny Goyal 3c4906949f Merge "Fixing Search drop target bar stays visible, until the first time an item is picked up" into ub-launcher3-burnaby-polish
am: 2113c9d664  -s ours

* commit '2113c9d6643a4934ed22da675cf445e464f898c2':
  Fixing Search drop target bar stays visible, until the first time an item is picked up
2016-02-01 23:25:24 +00:00
Sunny Goyal 2113c9d664 Merge "Fixing Search drop target bar stays visible, until the first time an item is picked up" into ub-launcher3-burnaby-polish 2016-02-01 23:08:25 +00:00
Tony Wickham c32c63c46e resolve merge conflicts of b9759d399b to ub-launcher3-calgary.
Change-Id: I66230c15e5eaeef316d4e2f14b85c6ff1b6e977d
2016-02-01 14:51:35 -08:00