/frameworks/base/graphics/java/android/graphics/ |
H A D | YuvImage.java | 27 * 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 D | ViewParent.java | 70 * 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 D | ViewGroup.java | 217 // When set, ViewGroup invalidates only the child's rectangle 221 // When set, ViewGroup excludes the padding area from the invalidate rectangle 691 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) { argument 2389 * @param previouslyFocusedRect The rectangle (in this View's coordinate system) 4343 * if this ViewGroup is already fully invalidated or if the dirty rectangle 4479 * Offset a rectangle that is in a descendant's coordinate 4482 * @param rect A rectangle defined in descendant's coordinate space. 4489 * Offset a rectangle that is in our coordinate space into an ancestor's 4492 * @param rect A rectangle defined in descendant's coordinate space.
|
H A D | ViewRootImpl.java | 2433 // The dirty rectangle can be modified by Surface.lockCanvas() 2598 boolean scrollToRectOrFocus(Rect rectangle, boolean immediate) { argument 2614 // case 'rectangle' is null), or in response to a 2615 // requestChildRectangleOnScreen() call (in which case 'rectangle' 2617 // rectangle is). 2625 // to a rectangle; first we want to make sure the entire focus 2627 rectangle = null; 2630 + " rectangle=" + rectangle + " ci=" + ci 2632 if (focus == lastScrolledFocus && !mScrollMayChange && rectangle 6035 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument [all...] |
H A D | View.java | 299 * The geometry of a view is that of a rectangle. A view has a location, 308 * coordinate of the rectangle representing the view. The latter returns the 309 * top, or Y, coordinate of the rectangle representing the view. These methods 319 * rectangle representing the view. For instance, calling {@link #getRight()} 4596 * @param previouslyFocusedRect The rectangle of the view that had focus 4623 * Request that a rectangle of this view be visible on the screen, 4630 * @param rectangle The rectangle. 4633 public boolean requestRectangleOnScreen(Rect rectangle) { argument 4634 return requestRectangleOnScreen(rectangle, fals 4652 requestRectangleOnScreen(Rect rectangle, boolean immediate) argument [all...] |
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcRects.cpp | 48 * # 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/services/java/com/android/server/wm/ |
H A D | Session.java | 440 public void onRectangleOnScreenRequested(IBinder token, Rect rectangle, boolean immediate) { argument 444 mService.onRectangleOnScreenRequested(token, rectangle, immediate);
|
H A D | DisplayMagnifier.java | 102 public void onRectangleOnScreenRequestedLocked(Rect rectangle, boolean immediate) { argument 104 Slog.i(LOG_TAG, "Rectangle on screen requested: " + rectangle); 111 if (magnifiedRegionBounds.contains(rectangle)) { 115 args.argi1 = rectangle.left; 116 args.argi2 = rectangle.top; 117 args.argi3 = rectangle.right; 118 args.argi4 = rectangle.bottom; 621 // Empty dirty rectangle means unspecified.
|
H A D | WindowManagerService.java | 2736 public void onRectangleOnScreenRequested(IBinder token, Rect rectangle, boolean immediate) { argument 2742 mDisplayMagnifier.onRectangleOnScreenRequestedLocked(rectangle, immediate);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeWindowSession.java | 200 public void onRectangleOnScreenRequested(IBinder window, Rect rectangle, boolean immediate) { argument
|
/frameworks/base/core/java/android/widget/ |
H A D | HorizontalScrollView.java | 1312 * @param rect The rectangle. 1331 * a rectangle completely on the screen (or, if taller than the screen, 1360 // that the entire rectangle is in view (or at least the first 1378 // entire rectangle is in view (or at least the first screen 1443 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, argument 1446 rectangle.offset(child.getLeft() - child.getScrollX(), 1449 return scrollToChildRect(rectangle, immediate);
|
H A D | ScrollView.java | 1306 * @param rect The rectangle. 1325 * a rectangle completely on the screen (or, if taller than the screen, 1354 // that the entire rectangle is in view (or at least the first 1372 // entire rectangle is in view (or at least the first screen 1437 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, argument 1440 rectangle.offset(child.getLeft() - child.getScrollX(), 1443 return scrollToChildRect(rectangle, immediate);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | PagedView.java | 986 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) { argument
|