Searched defs:rectangle (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/core/java/android/view/
H A DViewParent.java69 * rectangle must be invalidated in the parent. If the specified rectangle
187 * Called when a child of this group wants a particular rectangle to be
192 * <li>rectangle will be in the child's coordinates</li>
197 * <li>nothing will change if the rectangle is already visible</li>
199 * rectangle visible</li>
203 * @param rectangle The rectangle in the child's coordinates the child
209 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, argument
H A DViewGroup.java109 // When set, ViewGroup invalidates only the child's rectangle
113 // When set, ViewGroup excludes the padding area from the invalidate rectangle
486 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) { argument
1054 * @param previouslyFocusedRect The rectangle (in this View's coordinate system)
2521 * if this ViewGroup is already fully invalidated or if the dirty rectangle
2564 * Offset a rectangle that is in a descendant's coordinate
2567 * @param rect A rectangle defined in descendant's coordinate space.
2574 * Offset a rectangle that is in our coordinate space into an ancestor's
2577 * @param rect A rectangle defined in descendant's coordinate space.
H A DViewRoot.java1560 boolean scrollToRectOrFocus(Rect rectangle, boolean immediate) { argument
1576 // case 'rectangle' is null), or in response to a
1577 // requestChildRectangleOnScreen() call (in which case 'rectangle'
1579 // rectangle is).
1592 // to a rectangle; first we want to make sure the entire focus
1594 rectangle = null;
1597 + " rectangle=" + rectangle + " ci=" + ci
1600 && rectangle == null) {
1613 // Try to find the rectangle fro
2941 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument
[all...]
H A DView.java282 * The geometry of a view is that of a rectangle. A view has a location,
291 * coordinate of the rectangle representing the view. The latter returns the
292 * top, or Y, coordinate of the rectangle representing the view. These methods
302 * rectangle representing the view. For instance, calling {@link #getRight()}
2550 * @param previouslyFocusedRect The rectangle of the view that had focus
2571 * Request that a rectangle of this view be visible on the screen,
2578 * @param rectangle The rectangle.
2581 public boolean requestRectangleOnScreen(Rect rectangle) { argument
2582 return requestRectangleOnScreen(rectangle, fals
2600 requestRectangleOnScreen(Rect rectangle, boolean immediate) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DYuvImage.java27 * To compress a rectangle region in the YUV data, users have to specify the
109 * Compress a rectangle region in the YuvImage to a jpeg.
113 * @param rectangle The rectangle region to be compressed. The medthod checks if rectangle is
114 * inside the image. Also, the method modifies rectangle if the chroma pixels
120 * @throws IllegalArgumentException if rectangle is invalid; quality is not within [0,
123 public boolean compressToJpeg(Rect rectangle, int quality, OutputStream stream) { argument
125 if (!wholeImage.contains(rectangle)) {
127 "rectangle i
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebTextView.java941 public boolean requestRectangleOnScreen(Rect rectangle) { argument
945 return super.requestRectangleOnScreen(rectangle);
/frameworks/base/core/java/android/widget/
H A DHorizontalScrollView.java1147 * @param rect The rectangle.
1166 * a rectangle completely on the screen (or, if taller than the screen,
1195 // that the entire rectangle is in view (or at least the first
1213 // entire rectangle is in view (or at least the first screen
1280 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, argument
1283 rectangle.offset(child.getLeft() - child.getScrollX(),
1286 return scrollToChildRect(rectangle, immediate);
H A DScrollView.java1146 * @param rect The rectangle.
1165 * a rectangle completely on the screen (or, if taller than the screen,
1194 // that the entire rectangle is in view (or at least the first
1212 // entire rectangle is in view (or at least the first screen
1279 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, argument
1282 rectangle.offset(child.getLeft() - child.getScrollX(),
1285 return scrollToChildRect(rectangle, immediate);

Completed in 141 milliseconds