Searched refs:descendant (Results 1 – 9 of 9) 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()
385 public float getDescendantRectRelativeToSelf(View descendant, Rect r) { in getDescendantRectRelativeToSelf() argument388 float scale = getDescendantCoordRelativeToSelf(descendant, mTmpXY); in getDescendantRectRelativeToSelf()391 (int) (mTmpXY[0] + scale * descendant.getMeasuredWidth()), in getDescendantRectRelativeToSelf()392 (int) (mTmpXY[1] + scale * descendant.getMeasuredHeight())); in getDescendantRectRelativeToSelf()402 public float getDescendantCoordRelativeToSelf(View descendant, int[] coord) { in getDescendantCoordRelativeToSelf() argument403 return getDescendantCoordRelativeToSelf(descendant, coord, false); in getDescendantCoordRelativeToSelf()418 public float getDescendantCoordRelativeToSelf(View descendant, int[] coord, in getDescendantCoordRelativeToSelf() argument420 return Utilities.getDescendantCoordRelativeToAncestor(descendant, this, in getDescendantCoordRelativeToSelf()427 public void mapCoordInSelfToDescendant(View descendant, int[] coord) { in mapCoordInSelfToDescendant() argument428 Utilities.mapCoordInSelfToDescendant(descendant, this, coord); in mapCoordInSelfToDescendant()
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()
165 View descendant, View ancestor, int[] coord, boolean includeRootScroll) { in getDescendantCoordRelativeToAncestor() argument170 View v = descendant; in getDescendantCoordRelativeToAncestor()174 if (v != descendant || includeRootScroll) { in getDescendantCoordRelativeToAncestor()195 public static void mapCoordInSelfToDescendant(View descendant, View root, int[] coord) { in mapCoordInSelfToDescendant() argument197 View v = descendant; in mapCoordInSelfToDescendant()
1dictionary=main:en_us,locale=en_US,description=English (US),date ...