summaryrefslogtreecommitdiffstats
path: root/core/java/android/view
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Invisible views can't start animations"Chet Haase2011-06-171-1/+5
|\
| * Invisible views can't start animationsChet Haase2011-06-171-1/+5
| | | | | | | | | | | | | | | | | | | | | | The invalidation logic was broken for invisible views, causing a problem when an animation was set to start on an invisible view (to fade it in), but the view would not propagate the invalidation event that would trigger the start of the animation rendering. Fix: reset the DRAWN flag when a view becomes invisible to allow the invalidation logic to work as intended. Change-Id: Ibf49c6e8b39506a92a6e5f45cb8a12626ae4f931
* | Merge "Fix rendering issue with paths when the stroke width is 0"Romain Guy2011-06-171-2/+2
|\ \
| * | Fix rendering issue with paths when the stroke width is 0Romain Guy2011-06-171-2/+2
| | | | | | | | | | | | Change-Id: I5d8ac23dc69e9e17df4ef6b5195186b5207e2524
* | | Merge "Inform the InputMethodManager that a focused view has been attached."Amith Yamasani2011-06-171-0/+4
|\ \ \ | |_|/ |/| |
| * | Inform the InputMethodManager that a focused view has been attached.Amith Yamasani2011-06-171-0/+4
| |/ | | | | | | | | | | | | This enables new fragments or views that have a focused EditText to register the view with the input method framework as the served view. Change-Id: I260439223b56626f2e57bd778bbe5194ed44e361
* | Merge "Fix crash in ViewPropertyAnimator for unparented view."Chet Haase2011-06-161-2/+2
|\ \ | |/ |/|
| * Fix crash in ViewPropertyAnimator for unparented view.Chet Haase2011-06-161-2/+2
| | | | | | | | | | | | | | | | Mechanism for removing possible earlier animations should call removeCallbacks on the view, not on the (possibly null) handler of the view. Change-Id: I76c6f0bea5e009be9197a6e49e9360ed9ef1a9cb
* | Merge "Introduce LocalUtil and getLayoutDirectionFromLocale() now use ↵Fabrice Di Meglio2011-06-151-12/+3
|\ \ | | | | | | | | | likelySubtags"
| * | Introduce LocalUtil and getLayoutDirectionFromLocale() now use likelySubtagsFabrice Di Meglio2011-06-151-12/+3
| | | | | | | | | | | | | | | | | | | | | - move code from Configuration to LocaleUtil - move unit tests Change-Id: Ic14b0131894a0c5618f00d4acb3edb0daadefe01
* | | Merge "Invisible views should not be visible to accessibility services ↵Svetoslav Ganov2011-06-152-7/+11
|\ \ \ | | | | | | | | | | | | (interrogation)"
| * | | Invisible views should not be visible to accessibility services (interrogation)Svetoslav Ganov2011-06-152-7/+11
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Infisible children of a ViewGroup are reported by View group while constructing an AccessibilityNodeInfo. 2. AncestorView does not check whether a found view is shown before returining it or perform action on it. bug:4672230 Change-Id: Ic620ea71b7755c598407bdd813a2beeee400c89c
* | | Properly refcount SurfaceTexture in the JNI layer.Romain Guy2011-06-154-16/+14
|/ / | | | | | | Change-Id: I4b4c8020c13b8d6ce0d302fe42410033bf5785a6
* | Add support for disabling pointer gestures.Jeff Brown2011-06-141-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | Made it possible for individual windows to disable pointer gestures while the window has focus using a private API. Cleaned up the InputReader configuration code to enable in-place reconfiguration of input devices without having to reopen them all. This change makes changing the pointer speed somewhat nicer since the pointer doesn't jump back to the origin after each change. Change-Id: I9727419c2f4cb39e16acb4b15fd7fd84526b1239
* | Add TextureView.getBitmap()Romain Guy2011-06-144-5/+117
|/ | | | | | | This API can be used to get a Bitmap copy of the content of a TextureView. Change-Id: I07522216c353720fba5cab333174f58f484eb911
* Add View.getResolvedLayoutDirection()Fabrice Di Meglio2011-06-142-27/+53
| | | | | | | | | - update Callback2 interface - update Gravity.getAbsoluteGravity() and Gravity.apply() to be more generic by changing "boolean isRtl" parameter to "int layoutDirection" - fix BiDiTests for RTL FrameLayout Change-Id: I97bb456c22d5fd3ecb34f08564ce4dbed37e7459
* Merge "Allow touches to slide out of the navigation bar."Jeff Brown2011-06-131-1/+13
|\
| * Allow touches to slide out of the navigation bar.Jeff Brown2011-06-131-1/+13
| | | | | | | | Change-Id: I73cabba3d62f47829bf6217700ace56a27c42b1d
* | Merge "Expose api on View to determine if the view can be scrolled."Adam Powell2011-06-131-0/+34
|\ \ | |/ |/|
| * Expose api on View to determine if the view can be scrolled.Adam Powell2011-06-131-0/+34
| | | | | | | | Change-Id: I41783237a975151392faec04c6a85803ebbccfb4
* | Final polish of the interrogation feature.Svetoslav Ganov2011-06-106-155/+338
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Added a new event type for notifying client accessibilitiy services for changes in the layout. The event is fired at most once for a given time frame and is delivered to clients only if it originates from the window that can be interrogated. 2. Exposed the findByText functionality in AccessibilityNodeInfo. This is very useful for an accessibility service since it allows searching for something the user knows is on the screen thus avoiding touch exploring the content. Touch exploring is excellent for learning the apps but knowing them search is much faster. 3. Fixed a bug causing an accessibiliby service not to receive the event source in case of more than one service is registered and one of them does not have paermission to interrogate the window. The same event was dispatched to multiple services but if one of them does not have interrogation permission the event is modified to remove the source causing subsequent serivices not to get the later. 4. Moved the getSource setSource methods to AccessibilityRecord instead in AccessibilityEvent. 5. Hiden some protected members in AccessibilityRecod which should not be made public since getters exist. 6. Added the View absolute coordinates in the screen to AccessibilityNodeInfo. This is needed for fast computation of relative positions of views from accessibility - common use case for the later. 7. Fixed a couple of marshalling bugs. 8. Added a test for the object contract of AccessibilityNodeInfo. Change-Id: Id9dc50c33aff441e4c93d25ea316c9bbc4bd7a35
* Merge "Make orientation changes happen sooner."Jeff Brown2011-06-101-5/+5
|\
| * Make orientation changes happen sooner.Jeff Brown2011-06-081-5/+5
| | | | | | | | | | | | | | | | Tweaked the window orientation listener to be less conservative in its filtering. Should shave a couple hundred milliseconds off the rotation time. Change-Id: If7dd5114b0941df6199fe81080ac94730cf797cf
* | Merge "Add onSurfaceTextureDestroyed() callback."Romain Guy2011-06-101-10/+37
|\ \
| * | Add onSurfaceTextureDestroyed() callback.Romain Guy2011-06-101-10/+37
| | | | | | | | | | | | | | | | | | | | | | | | This is needed for Renderscript and it also makes implementations of TextureView cleaner. This change also hooks up the onSurfaceTextureSizeCHanged() callback whenever the view size changes. Change-Id: I2f972ee4504d800329defefacf32cf20547d31a3
* | | Merge "Make View respect LAYOUT_DIRECTION_LOCALE"Fabrice Di Meglio2011-06-101-1/+30
|\ \ \
| * | | Make View respect LAYOUT_DIRECTION_LOCALEFabrice Di Meglio2011-06-101-1/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - update also unit tests for taking care of the locale direction - code formatting on the layout test files Change-Id: I4037eac3c572de9abb0178f36ca03803cc2c1522
* | | | Bug fixes in the accessibility interrogation APIsSvetoslav Ganov2011-06-102-62/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. AccessibilityNodeInfo was not overriding equals. 2. ViewAncestor was not calling the callback for setting the result of an interrogation request thus making the system process wait upto the maximal timeout. Change-Id: I040a3c12d97f48aee319ba6414879546e71e9b8e
* | | | Merge "API to set additional subtypes"satok2011-06-102-2/+48
|\ \ \ \ | |/ / / |/| | |
| * | | API to set additional subtypessatok2011-06-102-2/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 4321667 - Due to the voice team's strong request Change-Id: Ia8bbc277c0987bde996e6f65541877cec96a3ca1
* | | | am 8297f669: am 3aabdeac: am 5ba2e872: Merge "Fix for not reporting correct ↵Dianne Hackborn2011-06-091-6/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "sw" in compat mode." into honeycomb-mr2 * commit '8297f669356ee997c5faa745815e8b9a7009fba7': Fix for not reporting correct "sw" in compat mode.
| * \ \ \ am 3aabdeac: am 5ba2e872: Merge "Fix for not reporting correct "sw" in ↵Dianne Hackborn2011-06-081-6/+10
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compat mode." into honeycomb-mr2 * commit '3aabdeaceff8405406d90c329a6691552559556d': Fix for not reporting correct "sw" in compat mode.
| | * \ \ \ am 5ba2e872: Merge "Fix for not reporting correct "sw" in compat mode." into ↵Dianne Hackborn2011-06-081-6/+10
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | honeycomb-mr2 * commit '5ba2e872fa684c0f1b992a95df00854b58f2cd8c': Fix for not reporting correct "sw" in compat mode.
| | | * | | | Fix for not reporting correct "sw" in compat mode.Dianne Hackborn2011-06-081-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia225c94b36ccc3589d417aafd5680247678eddfd
* | | | | | | Merge "resolved conflicts for merge of e2aa0490 to master"Dianne Hackborn2011-06-095-37/+165
|\ \ \ \ \ \ \
| * \ \ \ \ \ \ resolved conflicts for merge of e2aa0490 to masterDianne Hackborn2011-06-095-37/+165
| |\ \ \ \ \ \ \ | | |/ / / / / / | | | | | | | | | | | | | | | | Change-Id: Id0448a1598fc93aca0652b29253e02586e35a067
| | * | | | | | am a1396dfe: am 02140891: Merge "Work on issue #4518815: Compatibility mode ↵Dianne Hackborn2011-06-085-33/+165
| | |\ \ \ \ \ \ | | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | introduces compatibility regression..." into honeycomb-mr2 * commit 'a1396dfe7ad6ec6953f544be42d69d7804ab0fd4': Work on issue #4518815: Compatibility mode introduces compatibility regression...
| | | * | | | | am 02140891: Merge "Work on issue #4518815: Compatibility mode introduces ↵Dianne Hackborn2011-06-085-33/+165
| | | |\ \ \ \ \ | | | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compatibility regression..." into honeycomb-mr2 * commit '021408910af170268cb486910d4dd5a7d838c2bb': Work on issue #4518815: Compatibility mode introduces compatibility regression...
| | | | * | | | Work on issue #4518815: Compatibility mode introduces compatibility ↵Dianne Hackborn2011-06-085-33/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | regression... ...for Market App iRunner There were a lot of serious issues with how we updated (or often didn't update) the display and resource state when switching compatibility mode in conjunction with restarting and updating application components. This addresses everything I could find. Unfortunately it does *not* fix this particular app. I am starting to think this is just an issue in the app. This change does fix a number of other problems I could repro, such as switching the compatibility mode of an IME. Also a few changes here and there to get rid of $#*&^!! debug logs. Change-Id: Ib15572eac9ec93b4b9966ddcbbc830ce9dec1317
* | | | | | | | Merge "Add a way to measure potential framerate of the view hierarchy."Romain Guy2011-06-092-8/+58
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | / / | | |_|_|_|/ / | |/| | | | |
| * | | | | | Add a way to measure potential framerate of the view hierarchy.Romain Guy2011-06-092-8/+58
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | Change-Id: Ia19c7ed143d8a823fd678ffab84613ea075d228a
* | | | | | Invalid access to AccessibilityInteractionControllerSvetoslav Ganov2011-06-091-30/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. The Interaction connection checks if the ViewAncestor is valid and posts a message to be processed on the UI thread. The code in the UI thread did not check if the mView was valid. Added this check. 2. Added a faster sync mechanism in the test for getting the source of the last access event. Change-Id: I9982b6592f5f44a68a67df40f37c063a3ba62993
* | | | | | Merge "Bug 4588114 - Make GestureDetector behave nicer with parallel ↵Adam Powell2011-06-091-0/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | multi-touch detection"
| * | | | | | Bug 4588114 - Make GestureDetector behave nicer with parallel multi-touch ↵Adam Powell2011-06-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | detection Change-Id: I5ca377124a5888f0f45206d5de2d0a4b37e63351
* | | | | | | am 4e1504a6: am 7ed8ff18: am 68b81434: Merge "Fix bug 4533120 - rough ↵Adam Powell2011-06-091-0/+9
|\ \ \ \ \ \ \ | |/ / / / / / |/| | / / / / | | |/ / / / | |/| | | | | | | | | | | | | | | | handling of invalid event streams in ScaleGestureDetector" into honeycomb-mr2 * commit '4e1504a66b37b424c8839e64f97ac823e5358bd5': Fix bug 4533120 - rough handling of invalid event streams in ScaleGestureDetector
| * | | | | am 7ed8ff18: am 68b81434: Merge "Fix bug 4533120 - rough handling of invalid ↵Adam Powell2011-06-071-0/+9
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | event streams in ScaleGestureDetector" into honeycomb-mr2 * commit '7ed8ff18ce16312b86bd7da855e185b9ecc934a8': Fix bug 4533120 - rough handling of invalid event streams in ScaleGestureDetector
| | * | | | am 68b81434: Merge "Fix bug 4533120 - rough handling of invalid event ↵Adam Powell2011-06-071-0/+9
| | |\ \ \ \ | | | | |/ / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | streams in ScaleGestureDetector" into honeycomb-mr2 * commit '68b81434963db90e0d5b14710e4edd86084ede3c': Fix bug 4533120 - rough handling of invalid event streams in ScaleGestureDetector
| | | * | | Fix bug 4533120 - rough handling of invalid event streams inAdam Powell2011-06-071-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ScaleGestureDetector Make ScaleGestureDetector a bit more tolerant of bogus event streams. Change-Id: I28a8b1ea494b7f1ca9d4c4623b95aee38f213369
* | | | | | Merge "AccessibilityNodeInfo and AccessibilityEvent to initialized properly."Svetoslav Ganov2011-06-082-5/+6
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |
| * | | | | AccessibilityNodeInfo and AccessibilityEvent to initialized properly.Svetoslav Ganov2011-06-082-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id3a1b33a222790214820af4a8b49378f08e53558