/frameworks/base/graphics/java/android/graphics/ |
H A D | Paint.java | 1219 * metrics, and also increases top and bottom bounds to provide more space. 1949 * <p>The shaping bounds limit the amount of context available 1951 * These bounds typically reflect changes in bidi level or font 2015 * the bounds of the metric span enclosing the cursor in the direction of 2055 * the bounds of the metric span enclosing the cursor in the direction of 2102 * the bounds of the metric span enclosing the cursor in the direction of 2178 * Return in bounds (allocated by the caller) the smallest rectangle that 2181 * @param text String to measure and return its bounds 2184 * @param bounds Returns the unioned bounds o 2187 getTextBounds(String text, int start, int end, Rect bounds) argument 2207 getTextBounds(char[] text, int index, int count, Rect bounds) argument 2286 nativeGetStringBounds(long nativePaint, long native_typeface, String text, int start, int end, int bidiFlags, Rect bounds) argument 2288 nativeGetCharArrayBounds(long nativePaint, long native_typeface, char[] text, int index, int count, int bidiFlags, Rect bounds) argument [all...] |
H A D | Path.java | 273 * not null, set rect to the bounds of the path. If the path does not 276 * @param rect If not null, returns the bounds of the path if it specifies 285 * Compute the bounds of the control points of the path, and write the 286 * answer into bounds. If the path contains 0 or 1 points, the bounds is 289 * @param bounds Returns the computed bounds of the path's control points. 293 public void computeBounds(RectF bounds, boolean exact) { argument 294 native_computeBounds(mNativePath, bounds); 430 * @param oval The bounds o 790 native_computeBounds(long nPath, RectF bounds) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | Patch.cpp | 233 Rect bounds(x1, y1, x2, y2); 234 quads.add(bounds);
|
H A D | DisplayListRenderer.cpp | 397 float totalAdvance, const Rect& bounds, DrawOpMode drawOpMode) { 415 x, y, positions, outlinePaint, totalAdvance, bounds)); // bounds? 422 x, y, positions, innerPaint, totalAdvance, bounds)); 428 x, y, positions, paint, totalAdvance, bounds); 395 drawText(const char* text, int bytesCount, int count, float x, float y, const float* positions, const SkPaint* paint, float totalAdvance, const Rect& bounds, DrawOpMode drawOpMode) argument
|
H A D | LayerRenderer.cpp | 454 Rect bounds; local 455 bounds.set(0.0f, 0.0f, bitmap->width(), bitmap->height()); 456 renderer.drawTextureLayer(layer, bounds);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
H A D | WallpaperCropActivity.java | 315 final Point bounds = cropTask.getImageBounds(); 597 // Find crop bounds (scaled to original image size) 602 Point bounds = getImageBounds(); 610 if (bounds == null) { 611 Log.w(LOGTAG, "cannot get bounds for image"); 616 float[] rotatedBounds = new float[] { bounds.x, bounds.y }; 623 mCropBounds.offset(bounds.x/2, bounds.y/2); 682 scaleDownSampleSize = bounds [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas_Delegate.java | 436 Rect bounds) { 445 bounds.left = rect.x; 446 bounds.top = rect.y; 447 bounds.right = rect.x + rect.width; 448 bounds.bottom = rect.y + rect.height; 975 RectF bounds = paintDelegate.measureText(text, index, count, null, 0, 977 float m = bounds.right - bounds.left; 435 native_getClipBounds(long nativeCanvas, Rect bounds) argument
|
/frameworks/base/core/tests/inputmethodtests/src/android/os/ |
H A D | CursorAnchorInfoTest.java | 100 final RectF bounds = MANY_BOUNDS[i]; 102 builder.addCharacterBounds(i, bounds.left, bounds.top, bounds.right, bounds.bottom,
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | AccessibilityController.java | 527 Region bounds = Region.obtain(); 528 bounds.set(magnifiedBounds); 530 bounds).sendToTarget(); 702 public void setBounds(Region bounds) { argument 704 if (mBounds.equals(bounds)) { 707 mBounds.set(bounds); 710 Slog.i(LOG_TAG, "ViewportWindow set bounds: " + bounds); 857 Region bounds = (Region) message.obj; 858 mCallbacks.onMagnifedBoundsChanged(bounds); [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | LayerDrawable.java | 429 final Rect bounds = childDrawable.mDrawable.getBounds(); 430 drawable.setBounds(bounds); 467 * Specifies how layer padding should affect the bounds of subsequent 793 protected void onBoundsChange(Rect bounds) { argument 804 r.mDrawable.setBounds(bounds.left + r.mInsetL + padL, bounds.top + r.mInsetT + padT, 805 bounds.right - r.mInsetR - padR, bounds.bottom - r.mInsetB - padB);
|
H A D | AnimatedVectorDrawable.java | 185 protected void onBoundsChange(Rect bounds) { argument 186 mAnimatedVectorState.mVectorDrawable.setBounds(bounds);
|
H A D | InsetDrawable.java | 47 * the View's actual bounds. 352 protected void onBoundsChange(Rect bounds) { argument 354 r.set(bounds);
|
H A D | ShapeDrawable.java | 332 protected void onBoundsChange(Rect bounds) { argument 333 super.onBoundsChange(bounds); 614 // a bitmap to fill the bounds without needing any other special casing.
|
/frameworks/native/libs/gui/ |
H A D | Surface.cpp | 752 err = src->lock(GRALLOC_USAGE_SW_READ_OFTEN, reg.bounds(), (void**)&src_bits); 756 err = dst->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, reg.bounds(), (void**)&dst_bits); 819 const Rect bounds(backBuffer->width, backBuffer->height); 824 newDirtyRegion.andSelf(bounds); 826 newDirtyRegion.set(bounds); 844 newDirtyRegion.set(bounds); 871 newDirtyRegion.bounds(), &vaddr, fenceFd);
|
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.h | 143 inline Rect bounds() const { return getBounds(); } function in class:android::DisplayDevice
|
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/ |
H A D | RoundedBitmapDrawable.java | 125 * Get the gravity used to position/stretch the bitmap within its bounds. 136 * Set the gravity used to position/stretch the bitmap within its bounds. 214 Rect bounds, Rect outRect) { 213 gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, Rect bounds, Rect outRect) argument
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityWindowInfo.java | 212 * Gets the bounds of this window in the screen. 214 * @param outBounds The out window bounds. 221 * Sets the bounds of this window in the screen. 223 * @param bounds The out window bounds. 227 public void setBoundsInScreen(Rect bounds) { argument 228 mBoundsInScreen.set(bounds); 471 builder.append(", bounds=").append(mBoundsInScreen);
|
H A D | AccessibilityNodeInfo.java | 1409 * Gets the node bounds in parent coordinates. 1411 * @param outBounds The output node bounds. 1419 * Sets the node bounds in parent coordinates. 1426 * @param bounds The node bounds. 1430 public void setBoundsInParent(Rect bounds) { argument 1432 mBoundsInParent.set(bounds.left, bounds.top, bounds.right, bounds 1457 setBoundsInScreen(Rect bounds) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ImageView.java | 227 * can be applied. In theory we could get the drawable's bounds 252 * True when ImageView is adjusting its bounds 255 * @return whether to adjust the bounds of this view 267 * Set this to true if you want the ImageView to adjust its bounds 271 * adjustViewBounds will allow the drawable to shrink the view bounds, but not grow 276 * @param adjustViewBounds Whether to adjust the bounds of this view 315 * the image within the bounds. 353 * the image within the bounds. 582 * Options for scaling the bounds of an image to the bounds o [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | SkiaCanvas.cpp | 290 SkRect bounds = SkRect::MakeLTRB(left, top, right, bottom); local 291 int count = mCanvas->saveLayer(&bounds, paint, flags | SkCanvas::kMatrixClip_SaveFlag); 298 SkRect bounds = SkRect::MakeLTRB(left, top, right, bottom); local 299 int count = mCanvas->saveLayerAlpha(&bounds, alpha, flags | SkCanvas::kMatrixClip_SaveFlag); 406 // if we can't invert the CTM, we can't return local clip bounds 422 SkRect bounds = SkRect::MakeLTRB(left, top, right, bottom); local 423 return mCanvas->quickReject(bounds);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLES20Canvas.java | 993 public void getBounds(Rect bounds, int x, int y, int width, int height) { argument 998 bounds.left = Math.round(mTempMatrix[MATRIX_SIZE]); 999 bounds.right = Math.round(mTempMatrix[MATRIX_SIZE + 4]); 1000 bounds.top = Math.round(mTempMatrix[MATRIX_SIZE + 1]); 1001 bounds.bottom = Math.round(mTempMatrix[MATRIX_SIZE + 5]); 1002 bounds.sort();
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | StaggeredGridLayoutManagerTest.java | 500 // set a new adapter with huge items to test full bounds check 881 // we append a suffix to the parcelable to test out of bounds 1004 // we append a suffix to the parcelable to test out of bounds 1053 // we append a suffix to the parcelable to test out of bounds 1072 assertEquals("Parcel reading should not go out of bounds", parcelSuffix, 1153 final Rect bounds = mLayoutManager.getViewBounds(child); 1155 Log.d(TAG, config + " post scroll to invisible mPosition " + bounds + " in " 1223 Rect bounds = mLayoutManager.getViewBounds(view); 1224 if (layoutBounds.contains(bounds)) { 1234 + " " + bounds [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ActivityManager.java | 1707 public Rect bounds = new Rect(); field in class:ActivityManager.StackInfo 1720 dest.writeInt(bounds.left); 1721 dest.writeInt(bounds.top); 1722 dest.writeInt(bounds.right); 1723 dest.writeInt(bounds.bottom); 1731 bounds = new Rect( 1759 sb.append(" bounds="); sb.append(bounds.toShortString());
|
H A D | ExitTransitionCoordinator.java | 391 RectF bounds = new RectF(); 400 captureSharedElementState(view, name, bundle, matrix, bounds);
|
/frameworks/av/services/audioflinger/ |
H A D | FastMixer.cpp | 481 // sample arrays aren't accessed atomically with respect to the bounds, 557 uint32_t bounds = mBounds; local 558 uint32_t newestOpen = bounds & 0xFFFF; 559 uint32_t oldestClosed = bounds >> 16;
|