/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
H A D | TaskStack.java | 348 Rect bounds = dockAreaOverlay.getBounds(); 349 int x = bounds.left + (bounds.width() - mHintTextBounds.x) / 2; 350 int y = bounds.top + (bounds.height() + mHintTextBounds.y) / 2; 354 canvas.rotate(-90f, bounds.centerX(), bounds.centerY()); 364 * Creates a new bounds and alpha animation. 366 public void startAnimation(Rect bounds, int areaAlpha, int hintAlpha, int duration, argument 399 if (bounds ! [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | BarTransitions.java | 206 protected void onBoundsChange(Rect bounds) { argument 207 super.onBoundsChange(bounds); 208 mGradient.setBounds(bounds);
|
/frameworks/base/tools/layoutlib/bridge/src/android/text/ |
H A D | StaticLayout_Delegate.java | 215 RectF bounds = new BidiRenderer(null, paint, text) 217 return bounds.right - bounds.left;
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
H A D | GlifPatternDrawable.java | 162 final Rect bounds = getBounds(); 163 final int height = bounds.height(); 164 final int width = bounds.width();
|
/frameworks/support/design/tests/src/android/support/design/testutils/ |
H A D | TestUtilsMatchers.java | 175 final Rect bounds = startDrawable.getBounds(); 177 startDrawable, bounds.width(), bounds.height(), true,
|
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/ |
H A D | RoundedBitmapDrawable.java | 128 * Get the gravity used to position/stretch the bitmap within its bounds. 139 * Set the gravity used to position/stretch the bitmap within its bounds. 217 Rect bounds, Rect outRect) { 337 protected void onBoundsChange(Rect bounds) { argument 338 super.onBoundsChange(bounds); 216 gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, Rect bounds, Rect outRect) argument
|
/frameworks/support/v4/java/android/support/v4/view/accessibility/ |
H A D | AccessibilityWindowInfoCompat.java | 327 * Gets the bounds of this window in the screen. 329 * @param outBounds The out window bounds. 466 Rect bounds = new Rect(); 467 getBoundsInScreen(bounds); 472 builder.append(", bounds=").append(bounds);
|
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/ |
H A D | DrawerArrowDrawable.java | 321 Rect bounds = getBounds(); 383 final int remainingSpace = (int) (bounds.height() - barThickness * 3 - mBarGap * 2); 387 canvas.translate(bounds.centerX(), yOffset);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas_Delegate.java | 450 Rect bounds) { 459 bounds.left = rect.x; 460 bounds.top = rect.y; 461 bounds.right = rect.x + rect.width; 462 bounds.bottom = rect.y + rect.height; 718 Rectangle2D bounds = shape.getBounds2D(); 719 if (bounds.isEmpty()) { 729 // The stroke width is not consider for the size of the bounds so, 738 bounds.setRect(bounds 449 native_getClipBounds(long nativeCanvas, Rect bounds) argument [all...] |
H A D | Path_Delegate.java | 207 /*package*/ static void native_computeBounds(long nPath, RectF bounds) { argument 213 pathDelegate.fillBounds(bounds); 622 * Fills the given {@link RectF} with the path bounds. 623 * @param bounds the RectF to be filled. 625 public void fillBounds(RectF bounds) { argument 627 bounds.left = (float)rect.getMinX(); 628 bounds.right = (float)rect.getMaxX(); 629 bounds.top = (float)rect.getMinY(); 630 bounds.bottom = (float)rect.getMaxY();
|
H A D | BidiRenderer.java | 135 * @return A rectangle specifying the bounds of the text drawn. 151 * Render a script run to the right of the bounds passed. Use the preferred font to render as 213 * Renders the text to the right of the bounds with the given font. 241 // Update the bounds. 243 RectF bounds = awtRectToAndroidRect(awtBounds, mBounds.right, mBaseline); 244 // If the width of the bounds is zero, no text had been drawn earlier. Hence, use the 245 // coordinates from the bounds as an offset. 247 mBounds = bounds; 249 mBounds.union(bounds);
|
/frameworks/base/libs/hwui/ |
H A D | RecordingCanvas.cpp | 132 // determine clipped bounds relative to previous viewport. 149 // Map visible bounds back to layer space, and intersect with parameter bounds 159 // layerBounds is in original bounds space, but clipped by current recording clip 230 SkRect bounds = path.getBounds(); local 231 return mState.quickRejectConservative(bounds.fLeft, bounds.fTop, bounds.fRight, bounds.fBottom); 254 SkRect bounds; local [all...] |
H A D | PathCache.cpp | 131 const SkRect& bounds = path->getBounds(); local 132 PathCache::computeBounds(bounds, paint, left, top, offset, width, height); 135 void PathCache::computeBounds(const SkRect& bounds, const SkPaint* paint, argument 137 const float pathWidth = std::max(bounds.width(), 1.0f); 138 const float pathHeight = std::max(bounds.height(), 1.0f); 140 left = bounds.fLeft; 141 top = bounds.fTop;
|
H A D | VectorDrawable.cpp | 460 const SkRect& bounds, bool needsMirroring, bool canReuseCache) { 463 // size first. This bitmap size is determined by the bounds and the 475 int scaledWidth = (int) (bounds.width() * canvasScaleX); 476 int scaledHeight = (int) (bounds.height() * canvasScaleY); 486 outCanvas->translate(bounds.fLeft, bounds.fTop); 490 outCanvas->translate(bounds.width(), 0); 498 SkRect tmpBounds = bounds; 459 draw(Canvas* outCanvas, SkColorFilter* colorFilter, const SkRect& bounds, bool needsMirroring, bool canReuseCache) argument
|
H A D | LayerBuilder.cpp | 55 ALOGD(" Batch %p, id %d, merging %d, count %d, bounds " RECT_STRING, 85 * Helper for determining if a new op can merge with a MergingDrawBatch based on their bounds 86 * and clip side flags. Positive bounds delta means new bounds fit in old. 93 // if current is clipped, we must be able to fit new bounds in current 96 // if new is clipped, we must be able to fit current bounds in new 150 * Exploits the fact that if a op or batch is clipped on a side, its bounds will equal its 189 // Therefore it's safe to simply always merge flags, and use the bounds as the clip rect. 264 Rect bounds = mClearRects[0]; local 266 bounds [all...] |
H A D | GlopBuilder.cpp | 518 mOutGlop->bounds = destination; 544 mOutGlop->bounds = destination; 554 mOutGlop->bounds = source; 555 mOutGlop->bounds.translate(offsetX, offsetY); 577 mOutGlop->bounds = source; 578 mOutGlop->bounds.translate(offsetX, offsetY); 677 // Final step: populate program and map bounds into render target space 680 mOutGlop->transform.meshTransform().mapRect(mOutGlop->bounds); 722 ALOGD("Glop bounds " RECT_STRING, RECT_ARGS(glop.bounds)); [all...] |
/frameworks/base/core/java/android/gesture/ |
H A D | GestureOverlayView.java | 297 final RectF bounds = new RectF(); 298 path.computeBounds(bounds, true); 302 mPath.addPath(path, -bounds.left + (getWidth() - bounds.width()) / 2.0f, 303 -bounds.top + (getHeight() - bounds.height()) / 2.0f);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | DimLayer.java | 80 /** Gets the bounds of the dim layer user. */ 225 /** @param bounds The new bounds to set */ 226 void setBounds(Rect bounds) { argument 227 mBounds.set(bounds); 228 if (isDimming() && !mLastBounds.equals(bounds)) {
|
/frameworks/ex/framesequence/src/android/support/rastermill/ |
H A D | FrameSequenceDrawable.java | 262 * <p> The masking circle will be the largest circle contained in the Drawable's bounds. 369 Rect bounds = getBounds(); 371 float width = bounds.width(); 372 float height = bounds.height();
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ListViewCompat.java | 209 final Rect bounds = mSelectorRect; 210 final float x = bounds.exactCenterX(); 211 final float y = bounds.exactCenterY();
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLCanvas.java | 204 * Gets the bounds given by x, y, width, and height as well as the internal 206 * It only considers the lower-left and upper-right corners as the bounds. 208 * @param bounds The output bounds to write to. 214 public abstract void getBounds(Rect bounds, int x, int y, int width, int height); argument
|
/frameworks/minikin/include/minikin/ |
H A D | MinikinFont.h | 109 virtual void GetBounds(MinikinRect* bounds, uint32_t glyph_id,
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | BitmapDrawable.java | 276 /** Get the gravity used to position/stretch the bitmap within its bounds. 284 /** Set the gravity used to position/stretch the bitmap within its bounds. 475 protected void onBoundsChange(Rect bounds) { argument 481 updateMirrorMatrix(bounds.right - bounds.left); 579 final Rect bounds = getBounds(); 582 bounds, mDstRect, layoutDirection); 584 final int left = mDstRect.left - bounds.left; 585 final int top = mDstRect.top - bounds.top; 586 final int right = bounds [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/ |
H A D | VectorDrawable_Delegate.java | 128 long colorFilterPtr, Rect bounds, boolean needsMirroring, boolean canReuseCache) { 132 Canvas_Delegate.native_translate(canvasWrapperPtr, bounds.left, bounds.top); 135 Canvas_Delegate.native_translate(canvasWrapperPtr, bounds.width(), 0); 142 bounds.offsetTo(0, 0); 143 nativePathRenderer.draw(canvasWrapperPtr, colorFilterPtr, bounds.width(), bounds.height()); 147 return bounds.width() * bounds.height(); 127 nDraw(long rendererPtr, long canvasWrapperPtr, long colorFilterPtr, Rect bounds, boolean needsMirroring, boolean canReuseCache) argument
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityStackSupervisor.java | 268 // The height/width divide used when fitting a task within a bounds with method 270 // We always want the task to to be visible in the bounds without affecting its size when 272 // the input bounds right or bottom side minus the width or height divided by this value. 1860 final Rect bounds = TaskRecord.validateBounds(options.getLaunchBounds()); 1861 task.updateOverrideConfiguration(bounds); 1873 resizeStackLocked(stackId, bounds, 1878 // because Task's setBounds() also updates dim layer's bounds, but that has 1898 // We use the launch bounds in the activity options is the device supports freeform 2001 void resizeStackLocked(int stackId, Rect bounds, Rect tempTaskBounds, Rect tempTaskInsetBounds, argument 2004 resizeDockedStackLocked(bounds, tempTaskBound 2059 resizeStackUncheckedLocked(ActivityStack stack, Rect bounds, Rect tempTaskBounds, Rect tempTaskInsetBounds) argument 2236 resizeTaskLocked(TaskRecord task, Rect bounds, int resizeMode, boolean preserveWindow, boolean deferResume) argument 2520 moveTopStackActivityToPinnedStackLocked(int stackId, Rect bounds) argument 2545 moveActivityToPinnedStackLocked(ActivityRecord r, String reason, Rect bounds) argument 4327 fitWithinBounds(Rect bounds, Rect stackBounds) argument [all...] |