[go: nahoru, domu]

History log of /frameworks/base/core/java/com/android/internal/widget/ResolverDrawerLayout.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b0e22ecf7d00a5fe5c5999c2d39b191ceed64d83 12-Apr-2016 Alan Viverette <alanv@google.com> Add scroll indicators to resolver list

Also reformats resolver list XML.

Bug: 27431395
Change-Id: I582448a01747b29fc6ac61dd80e27e6679507a81
/frameworks/base/core/java/com/android/internal/widget/ResolverDrawerLayout.java
cc329e0cfe7c6b5659905b44df009058685379be 11-Apr-2016 Alan Viverette <alanv@google.com> Revert "Add scroll indicators to resolver list layouts"

This reverts commit 81181dc3564625a4eae9889abace728b9a6e2784.

Change-Id: Ib5003bb131402bef007ce8025afcdb4a8f620541
/frameworks/base/core/java/com/android/internal/widget/ResolverDrawerLayout.java
81181dc3564625a4eae9889abace728b9a6e2784 06-Apr-2016 Alan Viverette <alanv@google.com> Add scroll indicators to resolver list layouts

Also reformats XML for consistency.

Bug: 27431395
Change-Id: I468dd1582ddcabe360b8665b6f42b3248caa16a5
/frameworks/base/core/java/com/android/internal/widget/ResolverDrawerLayout.java
63b31698452dbc36f6258c980d7a731518bfd6a0 28-Sep-2015 Adam Powell <adamp@google.com> Add animation and positional stability to intent chooser UI

Dejank the process of bringing in new ChooserTargets from queried
services. Animate the service target rows in upward so that if the
user's finger is already headed for a visible choice we don't inject
something wrong right under them at the last second. Keep things sane
if the user is dragging the UI while we're bringing in new items.

To animate this, since we can't use RecyclerView from the framework we
treat the height of rows as a conceptual data set change for
ListView. To get away with doing this per-frame we pre-measure the
item height (which remains constant) instead of doing more expensive
wrap_content calculations. ResolverDrawerLayout is now aware of how to
account for a cheat-measured ListView to compensate.

Bug 24038066

Change-Id: I01414a5746815255ff948a6d0887bb5ad0897285
/frameworks/base/core/java/com/android/internal/widget/ResolverDrawerLayout.java
1ff29f2d569bb4c2ebfd57de1a52a6822e060681 03-Aug-2015 Alan Viverette <alanv@google.com> Make ResolverDrawerLayout look like a ScrollView to accessibility

Disable accessibility focus on the layout itself and expose the class
name as ScrollView so that we can get auto-scroll working until we have
first-class support for specifying automatic scrolling behavior.

Bug: 22667764
Change-Id: I9b97e40f16038046898e5b56b935a61db9073ac6
/frameworks/base/core/java/com/android/internal/widget/ResolverDrawerLayout.java
a182e45c6851a8db89e8b0900f0812806ff295d4 07-Jul-2015 Adam Powell <adamp@google.com> Sort and limit ChooserActivity targets from ChooserTargetServices

Apply an automated decay factor if apps decide to claim all of their
targets are SUPER IMPORTANT. Apply the multiplier from the apps
themselves as well as a penalty for apps that come in late - let's see
how fast developers get their ChooserTargetServices to start!

Also fix a bug with ResolverDrawerLayout where dragging from the title
area wouldn't always work properly.

Bug 22302285

Change-Id: Ib6eb2b6fb92608790b2267c0f671c9ae59b2907e
/frameworks/base/core/java/com/android/internal/widget/ResolverDrawerLayout.java
4c470d641c6906a742b63273b305695ba575b3e1 20-Jun-2015 Adam Powell <adamp@google.com> Add voice interaction support to ResolverActivity/ChooserActivity

All options are sent to the VoiceInteractor once ChooserTargetServices
have reported in. We don't perform explicit progressive refinement or
filtering, but an explicit option picked will be invoked.

Also fix a lingering bug around being able to nested-fling the
resolver drawer closed.

Bug 21516866

Change-Id: I6b141f5fa87d74dccec9dcb88110630696e9c38e
/frameworks/base/core/java/com/android/internal/widget/ResolverDrawerLayout.java
f45befe6c38626449e87a1f9b9ab65c42bc15ada 18-Jun-2015 Alan Viverette <alanv@google.com> Ensure ResolverDrawerLayout is visible to accessibility services

Also removes the class name since it's not helpful to expose framework
internal class names to accessibility services that can't access them.

Bug: 18864087
Change-Id: If9b29d3929970bd893168444584a5dd1ba593c5b
/frameworks/base/core/java/com/android/internal/widget/ResolverDrawerLayout.java
c9f2293471155b8cc56ba18c98325b3893dd659d 15-May-2015 Adam Powell <adamp@google.com> Preserve ResolverDrawerLayout fully collapsed state across relayout

Fix a bug where a relayout that grows the size of ResolverDrawerLayout
content would cause it to get stuck in a half-collapsed state. This
could also lead to janky touch interaction behavior in
onStopNestedScroll as it animates to the fully open/closed state after
clicking in a descendant list.

Bug 21202727

Change-Id: I5f0a8b19fc079c57fcf2be7c6fa7627b1cb12a3c
/frameworks/base/core/java/com/android/internal/widget/ResolverDrawerLayout.java
a7bb6fbeab933326d58aa806d8194b7b13239d34 04-Feb-2015 Dianne Hackborn <hackbod@google.com> First quick implementation of auto assist data.

Introduce new AssistData class that contains all data
the framework automatically generates for assist. Currently
populated with a very simple tree structure representing
the app's view hierarchy.

Reworked how we populate the class name for accessibility
info, so this is provided through a new method call on View
that subclasses can override. This method is also used
to populate the class name in AssistData.

Change-Id: Ibd0acdc8354727d4291473283b5e4b70894905dc
/frameworks/base/core/java/com/android/internal/widget/ResolverDrawerLayout.java
b6ab098bad4b126eaaaa3aaa5a512fefc4e0749b 08-Jan-2015 Adam Powell <adamp@google.com> Add API for nested pre-processing of a11y events; fix ResolverDrawerLayout

Add API for handling nested pre-processing of accessibility events
similar to nested pre-scroll or pre-fling. This allows custom views to
delegate a nested scroll to a parent via the accessibility system.

Use this functionality to allow opening the ResolverDrawerLayout via
accessibility commands.

Bug 18827274

Change-Id: Icd5a502605b78a861bb03e7b11923841a72eb9ab
/frameworks/base/core/java/com/android/internal/widget/ResolverDrawerLayout.java
f0af0ea33b6c10753c071c3881d5d50c79d90c72 15-Dec-2014 Adam Powell <adamp@google.com> Fix touch intercept bug in ResolverDrawerLayout

ResolverDrawerLayout could get into a state where it thought a drag
was in progress, but since there was no distance to drag it would
return false from onTouchEvent for ACTION_DOWN. This would cause it to
intercept all future touch events, blocking interaction with
ResolverDrawerLayout child views. This would only happen if none of
the child views wanted the initial ACTION_DOWN event and it ended up
being processed in the ResolverDrawerLayout itself, such as in
response to touching in empty space or on the title text, and if all
available options fit in view without needing to expand the drawer.

Fix this by only setting the dragging bit if we're going to claim the
rest of the touch events after ACTION_DOWN.

Bug 18563698

Change-Id: Iab2ec38528697c9ff36bbb08b1f1210a6879d5ef
/frameworks/base/core/java/com/android/internal/widget/ResolverDrawerLayout.java
5dd072d88459ef434ab756e1adcdcd1ce5eb1beb 31-Oct-2014 Adam Powell <adamp@google.com> Allow swipe down to dismiss for ResolverDrawerLayout

Let the user swipe the intent resolver UI off of the screen to get rid
of it. So satisfying!

Also fix a bug where transitioning between touching the area outside
of the drawer to the drawer itself would misbehave or otherwise
dismiss when it shouldn't.

Bug 18026675

Change-Id: I456cc22b9575dc4c65e45154dc81201fe2045adc
/frameworks/base/core/java/com/android/internal/widget/ResolverDrawerLayout.java
fd1e93d128da9dbb2f97630c01239bb56199686e 08-Sep-2014 Adam Powell <adamp@google.com> New new design for ResolverActivity

Switch back to using a list as the grid and differently positioned
activity icons were confusing to users. Keep the distinct "last used"
presentation but align icons and titles with the further choices
below. Adjust this to make the fold more apparent. Remember
open/closed slider state across config changes.

Fix some bugs in nested scrolling and flinging.

Bug 17301272

Change-Id: I175937d5821df27b6ac7ffad7f01cd9a6ed3e3e3
/frameworks/base/core/java/com/android/internal/widget/ResolverDrawerLayout.java
4f6c2050a847f4089330b4b0aa4d1deb173e5bd0 08-Jul-2014 Adam Powell <adamp@google.com> ResolverDrawerLayout for ResolverActivity

Internal widget to allow nested scrolling of the grid of intent filter
targets. Initial logic complete.

Bug 15694906

Change-Id: Ib19723146bf1722db6bdd68f95cc6e623462d0f0
/frameworks/base/core/java/com/android/internal/widget/ResolverDrawerLayout.java