History log of /packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetHostView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6178f13e2d1f0c1a89cea74538b51993ef3439e3 12-Jul-2016 Sunny Goyal <sunnygoyal@google.com> Moving the QSB out of the cell layout to the Drag layer

This allows better edge matching for the QSB. The QSB position
is kept synchronized with the page scroll and all-apps transition.
But its not visible in spring loaded and overview mode

Change-Id: I4e6723607ea966ee672273a9ca67c792fd6b5661
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetHostView.java
a5c8a9eb666da16bc4c9ea4412868e22ace8d1f0 08-Jul-2016 Sunny Goyal <sunnygoyal@google.com> Adding logic to pull in workspace data from another Launcher3 based
provider. This allows OEMs to keep the user's homescreen intact while
changing the default home app package.

Bug: 28536314
Change-Id: Ibebfd7dd33aa2cbd9ca28d2d611dd0a4a5971444
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetHostView.java
ae50284e0a838139c67caf0064a0977c871497fa 17-Jun-2016 Sunny Goyal <sunnygoyal@google.com> Moving LauncherAccessibilityDelegate to Launcher to associate it with
activity lifecycle.

Change-Id: Ib815505677fa7ed74bdcfe7141b1d9bea5d7143a
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetHostView.java
da4fe1a6244457f144e0a331cada3ada17157809 27-May-2016 Sunny Goyal <sunnygoyal@google.com> Moving the QSB to the workspace grid.

The QSB will only be resent on the first screen of the workspace
covering the full width of the first row. If will not be movable.
The first screen of the workspace will not be movable.
The searchDropTargetBar no longer contains the QSB (it can be
renamed in aseparate cl).

Refactoring all QSB related logic by moving it to a custom view
inflated only using xml.
Change-Id: Icb4fd6eb855df1af15f685961c38351bf4fd4f4a
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetHostView.java
ea98f5288bc8919a7238b6cf4ff50e9d5b6e1a29 04-May-2016 Sunny Goyal <sunnygoyal@google.com> Fixing bug where the widget background enters into a focused state
if a child calls requestFocus in xml

Bug: 28562293
Change-Id: I005e23550184de29fa15eb70ab322615920b8947
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetHostView.java
16466f1bbb935d56c01b10551ead416feb7fc943 10-Mar-2016 Sunny Goyal <sunnygoyal@google.com> Adding UI tests for various bind widget flows

Change-Id: I634302051886baee6b6424f69bc95db860b4823e
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetHostView.java
8ddb3909142b3f215573a891f159005acd85cfb8 11-Feb-2016 Sunny Goyal <sunnygoyal@google.com> Merge "Making some view properties exported. These will be visible in hierarchy viewer" into ub-launcher3-calgary
654f1b315f291d745e2fc8e39ef410c88331b771 11-Feb-2016 Tony Wickham <twickham@google.com> 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.
fb78856466f425af729a5a3d52b1b05a87be33d7 10-Feb-2016 Tony Wickham <twickham@google.com> 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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetHostView.java
4ffec48dec5da7bcf719ac0c37ee5e58f9ea2c1a 09-Feb-2016 Sunny Goyal <sunnygoyal@google.com> Making some view properties exported.
These will be visible in hierarchy viewer

Change-Id: I940724a7f61d67b8502d77be203a94875bc92668
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetHostView.java
ccf3a9ed56a46b665a5aba6a5e0396ac07f79e68 26-Jan-2016 Sunny Goyal <sunnygoyal@google.com> Preventing a Runtime widget crash from crashing the Launcher
am: 3fc648d3b7

* commit '3fc648d3b792f63d3b99509300a602d23c842433':
Preventing a Runtime widget crash from crashing the Launcher
3fc648d3b792f63d3b99509300a602d23c842433 26-Jan-2016 Sunny Goyal <sunnygoyal@google.com> Preventing a Runtime widget crash from crashing the Launcher

Bug: 26750103
Change-Id: I31f120bb0c4d64b903b3dd5dae0ae46f95bcdf59
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetHostView.java
4740e6ce15f55fa374d464be7c14981c9325a74c 02-Dec-2015 Sunny Goyal <sunnygoyal@google.com> Merge "Keeping the focus indicator on the widget view, while a child is focused" into ub-launcher3-burnaby-polish
am: 093a58cc77

* commit '093a58cc776be2a3cd5aed9d14df9c78a35af052':
Keeping the focus indicator on the widget view, while a child is focused
0c4e37223f93fea2627e69c0b007d6c22ddf8461 01-Dec-2015 Sunny Goyal <sunnygoyal@google.com> Keeping the focus indicator on the widget view, while a child is focused

Bug: 25199581
Change-Id: Ie08d1438ae0c1b5d4fcaa4d642508c1b9db0f5d4
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetHostView.java
b23bb416d0ad2d21eab495afb3dc0237c8d81d45 25-Nov-2015 Sunny Goyal <sunnygoyal@google.com> Merge "Allowing widgets to be focusable" into ub-launcher3-burnaby-polish
am: d007d0722c

* commit 'd007d0722c782266f494806e750c24208d6d3ca5':
Allowing widgets to be focusable
25c2e3ef07bda7df1e591cf9cdf9f6512ee2dbf7 29-Oct-2015 Sunny Goyal <sunnygoyal@google.com> Allowing widgets to be focusable

> Pressing 'enter' enters the focus inside the widget.
> If the widget has only one focusable, it directly performs click
> Pressing 'esc' brings the focus back to the parent host.

Bug: 25199581
Change-Id: Ia7fd5d929f5945d61173abd349660a5efbe74afc
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetHostView.java
bb83520a620919a8f19472ba4426585d007d1aba 16-Jul-2015 Mady Mellor <madym@google.com> Refactor StylusEventHelper to provide onButtonPress/Release methods

This will enable an easier migration to the new M APIs for identifying
button presses from stylus / other tools.

Bug: 20430722
Change-Id: I41cfa6eff8d76bb83cf1bdaf6623ec1092ed554c
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetHostView.java
fedca43d396d6fd7c46fbb2f37dfa7cfe3b31834 20-Aug-2015 Vadim Tryshev <vadimt@google.com> Moving drag-drop related code into a separate package.

This is per an earlier CR comment "we should probably move all this code to its own package (launcher3.dragndrop) in a separate cl".

I'm not moving DragSource because it's referred from gsa code.

Bug: 22609426
Change-Id: Ia7204dab99c0c395c66b77143a2d60411153f5f3
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetHostView.java
770f7c590753219d38f957278488b5b3f05e70ec 03-Jun-2015 Mady Mellor <madym@google.com> Stylus support: handling drag n drop for widgets

This alters the widget host view code to consider stylus button presses
allowing the user to pick up widgets with a stylus button press, and drop
them by releasing the button.

Bug: 20430722
Change-Id: I359f72bd80016f4b313aab1325cc92d7c6fd2a8c
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetHostView.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/LauncherAppWidgetHostView.java
2434d40ef271966096fea707ac4207d80d1b2901 17-Feb-2015 Sunny Goyal <sunnygoyal@google.com> Fixing crash when dragging and dropping a restored widget.

> When the widget is in pending state, AppWidgetProviderInfo is not available

Bug: 19364311
Change-Id: If3126a375853e6e710c6eba4b8824e18f3f0d391
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetHostView.java
71b5c0b988a64b3a0613ded5403749bc537ee8a5 09-Jan-2015 Sunny Goyal <sunnygoyal@google.com> Adding accessibility controls

> Adding 'Remove' option to workspace items
> Adding 'Add to workspace' to all apps and widget list items, which
adds the item to the first available space, giving preference to
the current workspace screen
> Adding 'App info' and 'Uninstall' options to appropriate items

Bug: 18482913
Change-Id: Ifab7423af2d9ba502b5a2771b37bb5436b3df937
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetHostView.java
5940042d39b576553c2499bcf3d0641281e6ad52 06-Mar-2014 Adam Cohen <adamcohen@google.com> Supporting custom widgets provided by launcher

-> This change provides integration for widgets provided by
the launcher package which can run arbitrary code.

Change-Id: I6052da5c4afed7ee72e3b44d045b9c46f2d84c42
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetHostView.java
ff572277112ec3d6a6a8c1be274d6fa1019e3648 23-Jul-2014 Sunny Goyal <sunnygoyal@google.com> Adding support to restore widgets even for jelly beans.

> Show 'widget-not-ready' until the widget app is installed
> Once the app is installed, bind a new widget id (not required on L if
id-remap was received).
**Remove the widget if bind failed
> If the widget has no configuration screen, show the widget, otherwise
show 'setup-widget'.
> Clicking 'setup-widget' shows the config screen, and updates the
widget on RESULT_OK.

issue: 10779035

Change-Id: I2f8b06d09dd6acbc498cdd93edc59c26e5ce17af
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetHostView.java
651077bdd603bb182be039925fd17bdf0da15016 30-Jun-2014 Sunny Goyal <sunnygoyal@google.com> Adding app widget restore support in Launcher3 for android L

When the app is restored, it displays placeholders for all pending widgets.
These placeholders can be moved and removed similar to a widget (size is fixed
to what defined in backup). Once the system notifies the launcher of the new
widget ids, the place holders are replaced with actual widgets.

issue: 10779035

Change-Id: I68cbe4da01e9ca2978cb4471a7c645d2aa592055
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetHostView.java
02dd7aea3d8ac94126a8f8069e6762592ea60326 15-Apr-2014 Jason Monk <jmonk@google.com> Fix long press after already moving off icon

When an icon is in the Hotseat and a user drags off from the icon,
but continues holding down, the icon gets a long press triggered
by the CheckLongPressHelper.

To fix this a check has been added on move events to see if the
point has moved outside the view and to cancel the long press
check callback if it has.

Bug: 13569451
Change-Id: Id175cdc220d70b5e9f8e492ed5a3cc7c3f11db10
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetHostView.java
3798b643cd8a5c7c85864eced90374cf0fb45640 16-Oct-2013 Adam Cohen <adamcohen@google.com> Fix issue where you could trigger a click after long pressing a widget (issue 11186227)

Change-Id: I5a767ac6352f7efb4d3c6c2768c8d2aaaa913f3f
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetHostView.java
b0f3d74815417acc3a9d3dce90cbf34b772847f0 09-Oct-2013 Adam Cohen <adamcohen@google.com> Fix widget longpress issue where longpress misfires (issue 10988288)

Change-Id: Ibe4aa4d92a1b419b63ff3cf61164c637fb579221
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetHostView.java
26acafbe67565a9cc6aeb7d6c43a1c6d1cb9b73c 05-Sep-2013 Michael Jurka <mikejurka@google.com> Fix crash when setting wallpaper

Also clean up some unused code

Change-Id: Ibef8d3d594cc859a993640fd6ee578e9eeb633d1
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetHostView.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/LauncherAppWidgetHostView.java
e7a852ef1511bc18a87168a0821c901e2600da4b 16-Aug-2013 Winson Chung <winsonc@google.com> Cancelling long press on widgets if they don't handle touch/tap.

Change-Id: Id5f002f64d02d8d5fb9bdda8b062a026decbe0e2
/packages/apps/Launcher3/src/com/android/launcher3/LauncherAppWidgetHostView.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/LauncherAppWidgetHostView.java