Searched refs:descendant (Results 1 - 4 of 4) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DGLView.java366 * Gets the bounds of the given descendant that relative to this view.
368 public boolean getBoundsOf(GLView descendant, Rect out) { argument
371 GLView view = descendant;
379 out.set(xoffset, yoffset, xoffset + descendant.getWidth(),
380 yoffset + descendant.getHeight());
/packages/apps/Launcher2/src/com/android/launcher2/
H A DDragLayer.java264 * Determine the rect of the descendant in this DragLayer's coordinates
266 * @param descendant The descendant whose coordinates we want to find.
268 * @return The factor by which this descendant is scaled relative to this DragLayer.
270 public float getDescendantRectRelativeToSelf(View descendant, Rect r) { argument
273 float scale = getDescendantCoordRelativeToSelf(descendant, mTmpXY);
275 mTmpXY[0] + descendant.getWidth(), mTmpXY[1] + descendant.getHeight());
286 * Given a coordinate relative to the descendant, find the coordinate in this DragLayer's
289 * @param descendant Th
293 getDescendantCoordRelativeToSelf(View descendant, int[] coord) argument
[all...]
H A DCling.java141 public View findViewToTakeAccessibilityFocusFromHover(View child, View descendant) { argument
142 if (descendant.includeForAccessibility()) {
143 return descendant;
/packages/apps/Browser/src/com/android/browser/view/
H A DScrollerView.java1214 * @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).

Completed in 242 milliseconds