/frameworks/support/leanback/src/androidTest/java/androidx/leanback/graphics/ |
FitWidthBitmapDrawableTest.java | 55 Rect bounds = new Rect(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT); local 56 drawable.setBounds(bounds); 61 Rect expectedBounds = bounds;
|
/frameworks/support/transition/src/main/java/androidx/transition/ |
ChangeClipBounds.java | 40 private static final String PROPNAME_BOUNDS = "android:clipBounds:bounds"; 67 Rect bounds = new Rect(0, 0, view.getWidth(), view.getHeight()); local 68 values.values.put(PROPNAME_BOUNDS, bounds);
|
Explode.java | 87 Rect bounds = (Rect) endValues.values.get(PROPNAME_SCREEN_BOUNDS); local 90 calculateOut(sceneRoot, bounds, mTempLoc); 94 return TranslationAnimationCreator.createAnimation(view, endValues, bounds.left, bounds.top, 104 Rect bounds = (Rect) startValues.values.get(PROPNAME_SCREEN_BOUNDS); local 105 int viewPosX = bounds.left; 106 int viewPosY = bounds.top; 115 endX += interruptedPosition[0] - bounds.left; 116 endY += interruptedPosition[1] - bounds.top; 117 bounds.offsetTo(interruptedPosition[0], interruptedPosition[1]) [all...] |
/libcore/luni/src/main/java/libcore/reflect/ |
TypeVariableImpl.java | 32 private ListOfTypes bounds; field in class:TypeVariableImpl 53 * @param bounds class and interface bounds 55 TypeVariableImpl(D genericDecl, String name, ListOfTypes bounds) { 58 this.bounds = bounds; 116 this.bounds = formalVar.bounds; 121 return bounds.getResolvedTypes().clone();
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/ |
CircleBitmapDrawable.java | 51 public void onBoundsChange(Rect bounds) { 52 super.onBoundsChange(bounds); 53 int width = bounds.right - bounds.left; 54 int height = bounds.bottom - bounds.top; 58 mDrawable.setBounds(bounds); 108 Rect bounds = getBounds(); local 111 setBounds(bounds);
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
FastScrollThumbDrawable.java | 50 protected void onBoundsChange(Rect bounds) { 53 float r = bounds.height() * 0.5f; 58 mPath.addRoundRect(bounds.left, bounds.top, bounds.left + diameter, bounds.top + diameter, 62 sMatrix.setRotate(-45, bounds.left + r, bounds.top + r); 64 sMatrix.postTranslate(bounds.width(), 0); 65 sMatrix.postScale(-1, 1, bounds.width(), 0) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
ShortcutDragPreviewProvider.java | 44 Rect bounds = getDrawableBounds(d); local 54 canvas.scale(((float) size) / bounds.width(), ((float) size) / bounds.height(), 0, 0); 55 canvas.translate(bounds.left, bounds.top);
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/ |
DrawableTileSource.java | 95 Rect bounds = new Rect(0, 0, getImageWidth(), getImageHeight()); local 96 bounds.offset(-x, -y); 97 mDrawable.setBounds(bounds);
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/ |
WallpaperTileInfo.java | 51 Point bounds = streamProvider.getImageBounds(); local 52 if (bounds == null) { 58 float[] rotatedBounds = new float[] { bounds.x, bounds.y };
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
ResizeState.java | 44 /** The proposed resized bounds of the node */ 45 public Rect bounds; field in class:ResizeState 47 /** The preferred wrap_content bounds of the node */ 103 * Returns the width attribute to be set to match the new bounds 113 return String.format(VALUE_N_DP, mRule.mRulesEngine.pxToDp(bounds.w)); 118 * Returns the height attribute to be set to match the new bounds 128 return String.format(VALUE_N_DP, mRule.mRulesEngine.pxToDp(bounds.h));
|
/system/bt/packet/tests/base/ |
iterator_test.cc | 32 auto bounds = GetParam(); local 33 auto lower_bound = bounds.first; 34 auto upper_bound = bounds.second;
|
/frameworks/base/core/java/android/transition/ |
Explode.java | 85 Rect bounds = (Rect) endValues.values.get(PROPNAME_SCREEN_BOUNDS); local 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); local 103 int viewPosX = bounds.left; 104 int viewPosY = bounds.top; 113 endX += interruptedPosition[0] - bounds.left; 114 endY += interruptedPosition[1] - bounds.top; 115 bounds.offsetTo(interruptedPosition[0], interruptedPosition[1]) [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
TaskLaunchParamsModifierTests.java | 46 * Tests for exercising resizing task bounds. 90 * Ensures that the setup bounds are set as expected with the stack bounds set and the task 91 * bounds still {@code null}. 184 // Second task will be laid out on top of the first so starting bounds is the same. 232 final Rect bounds = new Rect(); local 233 bounds.set(mStack.getOverrideBounds()); 240 bounds.inset(horizontalInset, verticalInset); 243 bounds.offsetTo(horizontalInset * 2, 0); 245 bounds.offsetTo(0, 0) [all...] |
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
BasicBitmapDrawable.java | 376 final Rect bounds = getBounds(); local 377 if (bounds.isEmpty()) { 384 bounds.width(), bounds.height(), 385 bounds.height(), Integer.MAX_VALUE, getDecodeHorizontalCenter(), 397 // We may need to rotate the canvas, so we also have to rotate the bounds. 398 final Rect rotatedBounds = new Rect(bounds); 399 RectUtils.rotateRect(orientation, bounds.centerX(), bounds.centerY(), rotatedBounds); 403 canvas.rotate(orientation, bounds.centerX(), bounds.centerY()) [all...] |
/packages/apps/Dialer/java/com/android/dialer/lettertile/ |
LetterTileDrawable.java | 144 // Crop the destination bounds into a square, scaled and offset as appropriate 182 final Rect bounds = getBounds(); local 183 if (!isVisible() || bounds.isEmpty()) { 202 final Rect bounds = getBounds(); local 203 final int minDimension = Math.min(bounds.width(), bounds.height()); 206 canvas.drawCircle(bounds.centerX(), bounds.centerY(), minDimension / 2, paint); 208 canvas.drawRect(bounds, paint); 216 // Scale text by canvas bounds and user selected scaling facto [all...] |
/art/test/640-checker-int-simd/src/ |
Main.java | 219 // Loop bounds. 222 static void bounds() { method in class:Main 258 // Loop bounds. 259 bounds(); method 262 expectEquals(11 - i, a[i], "bounds");
|
/art/test/640-checker-long-simd/src/ |
Main.java | 224 // Loop bounds. 227 static void bounds() { method in class:Main 263 // Loop bounds. 264 bounds(); method 267 expectEquals(11 - i, a[i], "bounds");
|
/external/ImageMagick/MagickCore/ |
attribute.c | 119 % o bounds: Method GetImageBoundingBox returns the bounding box of an 141 bounds; 153 bounds.width=0; 154 bounds.height=0; 155 bounds.x=(ssize_t) image->columns; 156 bounds.y=(ssize_t) image->rows; 163 return(bounds); 201 bounding_box=bounds; 230 if (bounding_box.x < bounds.x) 231 bounds.x=bounding_box.x 139 bounds; local [all...] |
/external/ImageMagick/coders/ |
pes.c | 458 bounds; 534 bounds.x1=65535.0; 535 bounds.y1=65535.0; 536 bounds.x2=(-65535.0); 537 bounds.y2=(-65535.0); 604 if ((double) x < bounds.x1) 605 bounds.x1=(double) x; 606 if ((double) x > bounds.x2) 607 bounds.x2=(double) x; 608 if ((double) y < bounds.y1 453 bounds; local [all...] |
xps.c | 145 bounds; 204 (void) ResetMagickMemory(&bounds,0,sizeof(bounds)); 232 &bounds.x1,&bounds.y1,&bounds.x2,&bounds.y2); 235 &bounds.x1,&bounds.y1,&bounds.x2,&bounds.y2) 143 bounds; local [all...] |
/external/annotation-tools/scene-lib/src/annotations/el/ |
AMethod.java | 12 * An annotated method; contains bounds, return, parameters, receiver, and throws. 15 /** The method's annotated type parameter bounds */ 16 public final VivifyingMap<BoundLocation, ATypeElement> bounds = field in class:AMethod 49 copyMapContents(method.bounds, bounds); 52 copyMapContents(method.bounds, bounds); 75 && bounds.equals(o.bounds) 89 + bounds.hashCode() + receiver.hashCode( [all...] |
/external/drm_hwcomposer/ |
separate_rects.h | 36 TFloat bounds[4]; member in union:separate_rects::Rect::__anon19001 51 bounds[i] = rhs.bounds[i]; 57 bounds[i] = rhs.bounds[i]; 63 if (bounds[i] != rhs.bounds[i]) 71 return bounds[2] - bounds[0]; 75 return bounds[3] - bounds[1] [all...] |
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/ |
ConstraintFormula.java | 110 public static ReductionResult bounds(BoundSet bounds) { method in class:ConstraintFormula.ReductionResult 112 reductionResult.boundSet = bounds;
|
/external/oj-libjdwp/src/share/javavm/export/ |
jawt.h | 165 JAWT_Rectangle bounds; member in struct:jawt_DrawingSurfaceInfo 204 * JAWT_LOCK_BOUNDS_CHANGED - When the bounds of the surface have changed.
|
/external/python/cpython2/Mac/Modules/fm/ |
_Fmmodule.c | 290 Rect bounds; local 299 &bounds); 301 PyMac_BuildRect, &bounds); 335 PyDoc_STR("(Buffer inText) -> (Rect bounds)")},
|