OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f4e81d
)
Set initial bounds offset to (0,0) so that in-screen bounds reported by Accessibility...
author
Alan Viverette
<alanv@google.com>
Fri, 22 Jul 2011 23:20:41 +0000
(16:20 -0700)
committer
Alan Viverette
<alanv@google.com>
Fri, 22 Jul 2011 23:20:41 +0000
(16:20 -0700)
Bug:
5063700
Change-Id: I4814c78eb1d6eae007976a057358377560560363
core/java/android/view/View.java
patch
|
blob
|
history
diff --git
a/core/java/android/view/View.java
b/core/java/android/view/View.java
index
0108ecf
..
37479d0
100644
(file)
--- a/
core/java/android/view/View.java
+++ b/
core/java/android/view/View.java
@@
-3903,6
+3903,7
@@
public class View implements Drawable.Callback2, KeyEvent.Callback, Accessibilit
int[] locationOnScreen = mAttachInfo.mInvalidateChildLocation;
getLocationOnScreen(locationOnScreen);
+ bounds.offsetTo(0, 0);
bounds.offset(locationOnScreen[0], locationOnScreen[1]);
info.setBoundsInScreen(bounds);