/frameworks/av/services/audioflinger/ |
H A D | FastMixerDumpState.cpp | 78 uint32_t bounds = mBounds; local 79 uint32_t newestOpen = bounds & 0xFFFF; 80 uint32_t oldestClosed = bounds >> 16;
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
H A D | Am.java | 314 " and supplying temporary different task bounds indicated by\n" + 323 " bounds of the pinned stack.\n" + 340 "am task resize: makes sure <TASK_ID> is in a stack with the specified bounds.\n" + 342 " has the specified bounds.\n" + 1830 final Rect bounds = getBounds(); 1831 if (bounds == null) { 1832 System.err.println("Error: invalid input bounds"); 1835 resizeStack(stackId, bounds, 0); 1841 final Rect bounds; 1843 bounds 1854 resizeStackUnchecked(int stackId, Rect bounds, int delayMs, boolean animate) argument 1878 resizeStack(int stackId, Rect bounds, int delayMs) argument 2019 setBoundsSide(Rect bounds, String side, int value) argument 2095 taskResize(int taskId, Rect bounds, int delay_ms, boolean pretendUserResize) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ActivityManager.java | 550 /** Returns true if the task bounds should persist across power cycles. */ 600 * are laid out differently as they are allowed to extend past the display bounds 646 * Returns true if the stack should be resized to match the bounds specified by 733 * that the resize doesn't need to preserve the window, and can be skipped if bounds 748 * that the resize should be performed even if the bounds appears unchanged. 770 * even if the bounds is unchanged. Usually used to force a resizing when a drag action 1333 * The bounds of the task. 1336 public Rect bounds; field in class:ActivityManager.RecentTaskInfo 1387 if (bounds != null) { 1389 bounds 2372 public Rect bounds = new Rect(); field in class:ActivityManager.StackInfo [all...] |
H A D | IActivityManager.java | 151 public boolean moveTopActivityToPinnedStack(int stackId, Rect bounds) throws RemoteException; argument 154 * Resizes the input stack id to the given bounds. 157 * @param bounds Bounds to resize the stack to or {@code null} for fullscreen. 167 public void resizeStack(int stackId, Rect bounds, boolean allowResizeInDockedMode, argument 177 * Resizes the docked stack, and all other stacks as the result of the dock stack bounds change. 179 * @param dockedBounds The bounds for the docked stack. 180 * @param tempDockedTaskBounds The temporary bounds for the tasks in the docked stack, which 181 * might be different from the stack bounds to allow more 183 * same as the stack bounds. 184 * @param tempDockedTaskInsetBounds The temporary bounds fo 579 resizeTask(int taskId, Rect bounds, int resizeMode) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | Face.java | 71 * @param bounds Bounds of the face. 79 * if bounds is {@code null}, 88 public Face(Rect bounds, int score, int id, argument 90 checkNotNull("bounds", bounds); 102 mBounds = bounds; 122 * @param bounds Bounds of the face. 126 * if bounds is {@code null}, 132 public Face(Rect bounds, int score) { argument 133 this(bounds, scor [all...] |
/frameworks/base/core/java/android/text/ |
H A D | Layout.java | 511 * Return the start position of the line, given the left and right bounds 515 * @param left the left bounds (0, or leading margin if ltr para) 516 * @param right the right bounds (width, minus leading margin if rtl para) 654 * If bounds is not null, return the top, left, right, bottom extents 657 * @param bounds Optional. If not null, it returns the extent of the line 660 public int getLineBounds(int line, Rect bounds) { argument 661 if (bounds != null) { 662 bounds.left = 0; // ??? 663 bounds.top = getLineTop(line); 664 bounds [all...] |
/frameworks/base/core/java/android/transition/ |
H A D | Explode.java | 85 Rect bounds = (Rect) endValues.values.get(PROPNAME_SCREEN_BOUNDS); 88 calculateOut(sceneRoot, bounds, mTempLoc); 92 return TranslationAnimationCreator.createAnimation(view, endValues, bounds.left, bounds.top, 102 Rect bounds = (Rect) startValues.values.get(PROPNAME_SCREEN_BOUNDS); 103 int viewPosX = bounds.left; 104 int viewPosY = bounds.top; 113 endX += interruptedPosition[0] - bounds.left; 114 endY += interruptedPosition[1] - bounds.top; 115 bounds 125 calculateOut(View sceneRoot, Rect bounds, int[] outVector) argument [all...] |
H A D | TransitionUtils.java | 93 RectF bounds = new RectF(0, 0, view.getWidth(), view.getHeight()); 94 matrix.mapRect(bounds); 95 int left = Math.round(bounds.left); 96 int top = Math.round(bounds.top); 97 int right = Math.round(bounds.right); 98 int bottom = Math.round(bounds.bottom); 102 Bitmap bitmap = createViewBitmap(view, matrix, bounds); 151 * @param bounds The bounds of the bitmap in the destination coordinate system (where the 153 * @return A bitmap of the given view or null if bounds ha 155 createViewBitmap(View view, Matrix matrix, RectF bounds) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | TouchDelegate.java | 26 * actual view bounds. The view whose touch area is changed is called the delegate view. This 28 * instance that specifies the bounds that should be mapped to the delegate and the delegate 86 * @param bounds Bounds in local coordinates of the containing view that should be mapped to 90 public TouchDelegate(Rect bounds, View delegateView) { argument 91 mBounds = bounds; 94 mSlopBounds = new Rect(bounds); 100 * Will forward touch events to the delegate view if the event is within the bounds 115 Rect bounds = mBounds; 117 if (bounds.contains(x, y)) {
|
H A D | View.java | 459 * its current bounds. 491 * <li>If in the course of processing the event, the view's bounds may need 1730 * lie outside of this view's bounds. 3313 * Current clip bounds. to which all drawing of this view are constrained. 3394 * visible edges of this view its bounds. 5184 final Rect bounds = mScrollCache.mScrollBarBounds; 5185 getVerticalScrollBarBounds(bounds); 5186 if (bounds.contains((int)x, (int)y)) { 5191 final Rect bounds = mScrollCache.mScrollBarBounds; 5192 getHorizontalScrollBarBounds(bounds); 14700 getHorizontalScrollBarBounds(Rect bounds) argument 14715 getVerticalScrollBarBounds(Rect bounds) argument [all...] |
H A D | ViewRootImpl.java | 1113 // Intersect with the bounds of the window to skip 1684 // If the activity was just relaunched, it might have unfrozen the task bounds (while 1686 // bounds. 2747 final Rect bounds = mAttachInfo.mTmpInvalRect; 2748 final boolean hasFocus = getAccessibilityFocusedRect(bounds); 2750 bounds.setEmpty(); 2752 if (!bounds.equals(drawable.getBounds())) { 2946 final Rect bounds = mAttachInfo.mTmpInvalRect; 2947 if (getAccessibilityFocusedRect(bounds)) { 2950 drawable.setBounds(bounds); 2958 getAccessibilityFocusedRect(Rect bounds) argument [all...] |
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityNodeInfo.java | 1481 * Gets the node bounds in parent coordinates. 1483 * @param outBounds The output node bounds. 1491 * Sets the node bounds in parent coordinates. 1498 * @param bounds The node bounds. 1502 public void setBoundsInParent(Rect bounds) { argument 1504 mBoundsInParent.set(bounds.left, bounds.top, bounds.right, bounds 1538 setBoundsInScreen(Rect bounds) argument [all...] |
H A D | AccessibilityWindowInfo.java | 268 * Gets the bounds of this window in the screen. 270 * @param outBounds The out window bounds. 277 * Sets the bounds of this window in the screen. 279 * @param bounds The out window bounds. 283 public void setBoundsInScreen(Rect bounds) { argument 284 mBoundsInScreen.set(bounds); 534 builder.append(", bounds=").append(mBoundsInScreen);
|
/frameworks/base/core/java/android/widget/ |
H A D | AbsListView.java | 172 * Indicates the view is being flung outside of normal content bounds 786 * itself to modify the bounds of the selection shown for that item. 790 * Called to allow the list item to adjust the bounds shown for 793 * @param bounds On call, this contains the bounds the list has 794 * selected for the item (that is the bounds of the entire view). The 797 public void adjustListItemSelectionBounds(Rect bounds); argument 2563 final Rect bounds = mSelectorRect; 2564 final float x = bounds.exactCenterX(); 2565 final float y = bounds [all...] |
H A D | ExpandableListView.java | 173 * indicator bounds 414 // the left & right bounds 521 void drawDivider(Canvas canvas, Rect bounds, int childIndex) { argument 534 divider.setBounds(bounds); 543 super.drawDivider(canvas, bounds, flatListPosition); 1162 * Sets the drawing bounds for the child indicator. For either, you can 1164 * indicator's bounds. 1167 * @param left The left position (relative to the left bounds of this View) 1169 * @param right The right position (relative to the left bounds of this 1179 * Sets the relative drawing bounds fo [all...] |
H A D | FastScroller.java | 575 final Rect bounds = mTempBounds; 576 measurePreview(mPrimaryText, bounds); 577 applyLayout(mPrimaryText, bounds); 578 measurePreview(mSecondaryText, bounds); 579 applyLayout(mSecondaryText, bounds); 583 bounds.left -= mPreviewImage.getPaddingLeft(); 584 bounds.top -= mPreviewImage.getPaddingTop(); 585 bounds.right += mPreviewImage.getPaddingRight(); 586 bounds.bottom += mPreviewImage.getPaddingBottom(); 587 applyLayout(mPreviewImage, bounds); 600 applyLayout(View view, Rect bounds) argument 1666 animateBounds(View v, Rect bounds) argument [all...] |
H A D | ListPopupWindow.java | 108 * Optional anchor-relative bounds to be used as the transition epicenter. 109 * When {@code null}, the anchor bounds are used as the epicenter. 462 * Specifies the anchor-relative bounds of the popup's transition 465 * @param bounds anchor-relative bounds 468 public void setEpicenterBounds(Rect bounds) { argument 469 mEpicenterBounds = bounds; 1041 * outside of its bounds will open the popup window. Lifting will select the
|
H A D | ListView.java | 3295 void drawOverscrollHeader(Canvas canvas, Drawable drawable, Rect bounds) { argument 3299 canvas.clipRect(bounds); 3301 final int span = bounds.bottom - bounds.top; 3303 bounds.top = bounds.bottom - height; 3306 drawable.setBounds(bounds); 3312 void drawOverscrollFooter(Canvas canvas, Drawable drawable, Rect bounds) { argument 3316 canvas.clipRect(bounds); 3318 final int span = bounds 3515 drawDivider(Canvas canvas, Rect bounds, int childIndex) argument [all...] |
H A D | PopupWindow.java | 435 * Sets the bounds used as the epicenter of the enter and exit transitions. 438 * the direction of travel. For popup windows, the anchor view bounds are 444 * @param bounds the epicenter bounds relative to the anchor view, or 449 public void setEpicenterBounds(Rect bounds) { argument 450 mEpicenterBounds = bounds; 805 * <p>Allows the popup window to extend beyond the bounds of the screen. By default the 1867 * Returns the window-relative epicenter bounds to be used by enter and 1873 * @return the window-relative epicenter bounds to be used by enter and 1887 final Rect bounds [all...] |
H A D | RadialTimePickerView.java | 1274 private void getBoundsForVirtualView(int virtualViewId, Rect bounds) { argument 1306 bounds.set((int) (xCenter - radius), (int) (yCenter - radius),
|
H A D | ScrollBarDrawable.java | 154 protected void onBoundsChange(Rect bounds) { argument 155 super.onBoundsChange(bounds); 186 private void drawTrack(Canvas canvas, Rect bounds, boolean vertical) { argument 196 track.setBounds(bounds); 202 private void drawThumb(Canvas canvas, Rect bounds, int offset, int length, boolean vertical) { argument 208 thumb.setBounds(bounds.left, bounds.top + offset, 209 bounds.right, bounds.top + offset + length); 218 thumb.setBounds(bounds [all...] |
H A D | TextView.java | 2292 * The Drawables' bounds will be set to their intrinsic bounds. 2320 * Drawable there. The Drawables' bounds will be set to their intrinsic 2321 * bounds. 2496 * Drawables' bounds will be set to their intrinsic bounds. 2525 * there. The Drawables' bounds will be set to their intrinsic bounds. 3084 * metrics, and also increases top and bottom bounds to provide more space. 5267 Rect bounds 5943 getLineBounds(int line, Rect bounds) argument [all...] |
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | DockedDividerUtils.java | 55 * Makes sure that the bounds are always valid, i. e. they are at least one pixel high and wide. 57 * @param bounds The bounds to sanitize. 58 * @param topLeft Pass true if the bounds are at the top/left of the screen, false if they are 60 * the bounds. 62 public static void sanitizeStackBounds(Rect bounds, boolean topLeft) { argument 64 // If the bounds are either on the top or left of the screen, rather move it further to the 68 if (bounds.left >= bounds.right) { 69 bounds 84 calculatePositionForBounds(Rect bounds, int dockSide, int dividerSize) argument [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | MenuPopup.java | 65 * Specifies the anchor-relative bounds of the popup's transition 68 * @param bounds anchor-relative bounds 70 public void setEpicenterBounds(Rect bounds) { argument 71 mEpicenterBounds = bounds; 75 * @return anchor-relative bounds of the popup's transition epicenter
|
/frameworks/base/core/jni/android/graphics/ |
H A D | NinePatch.cpp | 98 SkRect bounds; local 99 GraphicsJNI::jrect_to_rect(env, boundsRect, &bounds); 102 NinePatch::Draw(NULL, bounds, bitmap, *chunk, NULL, ®ion);
|