6f0fdc4167ad906fc7409856e86cd0cc601c3b53 |
|
07-Jul-2015 |
Dianne Hackborn <hackbod@google.com> |
Implement better handling of text in assist. TextView is now much smarter about the text it reports, limiting it to what is visible (plus a bit more). Also add a facility for it to report where the lines of text are, both as offsets in the text string and their baselines on screen. Part of fixing issue #22328792: Fix scalability issues in AssistStructure Change-Id: Idddb8c3a3331355f381e2d4af06d520fe7c7ce8e
/frameworks/base/core/java/android/view/ViewStructure.java
|
70d8be7616a450e9b7ef09c8bda5a8b25936a29a |
|
23-Jun-2015 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #22013372: Assist should take translationX and friends... ...into account when calculating the position information Actually what we need here is the full transformation matrix, if it is available. And that means actually computing the location of views on the screen requires doing this all through transformations, so the AssistVisualizer has been changed to do this (while still also keeping the old mechanism for comparison to verify that things are working correctly). Also added new properties for elevation and alpha. And optimized the parcelling of AssistStructure to not write things that aren't needed; this reduces the parcelled size by about half. Change-Id: I50b0dd2e6599c74701a5d188617a3eff64b07d03
/frameworks/base/core/java/android/view/ViewStructure.java
|
8ecf16d186fa8606571b75c01a21a528a7e55d23 |
|
23-Jun-2015 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #20654534: API Review: android.app.assist Remove the old ViewAssistStructure class. Change-Id: I5eca7bc7af93cda5f654c9094a3aa07fe4958da2
/frameworks/base/core/java/android/view/ViewStructure.java
|
16036f26847f3f1a88a093fb776bf081008ff8d8 |
|
22-Jun-2015 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #20654534: API Review: android.app.assist Remove the old classes. Change-Id: I949350cadc5fc304e2651d7db0ffd38e45db9b6e
/frameworks/base/core/java/android/view/ViewStructure.java
|
ece0f4f5198e9e9cb60e96f036baf22c73411bec |
|
11-Jun-2015 |
Dianne Hackborn <hackbod@google.com> |
Fix APIs. Issue #21039494: API Review: android.os.PowerManager.isDeviceIdleMode() Issue #21347000: API Review: android.content.IntentFilter Issue #20654534: API Review: android.app.assist Also allow use of ActivityManager.setWatchHeapLimit on any platform build as long as the calling app is debuggable. Change-Id: Ic597e596fa772fcdf2553b64f444b3d9269e8b92
/frameworks/base/core/java/android/view/ViewStructure.java
|
e860891b1a7d4c1b581f294fa5831999caac6506 |
|
05-Jun-2015 |
Mady Mellor <madym@google.com> |
Change stylus button press to context click in View - API review feedback Updates all references in View's onStylusButtonPress to onContextClick as per API review feedback. Additionally listens for mouse right clicks and calls the onContextClick method for these as well for the stylus button press. Bug: 21572278 Change-Id: I5c1ee8c8f23a77d7c677b86356e89d0e4fc40056
/frameworks/base/core/java/android/view/ViewStructure.java
|
69c6adc96eecfde74ceb83cf9177428dc08b6067 |
|
02-Jun-2015 |
Dianne Hackborn <hackbod@google.com> |
More API changes. Start moving Assist* stuff to android.app.assist. Clean up some more of the VoiceInteractionSession APIs. Clearly document that finish() is not the same as hide(), always call hide() instead, and fix the finish() path to also always do a hide to make sure everything is cleaned up correctly. Change-Id: I962d4069fcb34fe89547a95d395ae1b9fa3b4148
/frameworks/base/core/java/android/view/ViewStructure.java
|
5cfaae4aae744574f0fcc0876cdc5473bc1a344d |
|
29-May-2015 |
James Cook <jamescook@google.com> |
assist: Fix reported colors/styles for TextView/Switch Changes to the data provided to AssistStructure: * Text foreground color is correct even if the view has not yet been painted. * Text background color is now always 1 (TEXT_COLOR_UNDEFINED) for a TextView, as it has no separate concept of background color. * Switch now reports the text size/color/style of the label text (usually user visible) rather than the on/off text on the button itself (usually hidden in Material, and not usually revelant when visible). Bug: 21080375 Change-Id: I7e15f68d89510a76cab76031c2c8ca6ca3f32435
/frameworks/base/core/java/android/view/ViewStructure.java
|
02beb41c97a44a3333b1e9eca9033e91282d887d |
|
19-May-2015 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #20679383: Add text style to assist.ViewNode... ...from text nodes in WebView Add a new explicit API for setting the text style information associated with a view structure. Also, how about some documentation! Change-Id: Ia948b2d66382b973d0d00a67172a281ad55ce592
/frameworks/base/core/java/android/view/ViewStructure.java
|
49b043f37d7231b1544cb72e1bfb616e5a00688d |
|
07-May-2015 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #20655182: API Review: ViewAssistStructure Fix the various view assist related APIs. Also remove the blockAssist view attribute, and instead use the window's FLAG_SECURE to drive blocking of the entire hierarchy (which is semantically correct, and will protect existing apps that have already indicated they need it). Change-Id: I6beebc86b202809cba0a356cae9607d8d0fb5e78
/frameworks/base/core/java/android/view/ViewStructure.java
|