Home
last modified time | relevance | path

Searched +defs:bounds +defs:top (Results 1 – 25 of 110) sorted by relevance

12345

/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DStyledCornersBitmapDrawable.java217 protected void onBoundsChange(Rect bounds) { in onBoundsChange()
229 final Rect bounds = getBounds(); in draw() local
250 float top = bounds.top + mBorderWidth / 2; in draw() local
302 final Rect bounds = getBounds(); in drawFakeCornersForCompatibilityMode() local
305 float top = bounds.top; in drawFakeCornersForCompatibilityMode() local
394 Rect bounds = getBounds(); in recalculatePath() local
402 float top = bounds.top + mBorderWidth / 2; in recalculatePath() local
/frameworks/base/graphics/java/android/graphics/
DCanvas.java501 public int saveLayer(@Nullable RectF bounds, @Nullable Paint paint, @Saveflags int saveFlags) { in saveLayer()
536 public int saveLayer(@Nullable RectF bounds, @Nullable Paint paint) { in saveLayer()
543 public int saveUnclippedLayer(int left, int top, int right, int bottom) { in saveUnclippedLayer()
565 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint, in saveLayer()
576 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint) { in saveLayer()
610 public int saveLayerAlpha(@Nullable RectF bounds, int alpha, @Saveflags int saveFlags) { in saveLayerAlpha()
628 public int saveLayerAlpha(@Nullable RectF bounds, int alpha) { in saveLayerAlpha()
640 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, in saveLayerAlpha()
651 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha) { in saveLayerAlpha()
987 public boolean clipRect(float left, float top, float right, float bottom, in clipRect()
[all …]
DPath.java309 public void computeBounds(@NonNull RectF bounds, boolean exact) { in computeBounds()
321 public void computeBounds(@NonNull RectF bounds) { in computeBounds()
533 public void arcTo(float left, float top, float right, float bottom, float startAngle, in arcTo()
581 public void addRect(float left, float top, float right, float bottom, @NonNull Direction dir) { in addRect()
600 public void addOval(float left, float top, float right, float bottom, @NonNull Direction dir) { in addOval()
633 public void addArc(float left, float top, float right, float bottom, float startAngle, in addArc()
657 public void addRoundRect(float left, float top, float right, float bottom, float rx, float ry, in addRoundRect()
686 public void addRoundRect(float left, float top, float right, float bottom, in addRoundRect()
861 private static native void nComputeBounds(long nPath, RectF bounds); in nComputeBounds()
877 private static native void nArcTo(long nPath, float left, float top, float right, float bottom, in nArcTo()
[all …]
/frameworks/base/libs/hwui/canvas/
DCanvasFrontend.cpp52 const SkRect& bounds, bool aa, bool fillsBounds) { in apply()
74 SkRect bounds = path.getBounds(); in internalClipPath() local
110 SkIRect bounds = clip().bounds; in getClipBounds() local
128 bool CanvasStateHelper::quickRejectRect(float left, float top, float right, float bottom) const { in quickRejectRect()
/frameworks/base/core/java/android/transition/
DTransitionUtils.java94 RectF bounds = new RectF(0, 0, view.getWidth(), view.getHeight()); in copyViewImage() local
97 int top = Math.round(bounds.top); in copyViewImage() local
135 int top = existingBounds.top; in createDrawableBitmap() local
160 public static Bitmap createViewBitmap(View view, Matrix matrix, RectF bounds, in createViewBitmap()
DExplode.java61 int top = mTempLoc[1]; in captureValues() local
85 Rect bounds = (Rect) endValues.values.get(PROPNAME_SCREEN_BOUNDS); in onAppear() local
102 Rect bounds = (Rect) startValues.values.get(PROPNAME_SCREEN_BOUNDS); in onDisappear() local
125 private void calculateOut(View sceneRoot, Rect bounds, int[] outVector) { in calculateOut()
DChangeImageTransform.java94 int top = view.getTop(); in captureValues() local
98 Rect bounds = new Rect(left, top, right, bottom); in captureValues() local
/frameworks/base/libs/hwui/tests/common/scenes/
DSaveLayer2Animation.cpp38 SkIRect bounds = SkIRect::MakeWH(width, height); in createContent() local
42 int top = bounds.fTop; in createContent() local
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/
DSharedNotificationContainerViewModelTest.kt551 val bounds by collectLastValue(underTest.bounds) in <lambda>() constant
573 val bounds by collectLastValue(underTest.bounds) in <lambda>() constant
608 val bounds by collectLastValue(underTest.bounds) in <lambda>() constant
636 val bounds by collectLastValue(underTest.bounds) in <lambda>() constant
652 val bounds by collectLastValue(underTest.bounds) in <lambda>() constant
818 val bounds by collectLastValue(underTest.bounds) in <lambda>() constant
819 val top = 123f in <lambda>() constant
853 val bounds by collectLastValue(underTest.bounds) in <lambda>() constant
854 val top = 123f in <lambda>() constant
/frameworks/base/core/java/android/view/animation/
DTransformation.java131 Rect bounds = t.getClipRect(); in compose() local
151 Rect bounds = t.getClipRect(); in postCompose() local
229 public void setInsets(int left, int top, int right, int bottom) { in setInsets()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
DNopCanvas.java63 public int saveLayer(RectF bounds, Paint paint, int saveFlags) { in saveLayer()
68 public int saveLayer(RectF bounds, Paint paint) { in saveLayer()
73 public int saveLayer(float left, float top, float right, float bottom, Paint paint, in saveLayer()
79 public int saveLayer(float left, float top, float right, float bottom, Paint paint) { in saveLayer()
84 public int saveLayerAlpha(RectF bounds, int alpha, int saveFlags) { in saveLayerAlpha()
89 public int saveLayerAlpha(RectF bounds, int alpha) { in saveLayerAlpha()
94 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, in saveLayerAlpha()
100 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha) { in saveLayerAlpha()
170 public void drawRect(float left, float top, float right, float bottom, Paint paint) { in drawRect()
178 public void drawOval(float left, float top, float right, float bottom, Paint paint) { in drawOval()
[all …]
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/
DReplacementDrawableSpan.java33 final Rect bounds = getBounds(); in setupFontMetrics() local
51 public void draw(Canvas canvas, CharSequence charSequence, int start, int end, float x, int top, in draw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DHardwareBgDrawable.java81 Rect bounds = getBounds(); in draw() local
82 int top = bounds.top + mPoint; in draw() local
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/
DPaintContext.java44 float top, in drawArc()
50 public abstract void drawBitmap(int id, float left, float top, float right, float bottom); in drawBitmap()
56 public abstract void drawOval(float left, float top, float right, float bottom); in drawOval()
60 public abstract void drawRect(float left, float top, float right, float bottom); in drawRect()
63 float top, in drawRoundRect()
85 float[]bounds); in getTextBounds()
176 public abstract void clipRect(float left, float top, float right, float bottom); in clipRect()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcherScrim.java59 Rect bounds = getBounds(); in draw() local
85 public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, in onLayoutChange()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBatteryMeterDrawableBase.java244 public void setBounds(int left, int top, int right, int bottom) { in setBounds()
250 final Rect bounds = getBounds(); in updateSize() local
271 public void setPadding(int left, int top, int right, int bottom) { in setPadding()
315 final Rect bounds = getBounds(); in draw() local
325 final int top = bounds.bottom - mPadding.bottom - height; in draw() local
/frameworks/base/core/java/android/widget/
DFastScroller.java588 final Rect bounds = mTempBounds; in updateLayout() local
613 private void applyLayout(View view, Rect bounds) { in applyLayout()
697 final int top = marginTop; in measureViewToSide() local
728 final int top = containerHeight / 10 + marginTop + container.top; in measureFloating() local
772 final Rect bounds = mTempBounds; in layoutThumb() local
792 final int top; in layoutTrack() local
1136 final Rect bounds = mTempBounds; in transitionPreviewLayout() local
1231 final int top = container.top; in setThumbPos() local
1571 final float top = mThumbImage.getTop() + offset; in isPointInsideY() local
1689 private static Animator animateBounds(View v, Rect bounds) { in animateBounds()
[all …]
/frameworks/base/core/tests/coretests/src/android/text/
DTextLineTest.java366 float[] bounds = new float[12]; in testMeasureAllBounds_LTR() local
383 float[] bounds = new float[12]; in testMeasureAllBounds_LTR_StyledText() local
398 float[] bounds = new float[12]; in testMeasureAllBounds_RTL() local
416 float[] bounds = new float[12]; in testMeasureAllBounds_RTL_StyledText() local
431 float[] bounds = new float[12]; in testMeasureAllBounds_BiDi() local
446 float[] bounds = new float[14]; in testMeasureAllBounds_BiDi2() local
462 float[] bounds = new float[14]; in testMeasureAllBounds_BiDi3() local
481 float[] bounds = new float[12]; in testMeasureAllBounds_styled_BiDi() local
498 float[] bounds = new float[10]; in testMeasureAllBounds_Tab_LTR() local
515 float[] bounds = new float[10]; in testMeasureAllBounds_Tab_RTL() local
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/scrim/
DScrimDrawable.java266 protected void onBoundsChange(Rect bounds) { in onBoundsChange()
281 float top = mBottomEdgePosition; in updatePath() local
283 mConcaveInfo.mPath.addRoundRect(getBounds().left, top, getBounds().right, bottom, in updatePath() local
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DAssistVisualizer.java36 final Rect bounds; field in AssistVisualizer.TextEntry
49 int top = parentTop+node.getTop(); in TextEntry() local
/frameworks/base/libs/hwui/
DSkiaCanvas.cpp224 int SkiaCanvas::saveLayer(float left, float top, float right, float bottom, const SkPaint* paint) { in saveLayer()
225 const SkRect bounds = SkRect::MakeLTRB(left, top, right, bottom); in saveLayer() local
231 int SkiaCanvas::saveLayerAlpha(float left, float top, float right, float bottom, int alpha) { in saveLayerAlpha()
240 int SkiaCanvas::saveUnclippedLayer(int left, int top, int right, int bottom) { in saveUnclippedLayer()
241 SkRect bounds = SkRect::MakeLTRB(left, top, right, bottom); in saveUnclippedLayer() local
400 bool SkiaCanvas::quickRejectRect(float left, float top, float right, float bottom) const { in quickRejectRect()
401 SkRect bounds = SkRect::MakeLTRB(left, top, right, bottom); in quickRejectRect() local
409 bool SkiaCanvas::clipRect(float left, float top, float right, float bottom, SkClipOp op) { in clipRect()
427 bool SkiaCanvas::replaceClipRect_deprecated(float left, float top, float right, float bottom) { in replaceClipRect_deprecated()
533 void SkiaCanvas::drawRect(float left, float top, float right, float bottom, const Paint& paint) { in drawRect()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DConfigurationContainer.java383 public boolean equivalentRequestedOverrideBounds(Rect bounds) { in equivalentRequestedOverrideBounds()
388 public boolean equivalentRequestedOverrideMaxBounds(Rect bounds) { in equivalentRequestedOverrideMaxBounds()
395 public static boolean equivalentBounds(Rect bounds, Rect other) { in equivalentBounds()
424 Rect bounds = getBounds(); in getPosition() local
478 public int setBounds(Rect bounds) { in setBounds()
494 public int setBounds(int left, int top, int right, int bottom) { in setBounds()
510 int diffRequestedOverrideMaxBounds(Rect bounds) { in diffRequestedOverrideMaxBounds()
532 int diffRequestedOverrideBounds(Rect bounds) { in diffRequestedOverrideBounds()
/frameworks/base/core/java/android/view/
DDisplayCutout.java185 private Bounds(Rect left, Rect top, Rect right, Rect bottom, boolean copyArguments) { in Bounds()
555 private DisplayCutout(Rect safeInsets, Insets waterfallInsets, Rect[] bounds, in DisplayCutout()
561 private DisplayCutout(Rect safeInsets, Insets waterfallInsets, Bounds bounds, in DisplayCutout()
566 private DisplayCutout(Rect safeInsets, Insets waterfallInsets, Bounds bounds, in DisplayCutout()
960 Rect[] bounds = mBounds.getRects(); in inset() local
1015 int left, int top, int right, int bottom, @BoundsPosition int pos) { in fromBoundingRect()
1016 Rect[] bounds = new Rect[BOUNDS_POSITION_LENGTH]; in fromBoundingRect() local
1028 public static DisplayCutout constructDisplayCutout(Rect[] bounds, Insets waterfallInsets, in constructDisplayCutout()
1039 public static DisplayCutout fromBounds(Rect[] bounds) { in fromBounds()
1518 Rect[] bounds = new Rect[BOUNDS_POSITION_LENGTH]; in readCutoutFromParcel() local
[all …]
DPrivacyIndicatorBounds.java66 public PrivacyIndicatorBounds updateBoundsForRotation(@Nullable Rect bounds, in updateBoundsForRotation()
98 int top = Math.max(0, orig.top - insetTop); in insetRect() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/
DBrightnessDialog.java137 Rect bounds = new Rect(); in setBrightnessDialogViewAttributes() local
139 (v, left, top, right, bottom, oldLeft, oldTop, oldRight, oldBottom) -> { in setBrightnessDialogViewAttributes() argument

12345