Searched defs:rectangle (Results 1 - 13 of 13) 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/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
164 list<Rectangle> rectangle; variable
250 // Parse rectangle descriptions
252 string rectDesc(""); // String description of a single rectangle
286 // Description of a rectangle is complete when all opening
297 // Parse string description of rectangle
301 rectangle
[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
228 * Called when a child of this group wants a particular rectangle to be
233 * <li>rectangle wil
250 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument
[all...]
H A DViewGroup.java219 // When set, ViewGroup invalidates only the child's rectangle
223 // When set, ViewGroup excludes the padding area from the invalidate rectangle
720 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) { argument
869 // Keep track of the intersection rectangle.
2638 * @param previouslyFocusedRect The rectangle (in this View's coordinate system)
4660 * if this ViewGroup is already fully invalidated or if the dirty rectangle
4813 * Offset a rectangle that is in a descendant's coordinate
4816 * @param rect A rectangle defined in descendant's coordinate space.
4823 * Offset a rectangle that is in our coordinate space into an ancestor's
4826 * @param rect A rectangle define
[all...]
H A DViewRootImpl.java2547 // The dirty rectangle can be modified by Surface.lockCanvas()
2654 boolean scrollToRectOrFocus(Rect rectangle, boolean immediate) { argument
2669 // case 'rectangle' is null), or in response to a
2670 // requestChildRectangleOnScreen() call (in which case 'rectangle'
2672 // rectangle is).
2680 // to a rectangle; first we want to make sure the entire focus
2682 rectangle = null;
2685 + " rectangle=" + rectangle + " ci=" + ci
2687 if (focus == lastScrolledFocus && !mScrollMayChange && rectangle
6258 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument
[all...]
H A DView.java311 * The geometry of a view is that of a rectangle. A view has a location,
320 * coordinate of the rectangle representing the view. The latter returns the
321 * top, or Y, coordinate of the rectangle representing the view. These methods
331 * rectangle representing the view. For instance, calling {@link #getRight()}
4917 * @param previouslyFocusedRect The rectangle of the view that had focus
4960 * Request that a rectangle of this view be visible on the screen,
4967 * @param rectangle The rectangle.
4970 public boolean requestRectangleOnScreen(Rect rectangle) { argument
4971 return requestRectangleOnScreen(rectangle, fals
4989 requestRectangleOnScreen(Rect rectangle, boolean immediate) argument
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DSession.java462 public void onRectangleOnScreenRequested(IBinder token, Rect rectangle) { argument
466 mService.onRectangleOnScreenRequested(token, rectangle);
H A DAccessibilityController.java121 public void onRectangleOnScreenRequestedLocked(Rect rectangle) { argument
123 mDisplayMagnifier.onRectangleOnScreenRequestedLocked(rectangle);
260 public void onRectangleOnScreenRequestedLocked(Rect rectangle) { argument
262 Slog.i(LOG_TAG, "Rectangle on screen requested: " + rectangle);
269 if (magnifiedRegionBounds.contains(rectangle)) {
273 args.argi1 = rectangle.left;
274 args.argi2 = rectangle.top;
275 args.argi3 = rectangle.right;
276 args.argi4 = rectangle.bottom;
739 // Empty dirty rectangle mean
[all...]
H A DWindowManagerService.java2941 public void onRectangleOnScreenRequested(IBinder token, Rect rectangle) { argument
2947 mAccessibilityController.onRectangleOnScreenRequestedLocked(rectangle);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeWindowSession.java206 public void onRectangleOnScreenRequested(IBinder window, Rect rectangle) { argument
/frameworks/base/core/java/android/widget/
H A DHorizontalScrollView.java1319 * @param rect The rectangle.
1338 * a rectangle completely on the screen (or, if taller than the screen,
1367 // that the entire rectangle is in view (or at least the first
1385 // entire rectangle is in view (or at least the first screen
1450 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, argument
1453 rectangle.offset(child.getLeft() - child.getScrollX(),
1456 return scrollToChildRect(rectangle, immediate);
H A DScrollView.java1340 * @param rect The rectangle.
1359 * a rectangle completely on the screen (or, if taller than the screen,
1388 // that the entire rectangle is in view (or at least the first
1406 // entire rectangle is in view (or at least the first screen
1471 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, argument
1474 rectangle.offset(child.getLeft() - child.getScrollX(),
1477 return scrollToChildRect(rectangle, immediate);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DPagedView.java962 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) { argument

Completed in 551 milliseconds