Commit Graph
47938 Commits
Author SHA1 Message Date
Sunny Goyal 810d2eea35 Removing LauncherCallbacks control over app search am: c42ac0a5a6
am: 4759760bc9

* commit '4759760bc997a00166f06b124f8e09181566a834':
  Removing LauncherCallbacks control over app search
2016-02-18 23:57:18 +00: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 bf182a837f resolve merge conflicts of 2953833bcb to ub-launcher3-calgary
am: ecd365293f

* commit 'ecd365293fedf8b78cf1e8df0b9d93968c9910ba':
  Adding a utility method to iterate over folder contents
2016-02-18 18:33:29 +00: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 17f4b8b9f0 Merge "Revert "Temporarily disabling custom search controller"" into ub-launcher3-calgary
am: f63c46bf5e

* commit 'f63c46bf5e304c36fc15fa4f15af9cb98fde762d':
  Revert "Temporarily disabling custom search controller"
2016-02-18 18:17:51 +00: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 33ffa4f467 Reverting refactoring of Folder and FolderIcon to avoid dependencies breakage
am: fc956e5a2a

* commit 'fc956e5a2a818c06ed3424e15b0aa20a3f604658':
  Reverting refactoring of Folder and FolderIcon to avoid dependencies breakage
2016-02-17 21:48:50 +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 c8c54b4b65 Adding back the style Theme to avoid breaking dependencies
am: f1468af68c

* commit 'f1468af68ca8e2a7d0ff1d8a424d5b3b95c7357b':
  Adding back the style Theme to avoid breaking dependencies
2016-02-17 20:02:54 +00: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 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