History log of /packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6cbd22279e5e033c67863a3db851e0f43be9ddff 10-Nov-2015 Tony Wickham <twickham@google.com> Add special column for All Apps button in FocusLogic's sparse matrix.

The All Apps button creates a number of edge cases, mainly because it
causes the hotseat to sometimes have an extra column than the workspace.
Previously, we sort of swept these problems under the rug by simply
ignoring the All Apps button if other icons were present in the hotseat,
with the assumption that those other icons should get focus instead of
the All Apps button. (If possible, we want to stay in the same column
when moving from the workspace to the hotseat.) But this doesn't always
work, as in the attached bug where the hotseat doesn't get focus at all
when the All Apps button is an obvious candidate for it.

By adding a specialized column in the focus matrix for the All Apps
button, we ensure that moving down to the hotseat stays within the
original column when possible, while also allowing the focus to switch
to the All Apps button if appropriate. Furthermore, we take care to skip
over the All Apps column when necessary in order to maintain all
previous functionality.

Bug: 25590522
Change-Id: I5d6a8ee69de8834314c4689246fe7d54329b2eef
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
a49b1f75cdf8efe88408173737a7b3c8f4b58a4c 16-Oct-2015 Winson <winsonc@google.com> Fix issue with source params not reporting predicted apps.

Bug: 25020080
Change-Id: Iaa67ccbb3e3a6c264aaa4fa3c915faad8a69bbbc
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
d6b4037b093445fefa7d036da339dd549fae7a9b 24-Sep-2015 Tony Wickham <twickham@google.com> Grid adjustments, specifically for Ryu.

> Less than 14% of the screen is used for left/right workspace padding.
(To be clear, this means 7% for the left and 7% for the right.)
> Hotseat icons are the same size as workspace icons.
> Far left and right hotseat edges line up with workspace edges.
> All Apps button is scaled down 8dp.

Bug: 24003478

Change-Id: Idb057ab0f6ba29e7fd93feac7573ca2e07c7e839
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
76648c58d5fe8e5c0695f865243d3f421c53a84d 10-Jul-2015 Winson Chung <winsonc@google.com> Making long-press of AllApps to jump directly to search.

Bug: 22210146
Change-Id: Iacf28416d6e31233a68e3b41576a8860b4b72b88
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
4f3e9383eb422c87e2689548653b89f34f5516a5 05-Jun-2015 Sunny Goyal <sunnygoyal@google.com> Code cleanup

> Removing obsolete logging
> Removing unused methods
> Removing resource leak warning due to non-static handler class in launcher

Change-Id: Ic38cc8aea82899b0b5ee3235f04e5964e49245fb
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
53d7ee4285842732517edcccbdcaa92dccb1e107 22-May-2015 Sunny Goyal <sunnygoyal@google.com> Fixing different bitmap sizes in different orientations

> Using a single bitmap icon size
> Picking up appropriate density for satisfy the required icon size
> Fixing some icon size assumptions during icon animations

Bug: 19514688
Change-Id: Ia7a1d0d2c03a9d39ccc241fa4ae3eb8a0f374585
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
8f1eff7b6cc8621888ee46605c32e601f80a890b 29-May-2015 Winson Chung <winsonc@google.com> Adding context for app launches.

Bug: 21492784
Change-Id: I1b28ac8f44498e1d9770e770b074f19c721c3f10
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
c6205603efe1f2987caf96504c87d720a25b5a94 22-May-2015 Sunny Goyal <sunnygoyal@google.com> Creating landscape and portrait device profiles at app initialization

Change-Id: Ide9d007adc36b348e19b05cdf49e87f8b02db60e
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
2e6da1539bc7286336b3c24d96ab76434939ce4d 06-May-2015 Adam Cohen <adamcohen@google.com> Refactoring DeviceProfile

-> Pulling out the parts of device profile which can (and need to be)
initialized and accessed without access to an Activity context,
ie. the invariant bits.
-> The invariant bits are stored in InvariantDeviceProfile which is
initialized statically from LauncherAppState.
-> The DeviceProfile contains the Activity context-dependent bits,
and we will create one of these for each Activity instance, and
this instance is accessed through the Launcher activity.
-> It's possible that we can continue to refactor this such that
all appropriate dimensions can be computed without an Activity
context (by only specifying orientation). This would be an
extension of this CL and allow us to know exactly how launcher
will look in both orientations from any context.

Sets the stage for some improvements around b/19514688

Change-Id: Ia7daccf14d8ca2b9cb340b8780b684769e9f1892
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
c393b0765df8d2d34b3b996b71700a705b7d0106 21-May-2015 Winson Chung <winsonc@google.com> Fixing issue where the prediction bar apps are not focused.

- Also fixes issue where all apps is not accessible by keyboard
when there are no other apps in the hotseat.

Bug: 21334471
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
c9acdd51c40c1b397adae6ba62c4acd01914b473 26-Feb-2015 Sunny Goyal <sunnygoyal@google.com> Removed disableAllApps flag

Change-Id: I50ba511b8493bca2506ab6010f141c093bfa7499
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
31178b8237ccb6af666df60ef60c116c8afdf316 24-Feb-2015 Hyunyoung Song <hyunyoungs@google.com> [key event focus handling] (1)hotseat <-> icon now symmetric, (2)support DEL keycode

TL;DR; (1) Key event navigation from and to the hotseat and icons in the workspace
is now symmetric. Since there is one more icon in the hotseat, only left
N-1 icon navigation was symmetric.

(2) KeyEvent.KEYCODE_DEL and KeyEvent.KEYCODE_FORWARD_DEL can now delete icons
from the workspace. The focus move to the previous icon where the focus
traveled from.

Also contains minor styling and indexing issues.

Bug: 15408321
Bug: 19381790

Change-Id: I16cbcb2693e92eebb830997d01c0bf674073dd51
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
66cfdc2549b973496f2d5555defc22b7a15b5620 02-Feb-2015 Sunny Goyal <sunnygoyal@google.com> Removing code for the unused 'upgrade path'

Change-Id: Ib9eca92284b0eabbe36ffaaf26c62a6ce3cfd3e9
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
b3726d90a567e992e4d0f43e7c7acdd8739ae805 21-Aug-2014 Sunny Goyal <sunnygoyal@google.com> Changing hotseat keyboard controls

> Left and right keys don not navigate to next/prev page
> Down arrow on apps apps last row, do not take the focus to the end
> Nagivation sounds when focus changes

issue: 16352221

Change-Id: I5982f22dc80c408673092f8fa8ca1b2fc6381635
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
dcbcc86353e9ed52daac87f292aece667cd0ac71 13-Aug-2014 Sunny Goyal <sunnygoyal@google.com> Updating the UI for focused state of an icon/folder.

issue: 16352129

Change-Id: If2e154dba06a0648f933f9aea38898642db9fd85
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
871f3f8bbe66f681cf9cedffa8c9366e2d8d2d82 21-Jul-2014 Sunny Goyal <sunnygoyal@google.com> Merge "Mergin motorola patch to avoind 0 id for all apps button" into ub-now-master
6c5891a9fce95eee3d87823d11d21889743e9c68 10-Jul-2014 Adam Cohen <adamcohen@google.com> Preliminary work on Material Transitions

-> Early exploration of AllApps Hero transition with
circular reveal
-> Stripping a bunch of dead code from AppsCustomizeTabHost
-> Moved background scrim to DragLayer
-> Removed "SMALL" state from workspace: replaced with
NORMAL_HIDDEN and OVERVIEW_HIDDEN. This is mainly to
reduce the overall usage of the z-space model between
allapps/widgets and workspace. There are vestigial
remains of this model, mainly due to the overview
mode, and a bit for spring-loaded.

Change-Id: If2302a24394f0ec66621f01ffa2fc4934aa10c3f
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
e7de3b2c2c2f6447c11d90846f491a4396d6c42d 18-Jul-2014 Sunny Goyal <sunnygoyal@google.com> Mergin motorola patch to avoind 0 id for all apps button

issue: 15518514
Change-Id: I74a16600658f9299131cfbef7ad7a49ac25b12e7
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
96bb79819ef9ddf2d1c0cb0b72c2c9f6db26b4fd 07-Jul-2014 Adam Cohen <adamcohen@google.com> Enabling quantum look and feel everywhere

-> _l assets become default, new folder icon look is default
-> Starting to unify folder look / feel with all apps
-> New page indicators

Change-Id: I50b2c647fbcbe6ed27705527d8e16bd89e123d0b
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
71b0473f24a7d77263aae88139f13298a1d64b27 11-Jun-2014 Adam Cohen <adamcohen@google.com> Add new assets for LMP preview

issue 15544569 c), d), e)

Change-Id: Ib352ef1fa7c19c3695c82f3ea31936a4b41da5aa
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
5ad4484df3e477f9d8819605629b6e75a42e31ed 11-Mar-2014 Anjali Koppal <akoppal@google.com> Add a setter/getter for Launcher.mAllAppsButton.

Also, handle clicks on the all apps button by using onClick() method in
Launcher instead of directly calling onClickAllAppsButton in Hotseat.java

Bug 12553852
Change-Id: I261c27d3e964bbb1f52c2ab610997defd99a59bd
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
16f3ea870aac47292cd6cbe1a4b4343173097aa9 10-Jan-2014 Nilesh Agrawal <nileshagrawal@google.com> Allow DISABLE_ALL_APPS to be set using a system property.

- Moving the property to LauncherAppState
- The property is only read on dogfood builds.

The property can be set using setprop or /data/local.prop

Change-Id: I14c7354efb12edb93f97e81687a6f920cc634e9a
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
0dbd734384df38960515ce49dfcb5e15a394deca 14-Oct-2013 Winson Chung <winsonc@google.com> Workaround for small icons. Draw icon drawables at the expected icon size. (Bug 11203738)

Change-Id: If976ae8b3603e8bf42e8e857ce0b178d977b0a43
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
a5f4e488dff461fbbc61400a8d284d9886164f76 11-Oct-2013 Adam Cohen <adamcohen@google.com> Guarantee views are invisible after being faded (issue 11112570)

-> Prevent clicking of hotseat items during non-normal state
-> Update folder text edit highlight color (issue 11072862)

Change-Id: I0292b51dc5f7e318dc59e9a26bf1e39f333bc8eb
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
3a6e7f330e680ef718ca7c0921d842efb4d8bbae 10-Oct-2013 Winson Chung <winsonc@google.com> Initial changes for new clings. (Bug 11142616)

Change-Id: Id66ebceb99449941921d9e617dfe0cc05a2e3b65
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
61f560d92ab4b11a61beeb8df97b9952027e08e4 01-Oct-2013 Adam Cohen <adamcohen@google.com> Fixing AllApps pressed state (issue 10845969)

-> Adding haptic feedback to overview mode buttons (issue 10917359)

Change-Id: Iaf7ac31521ae08f4223aa0d0ffc2f6511b85567f
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
11a1a53651924b544513f1f6971a735b18d67539 13-Sep-2013 Winson Chung <winsonc@google.com> Fixing issue with folders not showing up.

- Add long click on empty spaces in hotseat to show overview mode
- Limit the height of all apps to the workspace + hotseat size
- Fixing some comments

Change-Id: Ie5a97a8b04e449385e2b3f6230079aebf8e15d5a
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
c58497ee619416c4949b16eb43486c11618b69e5 04-Sep-2013 Winson Chung <winsonc@google.com> Initial changes to restore AllApps.

- Removes unused all apps code due to dynamic grid/spacing
- Attempts to use CellLayout instead of PagedViewCellLayout

Change-Id: I3c49bca9fc35dfeaf250591fd63bc7f36119968f
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
eadbfc564d84aaf1d800da3d0d6edf6312f89648 04-Sep-2013 Michael Jurka <mikejurka@google.com> Move wallpapers to external activity

Also renaming Launcher's ApplicationInfo to
AppInfo since ApplicationInfo is already a
framework class

Change-Id: Ib3e91d2ba4ace458d790a26c0ce850870fd3f146
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
414300a79d140f8c2c8760d9adab750f69ffeafd 27-Aug-2013 Michael Jurka <mikejurka@google.com> Clean up unused code

Change-Id: Ie1e927aa0b5304f62cfffaab449abb3133870f80
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
5f8afe6280eae34620067696173e71943e1a30a3 13-Aug-2013 Winson Chung <winsonc@google.com> Initial Changes for Dynamic Grid

Change-Id: I9e6f1e5167791cf8dc140778dfa447f86424e9bf
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
dd3204b01f96e3c149894f11ec4a86f0af115a70 16-Aug-2013 Daniel Sandler <dsandler@android.com> Rename All Apps to More Apps.

Because they aren't all there anymore.

Change-Id: I4acee9abaefd089d903068ea519371549588c4e2
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
156ab5b22e45b36a1c5edbe5accccf6aefcb4907 12-Jul-2013 Winson Chung <winsonc@google.com> Fixing issue where migration all apps folder couldn't be picked up.

- Ensuring that we add items to the non-primary home page
- Fixing issue with drop-target touch handling on tablets

Change-Id: Iea5a383dc735a8f6044a00982f05789f8328ab63
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
64359a53dc827797917a8d9a0697a91996789801 09-Jul-2013 Winson Chung <winsonc@google.com> Ensuring that the db reflects all package added/removed/updated broadcasts.

- Also ensuring that newly added pages are added before the empty page

Change-Id: I97a01f791c438aa5c5b1fd770d3536b449a871bc
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
dcd297f05a866e07090d6e2af8fb4b15f28cb555 18-Jun-2013 Adam Cohen <adamcohen@google.com> Initial implementation of Shrink-wrap

Change-Id: If73c7f7ca19ca62ff43134f515584354afef8507
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
e25af795647a19f1a0d60bc4baea5a996d215fdf 07-Jun-2013 Adam Cohen <adamcohen@google.com> HACK: temporary upgrade path from com.android.launcher2

-> load old provider
-> permute pages
-> strip all duplicates from workspace
-> add [allapps minus workspaceapps] to apps folder

Change-Id: Id319d532c6bf1d78370ecc736e95a9475d831de8
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
947dc5431981e40ffc8d687604f7777d35915034 07-Jun-2013 Adam Cohen <adamcohen@google.com> HACK: Getting rid of all apps button / all apps from AppsCustomizePagedView

Change-Id: I74e4a53e9486237ad246ebdfa9e97c6ed9475b58
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java
325dc23624160689e59fbac708cf6f222b20d025 06-Jun-2013 Daniel Sandler <dsandler@android.com> Launcher2 is now Launcher3.

Changes include
- moving from com.android.launcher{,2} to
com.android.launcher3
- removing wallpapers
- new temporary icon

Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b
/packages/apps/Launcher3/src/com/android/launcher3/Hotseat.java