Searched refs:descendant (Results 1 – 11 of 11) sorted by relevance
297 public float getDescendantRectRelativeToSelf(View descendant, Rect r) { in getDescendantRectRelativeToSelf() argument300 float scale = getDescendantCoordRelativeToSelf(descendant, mTmpXY); in getDescendantRectRelativeToSelf()302 mTmpXY[0] + descendant.getWidth(), mTmpXY[1] + descendant.getHeight()); in getDescendantRectRelativeToSelf()322 public float getDescendantCoordRelativeToSelf(View descendant, int[] coord) { in getDescendantCoordRelativeToSelf() argument325 descendant.getMatrix().mapPoints(pt); in getDescendantCoordRelativeToSelf()326 scale *= descendant.getScaleX(); in getDescendantCoordRelativeToSelf()327 pt[0] += descendant.getLeft(); in getDescendantCoordRelativeToSelf()328 pt[1] += descendant.getTop(); in getDescendantCoordRelativeToSelf()329 ViewParent viewParent = descendant.getParent(); in getDescendantCoordRelativeToSelf()
349 public float getDescendantRectRelativeToSelf(View descendant, Rect r) { in getDescendantRectRelativeToSelf() argument352 float scale = getDescendantCoordRelativeToSelf(descendant, mTmpXY); in getDescendantRectRelativeToSelf()355 (int) (mTmpXY[0] + scale * descendant.getMeasuredWidth()), in getDescendantRectRelativeToSelf()356 (int) (mTmpXY[1] + scale * descendant.getMeasuredHeight())); in getDescendantRectRelativeToSelf()366 public float getDescendantCoordRelativeToSelf(View descendant, int[] coord) { in getDescendantCoordRelativeToSelf() argument367 return getDescendantCoordRelativeToSelf(descendant, coord, false); in getDescendantCoordRelativeToSelf()382 public float getDescendantCoordRelativeToSelf(View descendant, int[] coord, in getDescendantCoordRelativeToSelf() argument384 return Utilities.getDescendantCoordRelativeToParent(descendant, this, in getDescendantCoordRelativeToSelf()391 public float mapCoordInSelfToDescendent(View descendant, int[] coord) { in mapCoordInSelfToDescendent() argument392 return Utilities.mapCoordInSelfToDescendent(descendant, this, coord); in mapCoordInSelfToDescendent()
232 public static float getDescendantCoordRelativeToParent(View descendant, View root, in getDescendantCoordRelativeToParent() argument238 View v = descendant; in getDescendantCoordRelativeToParent()251 if (v0 != descendant || includeRootScroll) { in getDescendantCoordRelativeToParent()270 public static float mapCoordInSelfToDescendent(View descendant, View root, in mapCoordInSelfToDescendent() argument276 View v = descendant; in mapCoordInSelfToDescendent()
406 public boolean getBoundsOf(GLView descendant, Rect out) { in getBoundsOf() argument409 GLView view = descendant; in getBoundsOf()417 out.set(xoffset, yoffset, xoffset + descendant.getWidth(), in getBoundsOf()418 yoffset + descendant.getHeight()); in getBoundsOf()
1217 private boolean isOffScreen(View descendant) { in isOffScreen() argument1219 return !isWithinDeltaOfScreen(descendant, getWidth(), 0); in isOffScreen()1221 return !isWithinDeltaOfScreen(descendant, 0, getHeight()); in isOffScreen()1229 private boolean isWithinDeltaOfScreen(View descendant, int delta, int height) { in isWithinDeltaOfScreen() argument1230 descendant.getDrawingRect(mTempRect); in isWithinDeltaOfScreen()1231 offsetDescendantRectToMyCoords(descendant, mTempRect); in isWithinDeltaOfScreen()
3397 private boolean isWithinDeltaOfScreen(View descendant, int delta, int height) {3398 descendant.getDrawingRect(mTempRect);3399 offsetDescendantRectToMyCoords(descendant, mTempRect);
1dictionary=main:en_us,locale=en_US,description=English (US),date ...
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:nl,locale=nl,description=Nederlands,date=1393228136, ...