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

/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/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 DViewRootImpl.java2362 boolean scrollToRectOrFocus(Rect rectangle, boolean immediate) { argument
2378 // case 'rectangle' is null), or in response to a
2379 // requestChildRectangleOnScreen() call (in which case 'rectangle'
2381 // rectangle is).
2394 // to a rectangle; first we want to make sure the entire focus
2396 rectangle = null;
2399 + " rectangle=" + rectangle + " ci=" + ci
2402 && rectangle == null) {
2415 // Try to find the rectangle fro
4616 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument
[all...]
H A DView.java291 * The geometry of a view is that of a rectangle. A view has a location,
300 * coordinate of the rectangle representing the view. The latter returns the
301 * top, or Y, coordinate of the rectangle representing the view. These methods
311 * rectangle representing the view. For instance, calling {@link #getRight()}
4242 * @param previouslyFocusedRect The rectangle of the view that had focus
4267 * Request that a rectangle of this view be visible on the screen,
4274 * @param rectangle The rectangle.
4277 public boolean requestRectangleOnScreen(Rect rectangle) { argument
4278 return requestRectangleOnScreen(rectangle, fals
4296 requestRectangleOnScreen(Rect rectangle, boolean immediate) argument
[all...]
H A DViewGroup.java185 // When set, ViewGroup invalidates only the child's rectangle
189 // When set, ViewGroup excludes the padding area from the invalidate rectangle
649 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) { argument
2348 * @param previouslyFocusedRect The rectangle (in this View's coordinate system)
4089 * if this ViewGroup is already fully invalidated or if the dirty rectangle
4215 * Offset a rectangle that is in a descendant's coordinate
4218 * @param rect A rectangle defined in descendant's coordinate space.
4225 * Offset a rectangle that is in our coordinate space into an ancestor's
4228 * @param rect A rectangle defined in descendant's coordinate space.
/frameworks/native/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
165 list<Rectangle> rectangle; variable
251 // Parse rectangle descriptions
253 string rectDesc(""); // String description of a single rectangle
287 // Description of a rectangle is complete when all opening
298 // Parse string description of rectangle
302 rectangle
[all...]
/frameworks/base/core/java/android/widget/
H A DHorizontalScrollView.java1290 * @param rect The rectangle.
1309 * a rectangle completely on the screen (or, if taller than the screen,
1338 // that the entire rectangle is in view (or at least the first
1356 // entire rectangle is in view (or at least the first screen
1421 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, argument
1424 rectangle.offset(child.getLeft() - child.getScrollX(),
1427 return scrollToChildRect(rectangle, immediate);
H A DScrollView.java1276 * @param rect The rectangle.
1295 * a rectangle completely on the screen (or, if taller than the screen,
1324 // that the entire rectangle is in view (or at least the first
1342 // entire rectangle is in view (or at least the first screen
1407 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, argument
1410 rectangle.offset(child.getLeft() - child.getScrollX(),
1413 return scrollToChildRect(rectangle, immediate);

Completed in 224 milliseconds