am a3b67289: Merge "Fixing View.getBoundsOnScreen()" into jb-dev
* commit 'a3b6728933c13599f3b2f22aad7016cdaa04d706': Fixing View.getBoundsOnScreen()
This commit is contained in:
@@ -4676,13 +4676,13 @@ public class View implements Drawable.Callback, Drawable.Callback2, KeyEvent.Cal
|
||||
}
|
||||
|
||||
RectF position = mAttachInfo.mTmpTransformRect;
|
||||
position.setEmpty();
|
||||
position.set(0, 0, mRight - mLeft, mBottom - mTop);
|
||||
|
||||
if (!hasIdentityMatrix()) {
|
||||
getMatrix().mapRect(position);
|
||||
}
|
||||
|
||||
position.offset(mLeft, mRight);
|
||||
position.offset(mLeft, mTop);
|
||||
|
||||
ViewParent parent = mParent;
|
||||
while (parent instanceof View) {
|
||||
|
||||
Reference in New Issue
Block a user