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

/frameworks/base/core/java/android/view/
H A DViewParent.java70 * rectangle must be invalidated in the parent. If the specified rectangle
122 * <p>Returns the clipped visible part of the rectangle <code>r</code>, defined in the
126 * <p>The resulting rectangle is always axis aligned. If a rotation is applied to a node in the
127 * View hierarchy, the result is the axis-aligned bounding box of the visible rectangle.</p>
130 * @param r The input rectangle, defined in the child coordinate system. Will be overwritten to
131 * contain the resulting visible rectangle, expressed in global (root) coordinates
136 * @return true if the resulting rectangle is not empty, false otherwise
222 * Called when a child of this group wants a particular rectangle to be
227 * <li>rectangle wil
244 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument
[all...]
H A DViewGroup.java171 // When set, ViewGroup invalidates only the child's rectangle
175 // When set, ViewGroup excludes the padding area from the invalidate rectangle
597 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) { argument
2129 * @param previouslyFocusedRect The rectangle (in this View's coordinate system)
4028 * if this ViewGroup is already fully invalidated or if the dirty rectangle
4084 * Offset a rectangle that is in a descendant's coordinate
4087 * @param rect A rectangle defined in descendant's coordinate space.
4094 * Offset a rectangle that is in our coordinate space into an ancestor's
4097 * @param rect A rectangle defined in descendant's coordinate space.
H A DViewRootImpl.java2058 boolean scrollToRectOrFocus(Rect rectangle, boolean immediate) { argument
2074 // case 'rectangle' is null), or in response to a
2075 // requestChildRectangleOnScreen() call (in which case 'rectangle'
2077 // rectangle is).
2090 // to a rectangle; first we want to make sure the entire focus
2092 rectangle = null;
2095 + " rectangle=" + rectangle + " ci=" + ci
2098 && rectangle == null) {
2111 // Try to find the rectangle fro
4048 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument
[all...]
H A DView.java283 * The geometry of a view is that of a rectangle. A view has a location,
292 * coordinate of the rectangle representing the view. The latter returns the
293 * top, or Y, coordinate of the rectangle representing the view. These methods
303 * rectangle representing the view. For instance, calling {@link #getRight()}
3665 * @param previouslyFocusedRect The rectangle of the view that had focus
3686 * Request that a rectangle of this view be visible on the screen,
3693 * @param rectangle The rectangle.
3696 public boolean requestRectangleOnScreen(Rect rectangle) { argument
3697 return requestRectangleOnScreen(rectangle, fals
3715 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/opengl/tests/hwc/
H A DhwcRects.cpp48 * # White YV12 rectangle, with overlapping turquoise
49 * # RGBA8888 rectangle at 30%% (alpha: 0.7) transparency
68 * of the graphic format and then the display frame rectangle where
69 * the frame will be displayed. The display frame rectangle is
166 list<Rectangle> rectangle; variable
252 // Parse rectangle descriptions
254 string rectDesc(""); // String description of a single rectangle
288 // Description of a rectangle is complete when all opening
299 // Parse string description of rectangle
303 rectangle
[all...]
/frameworks/base/core/java/android/widget/
H A DHorizontalScrollView.java1234 * @param rect The rectangle.
1253 * a rectangle completely on the screen (or, if taller than the screen,
1282 // that the entire rectangle is in view (or at least the first
1300 // entire rectangle is in view (or at least the first screen
1365 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, argument
1368 rectangle.offset(child.getLeft() - child.getScrollX(),
1371 return scrollToChildRect(rectangle, immediate);
H A DScrollView.java1243 * @param rect The rectangle.
1262 * a rectangle completely on the screen (or, if taller than the screen,
1291 // that the entire rectangle is in view (or at least the first
1309 // entire rectangle is in view (or at least the first screen
1374 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, argument
1377 rectangle.offset(child.getLeft() - child.getScrollX(),
1380 return scrollToChildRect(rectangle, immediate);
/frameworks/base/core/java/android/webkit/
H A DWebTextView.java845 public boolean requestRectangleOnScreen(Rect rectangle, boolean immediate) { argument

Completed in 847 milliseconds