Commit Graph

11142 Commits

Author SHA1 Message Date
Hyunyoung Song
fbf19cccd2 <UserEventLogging> Log app launches
b/26494415

1) Current Logger can capture taps from
- homescreen
- folder inside homescreen
- apps prediction
- all apps a-z
- tap from hotseat
2) Deprecate LauncherCallback methods that is no longer needed

Future CL.
3) Stats and Logger will be merged. Bundle used for Stats can be
replaced with LauncherLogProto
4) Logging anything else other than app launches

Change-Id: Id52eb615f66142017b5c490a220ce6654d325681
2016-02-19 12:55:53 -08:00
Sunny Goyal
f940684626 resolve merge conflicts of a6194d3d92 to ub-launcher3-calgary
Change-Id: I29b3c3bb2c070e34c78c62b8f9086e6f3c8bd277
2016-02-19 11:12:14 -08:00
Sunny Goyal
b347535cb0 Merge "Deleting the WallpaperPicker code inside launcher. Instead linking it to the packages/apps/WallpaperPicker project" into ub-launcher3-calgary 2016-02-19 18:08:52 +00:00
Sunny Goyal
a6194d3d92 Wrapping thw widgetList inside a layout, so that it has the same view structure as allApps
Change-Id: I28b035beb1c7e13101ec20ff671d3cad5f757c0e
2016-02-19 09:35:43 -08:00
Sunny Goyal
4759760bc9 Removing LauncherCallbacks control over app search
am: c42ac0a5a6

* commit 'c42ac0a5a6f0a4e41a9fc1b694f841204ae1989c':
  Removing LauncherCallbacks control over app search
2016-02-18 23:50:51 +00:00
Sunny Goyal
c42ac0a5a6 Removing LauncherCallbacks control over app search
Change-Id: Icb199607dea3f169055e44946272aa9f1e758d1d
2016-02-18 15:32:27 -08:00
Sunny Goyal
bd822508e5 Deleting the WallpaperPicker code inside launcher.
Instead linking it to the packages/apps/WallpaperPicker project

Change-Id: Ib6830b180a22c22afece01e0a4f6e94e89d6452b
2016-02-18 15:09:21 -08:00
Sunny Goyal
ecd365293f resolve merge conflicts of 2953833bcb to ub-launcher3-calgary
Change-Id: Ia7fc406d1e287974e87979af9a4b1f5f1e4e23d9
2016-02-18 10:23:18 -08:00
Sunny Goyal
2953833bcb Adding a utility method to iterate over folder contents
Change-Id: I9f17ade7dc06819587290387b811d828da57b2fb
2016-02-18 09:10:19 -08:00
Sunny Goyal
f63c46bf5e Merge "Revert "Temporarily disabling custom search controller"" into ub-launcher3-calgary 2016-02-18 16:55:48 +00:00
Sunny Goyal
f51084c296 Revert "Temporarily disabling custom search controller"
This reverts commit 954b7d36b9.

Change-Id: If304fa164e50f68aac168ede0f4bc0ff97659a8a
2016-02-18 00:40:49 +00:00
Sunny Goyal
fc956e5a2a Reverting refactoring of Folder and FolderIcon to avoid dependencies breakage
Change-Id: Ifd0d717d70aff4c83c9eb5cba397d04500b2c869
2016-02-17 13:27:13 -08:00
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
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
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
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
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
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