Searched defs:descendant (Results 1 - 4 of 4) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | GLView.java | 403 * Gets the bounds of the given descendant that relative to this view. 405 public boolean getBoundsOf(GLView descendant, Rect out) { argument 408 GLView view = descendant; 416 out.set(xoffset, yoffset, xoffset + descendant.getWidth(), 417 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/Launcher2/src/com/android/launcher2/ |
H A D | DragLayer.java | 265 * Determine the rect of the descendant in this DragLayer's coordinates 267 * @param descendant The descendant whose coordinates we want to find. 269 * @return The factor by which this descendant is scaled relative to this DragLayer. 271 public float getDescendantRectRelativeToSelf(View descendant, Rect r) { argument 274 float scale = getDescendantCoordRelativeToSelf(descendant, mTmpXY); 276 mTmpXY[0] + descendant.getWidth(), mTmpXY[1] + descendant.getHeight()); 287 * Given a coordinate relative to the descendant, find the coordinate in this DragLayer's 290 * @param descendant Th 296 getDescendantCoordRelativeToSelf(View descendant, int[] coord) argument [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
H A D | HorizontalScrollView.java | 1085 * @return whether the descendant of this scroll view is scrolled off 1088 private boolean isOffScreen(View descendant) { argument 1089 return !isWithinDeltaOfScreen(descendant, 0); 1093 * @return whether the descendant of this scroll view is within delta 1096 private boolean isWithinDeltaOfScreen(View descendant, int delta) { argument 1097 descendant.getDrawingRect(mTempRect); 1098 offsetDescendantRectToMyCoords(descendant, mTempRect); 1467 * Return true if child is a descendant of parent, (or equal to the parent).
|
Completed in 33 milliseconds