/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 | IDisplayContentChangeListener.aidl | 30 void onRectangleOnScreenRequested(int displayId, in Rect rectangle, boolean immediate);
|
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 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 D | IWindowSession.aidl | 185 * Notifies that a rectangle on the screen has been requested. 187 void onRectangleOnScreenRequested(IBinder token, in Rect rectangle, boolean immediate);
|
H A D | ViewRootImpl.java | 2376 boolean scrollToRectOrFocus(Rect rectangle, boolean immediate) { argument 2392 // case 'rectangle' is null), or in response to a 2393 // requestChildRectangleOnScreen() call (in which case 'rectangle' 2395 // rectangle is). 2408 // to a rectangle; first we want to make sure the entire focus 2410 rectangle = null; 2413 + " rectangle=" + rectangle + " ci=" + ci 2416 && rectangle == null) { 2429 // Try to find the rectangle fro 4755 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()} 4360 * @param previouslyFocusedRect The rectangle of the view that had focus 4385 * Request that a rectangle of this view be visible on the screen, 4392 * @param rectangle The rectangle. 4395 public boolean requestRectangleOnScreen(Rect rectangle) { argument 4396 return requestRectangleOnScreen(rectangle, fals 4414 requestRectangleOnScreen(Rect rectangle, boolean immediate) argument [all...] |
H A D | ViewGroup.java | 193 // When set, ViewGroup invalidates only the child's rectangle 197 // When set, ViewGroup excludes the padding area from the invalidate rectangle 649 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) { argument 2346 * @param previouslyFocusedRect The rectangle (in this View's coordinate system) 4100 * if this ViewGroup is already fully invalidated or if the dirty rectangle 4228 * Offset a rectangle that is in a descendant's coordinate 4231 * @param rect A rectangle defined in descendant's coordinate space. 4238 * Offset a rectangle that is in our coordinate space into an ancestor's 4241 * @param rect A rectangle defined in descendant's coordinate space.
|
/frameworks/base/services/java/com/android/server/accessibility/ |
H A D | ScreenMagnifier.java | 930 public void onRectangleOnScreenRequested(int dsiplayId, Rect rectangle, 933 args.argi1 = rectangle.left; 934 args.argi2 = rectangle.top; 935 args.argi3 = rectangle.right; 936 args.argi4 = rectangle.bottom; 1066 private void handleOnRectangleOnScreenRequested(Rect rectangle, boolean immediate) { argument 1071 if (magnifiedRegionBounds.contains(rectangle)) { 1074 ensureRectangleInMagnifiedRegionBounds(magnifiedRegionBounds, rectangle); 1078 Rect rectangle) { 1079 if (!Rect.intersects(rectangle, mViewpor 1077 ensureRectangleInMagnifiedRegionBounds(Rect magnifiedRegionBounds, Rect rectangle) 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/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeWindowSession.java | 199 public void onRectangleOnScreenRequested(IBinder window, Rect rectangle, boolean immediate) { argument
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | Session.java | 438 public void onRectangleOnScreenRequested(IBinder token, Rect rectangle, boolean immediate) { argument 442 mService.onRectangleOnScreenRequested(token, rectangle, immediate);
|
H A D | WindowManagerService.java | 2671 public void onRectangleOnScreenRequested(IBinder token, Rect rectangle, boolean immediate) { argument 2675 scheduleNotifyRectangleOnScreenRequestedIfNeededLocked(window, rectangle, 2682 Rect rectangle, boolean immediate) { 2687 immediate? 1 : 0, new Rect(rectangle)).sendToTarget(); 2691 private void handleNotifyRectangleOnScreenRequested(int displayId, Rect rectangle, argument 2709 rectangle, immediate); 3272 * @param startPos Offset from left/top edge of outer rectangle to 3273 * left/top edge of inner rectangle. 7765 Rect rectangle = (Rect) msg.obj; 7766 handleNotifyRectangleOnScreenRequested(displayId, rectangle, immediat 2681 scheduleNotifyRectangleOnScreenRequestedIfNeededLocked(WindowState window, Rect rectangle, boolean immediate) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | HorizontalScrollView.java | 1303 * @param rect The rectangle. 1322 * a rectangle completely on the screen (or, if taller than the screen, 1351 // that the entire rectangle is in view (or at least the first 1369 // entire rectangle is in view (or at least the first screen 1434 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, argument 1437 rectangle.offset(child.getLeft() - child.getScrollX(), 1440 return scrollToChildRect(rectangle, immediate);
|
H A D | ScrollView.java | 1297 * @param rect The rectangle. 1316 * a rectangle completely on the screen (or, if taller than the screen, 1345 // that the entire rectangle is in view (or at least the first 1363 // entire rectangle is in view (or at least the first screen 1428 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, argument 1431 rectangle.offset(child.getLeft() - child.getScrollX(), 1434 return scrollToChildRect(rectangle, immediate);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | PagedView.java | 924 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) { argument
|