Commit Graph

9388 Commits

Author SHA1 Message Date
Neil Fuller deb3dd3ef8 am ba41458f: Remove usage of FloatMath
* commit 'ba41458f5c696194d547ac8f24e9f8e58cfa64fc':
  Remove usage of FloatMath
2015-04-15 09:27:46 +00:00
Neil Fuller ba41458f5c Remove usage of FloatMath
Bug: https://code.google.com/p/android/issues/detail?id=36199
Change-Id: I2effc3f498fb13e66de9a905b9a40ac5688a5850
2015-04-15 09:10:18 +01:00
Hyunyoung Song 4a9c2e78a5 am 6da9c322: Fix null pointer exception in WidgetsModel
* commit '6da9c32204347d0980d3e76a5ff03bc3431b49a7':
  Fix null pointer exception in WidgetsModel
2015-04-14 19:37:18 +00:00
Hyunyoung Song 6da9c32204 Fix null pointer exception in WidgetsModel
Due to not clearing the PackageItemInfos list when uninstall happened,
uninstalled PackageItemInfo lingered around when there wasn't associated
Widgets to it. Hence causing null pointer exception.

b/20216900

Change-Id: I5601cf618079044d24ffc3ee835c1468fa2e9371
2015-04-14 11:50:44 -07:00
Hyunyoung Song 38b86ac3f8 am 9d07e3d5: Merge "Focus handling - RTL support" into ub-launcher3-burnaby
* commit '9d07e3d561b4b9819e7bc8778dd3e2b45b0344d9':
  Focus handling - RTL support
2015-04-14 00:55:30 +00:00
Hyunyoung Song 9d07e3d561 Merge "Focus handling - RTL support" into ub-launcher3-burnaby 2015-04-14 00:49:16 +00:00
Hyunyoung Song ada50984dc Focus handling - RTL support
- Support LEFT and RIGHT keys to work across workspaces when in RTL mode.
- Folder icons navigate correctly on DPAD_LEFT/RIGHT events
- Folder navigation across pages also works correctly
- Deleted dead code inside FocusHelper

b/20120358

Change-Id: I7f851cb7ed31f666a91b2f856458d7966ea5f712
2015-04-13 17:44:31 -07:00
Hyunyoung Song a57a86f312 am be5c4ae5: Merge "WidgetTray improvement" into ub-launcher3-burnaby
* commit 'be5c4ae5a4ddedf78c50317338e323e3bf1a5aec':
  WidgetTray improvement
2015-04-13 23:10:23 +00:00
Hyunyoung Song be5c4ae5a4 Merge "WidgetTray improvement" into ub-launcher3-burnaby 2015-04-13 22:59:50 +00:00
Hyunyoung Song 4e8fb91cf1 WidgetTray improvement
UI
- Fixing the issue of widget row not rendering
- Moved the resetting of previous bitmap to the start of onBind
instead of the onDetachedWindow.

Performance
- WidgetModel do not have to keep packageName list around.

Will com in immediate follow up CLs
- use lowRes widgets bitmap before fully loading the fullRes one.
- application icons are fully loaded in background thread.

b/19897708

Change-Id: I5b3b43a5c543a5135c395f90df32e66d57dc86e0
2015-04-13 15:58:30 -07:00
Sunny Goyal 195e939a93 am ece6c8b2: Wrong icon getting set for an app on secondary user during updates
* commit 'ece6c8b20b7bcfa0734c2fd4cd3fc93bc227699f':
  Wrong icon getting set for an app on secondary user during updates
2015-04-13 20:29:03 +00:00
Sunny Goyal ece6c8b20b Wrong icon getting set for an app on secondary user during updates
Bug: 20163841
Change-Id: Ief91db56f7831f89e34c4540981a9d2db96b8bed
2015-04-13 11:48:46 -07:00
Sunny Goyal 084212c285 am 18bf8e2f: Automatically adding managed profile shortcuts to homescreen.
* commit '18bf8e2ffde3444d53aaa9654da02cdedd0b7cd1':
  Automatically adding managed profile shortcuts to homescreen.
2015-04-13 18:42:00 +00:00
Geoff Mendal 63920428f0 Import translations. DO NOT MERGE
Change-Id: I3db51d488020653f0aa3449d11d6ac4b92c93155
Auto-generated-cl: translation import
2015-04-10 22:56:52 -07:00
Sunny Goyal 18bf8e2ffd Automatically adding managed profile shortcuts to homescreen.
When the managed profile is created, a "Work" folder is created
and added to the homescreen. All work profile apps are added to this
folder and icons for subsequent installs (withing a fixed time frame)
are automatically added to this folder.
If this folder get deleted or the time-frame expires, icon for any new
install is placed on the homescreen.

Bug: 17410319
Change-Id: I49f4e437707d5eabe4eec85320765bf6ba7fde97
2015-04-10 19:37:13 -07:00
Sunny Goyal 40f4a4d9e7 am d9760ee2: Merge "Deduping shortcuts to app-shortcuts if they have a valid intent" into ub-launcher3-burnaby
* commit 'd9760ee2de0a245fe0a0c11891723ef3f1513de9':
  Deduping shortcuts to app-shortcuts if they have a valid intent
2015-04-11 02:31:23 +00:00
Sunny Goyal d9760ee2de Merge "Deduping shortcuts to app-shortcuts if they have a valid intent" into ub-launcher3-burnaby 2015-04-11 02:24:46 +00:00
Sunny Goyal 0b03778966 Deduping shortcuts to app-shortcuts if they have a valid intent
> Only deduping shortcuts for the primary user as custom shortcuts
for secondary users is not supported.

Change-Id: If129dee64a395602006ebb996d4b09b93b89084f
2015-04-10 19:01:32 -07:00
Sunny Goyal 385d62e644 am 84206dab: Merge "Build fix" into ub-launcher3-burnaby
* commit '84206dab52b1244c8e1aac6905b0b5b33e89b5e0':
  Build fix
2015-04-10 01:43:47 +00:00
Sunny Goyal 84206dab52 Merge "Build fix" into ub-launcher3-burnaby 2015-04-10 01:33:33 +00:00
Sunny Goyal ff312e53ab Build fix
Change-Id: I2cbf90dada48ccff17235fb63d66684d2c4eb791
2015-04-09 18:32:21 -07:00
Winson Chung 14f66e4501 am 4a1a38c8: Merge "Removing unused View ctor introduced in L." into ub-launcher3-burnaby
* commit '4a1a38c83e415b6a59638a9383083eda78cc2ac3':
  Removing unused View ctor introduced in L.
2015-04-10 01:12:45 +00:00
Winson Chung 4a1a38c83e Merge "Removing unused View ctor introduced in L." into ub-launcher3-burnaby 2015-04-10 01:06:48 +00:00
Winson Chung 211290119a Removing unused View ctor introduced in L.
- This prevents us from running on K/pre-K
2015-04-09 17:58:14 -07:00
Hyunyoung Song 7c921287cc am 9884fd26: Merge "WidgetTray UI improvement" into ub-launcher3-burnaby
* commit '9884fd26d5f0a316117f1cebf0c635bcc8a6de4d':
  WidgetTray UI improvement
2015-04-10 00:30:45 +00:00
Hyunyoung Song 9884fd26d5 Merge "WidgetTray UI improvement" into ub-launcher3-burnaby 2015-04-10 00:23:50 +00:00
Winson Chung e26c73f935 am 90edbf84: Merge "Initial changes to support a fixed all-apps layout." into ub-launcher3-burnaby
* commit '90edbf8409689229b0d88472ef972c899a0f0c60':
  Initial changes to support a fixed all-apps layout.
2015-04-10 00:05:18 +00:00
Winson Chung 90edbf8409 Merge "Initial changes to support a fixed all-apps layout." into ub-launcher3-burnaby 2015-04-09 23:55:58 +00:00
Hyunyoung Song a23dab9c64 WidgetTray UI improvement
- Long application title should be ellipsized
- Disable the drawable when the view is no longer attached to the window
- Save the PackageItemInfo to the WidgetModel once full res icon bitmap is loaded

b/19897708

Change-Id: I96f260f9d165b206905a127fcee9879556c3d0c4
2015-04-09 16:54:31 -07:00
Sunny Goyal 172fee6354 am 557280c1: Merge "Updating folder UI" into ub-launcher3-burnaby
* commit '557280c116db54ed2100eb0815e6d539d2b58252':
  Updating folder UI
2015-04-09 23:40:00 +00:00
Sunny Goyal 557280c116 Merge "Updating folder UI" into ub-launcher3-burnaby 2015-04-09 23:35:02 +00:00
Sunny Goyal b863415c17 Updating folder UI
> Removing 2 folder content implementations and merging unscrollable
content into FolderPagedView
> Disaling folder sorting
> Fixing pageIndicator height

Change-Id: I36e35e311eaf99b6c69d450c0765bd41b2d68738
2015-04-09 14:19:33 -07:00
Sunny Goyal 025acebee9 am 32619215: Merge "Removing UserInitializeReceiver from manifest as it does not exist" into ub-launcher3-burnaby
* commit '326192156687e0f42d4e37a41232b04a32b41e95':
  Removing UserInitializeReceiver from manifest as it does not exist
2015-04-09 20:39:35 +00:00
Sunny Goyal 3261921566 Merge "Removing UserInitializeReceiver from manifest as it does not exist" into ub-launcher3-burnaby 2015-04-09 20:31:15 +00:00
Winson Chung 0f78572066 Initial changes to support a fixed all-apps layout.
- Dynamically update padding and background depending on fixed bounds and searchbar
- Fixes issue with drag layer bg getting clobbered when rotating launcher
- Tapping outside the bounds of all apps should close all apps
- Fixing typo causing widgets to not show in sw720dp devices

Bug: 20127840

Change-Id: I29c3f905bdee940f938ffe054f58434887073092
2015-04-09 13:18:31 -07:00
Sunny Goyal 1bf0388602 Removing UserInitializeReceiver from manifest as it does not exist
Change-Id: I5f14d93abadfab0bc2822bc0c68648c72b5a082c
2015-04-09 11:18:28 -07:00
Hyunyoung Song 01560ada10 am 3f471440: WidgetTray revamp work - RecyclerView is rendering - Animation is connected - Drag and drop is now handled - UI tweaking: background, margins, more to come. - Flicker and preview not loading issue: fixed height for the horizontal scroll view. - Shortcut
* commit '3f471440a8b6b71d4c15501a96befd3b715c9e8f':
  WidgetTray revamp work - RecyclerView is rendering - Animation is connected - Drag and drop is now handled - UI tweaking: background, margins, more to come. - Flicker and preview not loading issue:   fixed height for the horizontal scroll view. - Shortcuts are added - Widget Preview loading should support shortPress for drop - UI tweaks left: overlay of arrow when there are more items to scroll - icons are added in the section header - Sorting of widget sections and widget horizontal list - Adding all the padding constants to dimen.xml file - RecyclerView should only support one view type
2015-04-09 02:16:50 +00:00
Hyunyoung Song 3f471440a8 WidgetTray revamp work
- RecyclerView is rendering
- Animation is connected
- Drag and drop is now handled
- UI tweaking: background, margins, more to come.
- Flicker and preview not loading issue:
  fixed height for the horizontal scroll view.
- Shortcuts are added
- Widget Preview loading should support shortPress for drop
- UI tweaks left: overlay of arrow when there are more items to scroll
- icons are added in the section header
- Sorting of widget sections and widget horizontal list
- Adding all the padding constants to dimen.xml file
- RecyclerView should only support one view type

For items to be addressed in follow up patches OR CLs,
TODO is added to the comment.

b/19897708

Change-Id: Ibfc4da1696a23d20bada93db46e126706eb13cdc
2015-04-08 19:01:34 -07:00
Sunny Goyal 36b5377a9b am 85e3d4cc: Merge "Fixing some RTL issues with scrollable folder" into ub-launcher3-burnaby
* commit '85e3d4cc5ea4e554639868069f4fd409731f7bbb':
  Fixing some RTL issues with scrollable folder
2015-04-08 21:58:37 +00:00
Hyunyoung Song e1f0839c09 am c14e0a4b: Merge "update .gitignore config file so that we do not have to scroll through the unstaged items to pick which one to stage." into ub-launcher3-burnaby
* commit 'c14e0a4ba827b52ec5c7460f8128b8ea0a10cce4':
  update .gitignore config file so that we do not have to scroll through the unstaged items to pick which one to stage.
2015-04-08 21:58:36 +00:00
Sunny Goyal 85e3d4cc5e Merge "Fixing some RTL issues with scrollable folder" into ub-launcher3-burnaby 2015-04-08 21:02:25 +00:00
Hyunyoung Song c14e0a4ba8 Merge "update .gitignore config file so that we do not have to scroll through the unstaged items to pick which one to stage." into ub-launcher3-burnaby 2015-04-08 20:51:19 +00:00
Hyunyoung Song 47a4f5882d update .gitignore config file so that we do not have to scroll through
the unstaged items to pick which one to stage.

Change-Id: I317e95fd74455999c957bf5434a8c7cb78afc3b2
2015-04-08 13:20:51 -07:00
Winson Chung 5e7978f35f am b471b086: Merge "Temporarily tweaking the all apps layout to fit the screen on tablets." into ub-launcher3-burnaby
* commit 'b471b0869bc4b0bbcc0dc3a15d3b12ab1b1c0a73':
  Temporarily tweaking the all apps layout to fit the screen on tablets.
2015-04-08 18:43:11 +00:00
Winson Chung b471b0869b Merge "Temporarily tweaking the all apps layout to fit the screen on tablets." into ub-launcher3-burnaby 2015-04-08 18:37:21 +00:00
Sunny Goyal b67f7e6ca7 am 73621503: Merge "Removing Pools.java as it is present in support lib" into ub-launcher3-burnaby
* commit '73621503de4edb5fe4d17f5bf453261e68b88a7f':
  Removing Pools.java as it is present in support lib
2015-04-08 18:21:54 +00:00
Sunny Goyal 73621503de Merge "Removing Pools.java as it is present in support lib" into ub-launcher3-burnaby 2015-04-08 18:14:04 +00:00
Winson Chung bd808530db Temporarily tweaking the all apps layout to fit the screen on tablets.
Change-Id: I2f8fe8e39a39cd6a055f22696881c51be7624832
2015-04-08 11:10:12 -07:00
Sunny Goyal 7f06ae5c8b Removing Pools.java as it is present in support lib
Change-Id: I0f1346223aa289889dbefedd47bff093e9c2c05d
2015-04-08 11:08:27 -07:00
Sunny Goyal 33a70ab96b am 724d0e22: Merge "Fixing focus indicator position when the overlay page has different size than the current page." into ub-launcher3-burnaby
* commit '724d0e22ac0811a17a39c682aec2cc6a13bee1bc':
  Fixing focus indicator position when the overlay page has different size than the current page.
2015-04-08 17:51:30 +00:00