Searched refs:descendant (Results 1 - 6 of 6) sorted by relevance
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | DragLayer.java | 291 * Determine the rect of the descendant in this DragLayer's coordinates 293 * @param descendant The descendant whose coordinates we want to find. 295 * @return The factor by which this descendant is scaled relative to this DragLayer. 297 public float getDescendantRectRelativeToSelf(View descendant, Rect r) { argument 300 float scale = getDescendantCoordRelativeToSelf(descendant, mTmpXY); 302 mTmpXY[0] + descendant.getWidth(), mTmpXY[1] + descendant.getHeight()); 313 * Given a coordinate relative to the descendant, find the coordinate in this DragLayer's 316 * @param descendant Th 322 getDescendantCoordRelativeToSelf(View descendant, int[] coord) argument [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | DragLayer.java | 364 * Determine the rect of the descendant in this DragLayer's coordinates 366 * @param descendant The descendant whose coordinates we want to find. 368 * @return The factor by which this descendant is scaled relative to this DragLayer. 370 public float getDescendantRectRelativeToSelf(View descendant, Rect r) { argument 373 float scale = getDescendantCoordRelativeToSelf(descendant, mTmpXY); 376 (int) (mTmpXY[0] + scale * descendant.getMeasuredWidth()), 377 (int) (mTmpXY[1] + scale * descendant.getMeasuredHeight())); 387 public float getDescendantCoordRelativeToSelf(View descendant, int[] coord) { argument 388 return getDescendantCoordRelativeToSelf(descendant, coor 403 getDescendantCoordRelativeToSelf(View descendant, int[] coord, boolean includeRootScroll) argument 412 mapCoordInSelfToDescendent(View descendant, int[] coord) argument [all...] |
H A D | Utilities.java | 232 * Given a coordinate relative to the descendant, find the coordinate in a parent view's 235 * @param descendant The descendant to which the passed coordinate is relative. 238 * @param includeRootScroll Whether or not to account for the scroll of the descendant: 239 * sometimes this is relevant as in a child's coordinates within the descendant. 240 * @return The factor by which this descendant is scaled relative to this DragLayer. Caution 244 public static float getDescendantCoordRelativeToParent(View descendant, View root, argument 250 View v = descendant; 263 if (v0 != descendant || includeRootScroll) { 282 public static float mapCoordInSelfToDescendent(View descendant, Vie argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | GLView.java | 404 * Gets the bounds of the given descendant that relative to this view. 406 public boolean getBoundsOf(GLView descendant, Rect out) { argument 409 GLView view = descendant; 417 out.set(xoffset, yoffset, xoffset + descendant.getWidth(), 418 yoffset + descendant.getHeight());
|
/packages/apps/Browser/src/com/android/browser/view/ |
H A D | ScrollerView.java | 1214 * @return whether the descendant of this scroll view is scrolled off 1217 private boolean isOffScreen(View descendant) { argument 1219 return !isWithinDeltaOfScreen(descendant, getWidth(), 0); 1221 return !isWithinDeltaOfScreen(descendant, 0, getHeight()); 1226 * @return whether the descendant of this scroll view is within delta 1229 private boolean isWithinDeltaOfScreen(View descendant, int delta, int height) { argument 1230 descendant.getDrawingRect(mTempRect); 1231 offsetDescendantRectToMyCoords(descendant, mTempRect); 1769 * Return true if child is an descendant of parent, (or equal to the parent).
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/ |
H A D | StaggeredGridView.java | 3394 * @return whether the descendant of this scroll view is within delta 3397 private boolean isWithinDeltaOfScreen(View descendant, int delta, int height) { argument 3398 descendant.getDrawingRect(mTempRect); 3399 offsetDescendantRectToMyCoords(descendant, mTempRect);
|
Completed in 127 milliseconds