Home
last modified time | relevance | path

Searched refs:getBounds (Results 1 – 25 of 98) sorted by relevance

1234

/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DBandSelectionUiTest.java42 Rect dirListBounds = bots.directory.findDocumentsList().getBounds(); in testBandSelection_allFiles()
43 Rect startDir = bots.directory.findDocument(dirName1).getBounds(); in testBandSelection_allFiles()
53 Rect dirListBounds = bots.directory.findDocumentsList().getBounds(); in testBandSelection_someFiles()
54 Rect startDoc = bots.directory.findDocument(fileNameNoRename).getBounds(); in testBandSelection_someFiles()
55 Rect endDoc = bots.directory.findDocument(fileName1).getBounds(); in testBandSelection_someFiles()
DFingerSelectionUiTest.java42 Rect dirListBounds = bots.directory.findDocumentsList().getBounds(); in testFingerSelection_outOfRange()
43 Rect firstDoc = bots.directory.findDocument(fileName1).getBounds(); in testFingerSelection_outOfRange()
DContextMenuUiTest.java108 Rect dirListBounds = bots.directory.findDocumentsList().getBounds(); in testContextMenu_onEmptyArea()
109 Rect dirBounds = bots.directory.findDocument(dirName1).getBounds(); in testContextMenu_onEmptyArea()
/packages/apps/DevCamera/src/com/android/devcamera/
DNormalizedFace.java50 if (face.getBounds() != null) { in NormalizedFace()
52 bounds.left = (float) (face.getBounds().left - offX) / dX; in NormalizedFace()
53 bounds.top = (float) (face.getBounds().top - offY) / dY; in NormalizedFace()
54 bounds.right = (float) (face.getBounds().right - offX) / dX; in NormalizedFace()
55 bounds.bottom = (float) (face.getBounds().bottom - offY) / dY; in NormalizedFace()
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/widget/
DUdfpsEnrollProgressBarDrawable.java357 canvas.rotate(-90f, getBounds().centerX(), getBounds().centerY()); in draw()
366 getBounds().right - halfPaddingPx, in draw()
367 getBounds().bottom - halfPaddingPx, in draw()
379 getBounds().right - halfPaddingPx, in draw()
380 getBounds().bottom - halfPaddingPx, in draw()
391 final float centerXOffset = (getBounds().width() - mStrokeWidthPx) / 2f * offsetScale; in draw()
392 final float centerYOffset = (getBounds().height() - mStrokeWidthPx) / 2f * offsetScale; in draw()
393 final float centerX = getBounds().centerX() + centerXOffset; in draw()
394 final float centerY = getBounds().centerY() + centerYOffset; in draw()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DUdfpsEnrollProgressBarDrawable.java357 canvas.rotate(-90f, getBounds().centerX(), getBounds().centerY()); in draw()
366 getBounds().right - halfPaddingPx, in draw()
367 getBounds().bottom - halfPaddingPx, in draw()
379 getBounds().right - halfPaddingPx, in draw()
380 getBounds().bottom - halfPaddingPx, in draw()
391 final float centerXOffset = (getBounds().width() - mStrokeWidthPx) / 2f * offsetScale; in draw()
392 final float centerYOffset = (getBounds().height() - mStrokeWidthPx) / 2f * offsetScale; in draw()
393 final float centerX = getBounds().centerX() + centerXOffset; in draw()
394 final float centerY = getBounds().centerY() + centerYOffset; in draw()
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/
DFastBitmapDrawable.java103 Rect bounds = getBounds(); in draw()
108 drawInternal(canvas, getBounds()); in draw()
186 return getBounds().width(); in getMinimumWidth()
191 return getBounds().height(); in getMinimumHeight()
DFixedScaleDrawable.java31 getBounds().exactCenterX(), getBounds().exactCenterY()); in draw()
DRoundDrawableWrapper.java42 mTempRect.set(getBounds()); in onBoundsChange()
/packages/apps/TV/src/com/android/tv/menu/
DPlaybackProgressBar.java140 Rect oldBounds = drawable.getBounds(); in setProgressBound()
148 int width = mProgressDrawable.getBounds().width(); in setProgressBound()
149 int height = mProgressDrawable.getBounds().height(); in setProgressBound()
/packages/services/Car/car-builtin-lib/src/android/car/builtin/app/
DTaskInfoHelper.java73 public static Rect getBounds(@NonNull TaskInfo task) { in getBounds() method in TaskInfoHelper
74 return task.getConfiguration().windowConfiguration.getBounds(); in getBounds()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DCenterAlignedDynamicDrawableSpan.java60 return getDrawable().getBounds().right; in getSize()
81 int transY = bottom - drawable.getBounds().bottom; in draw()
/packages/apps/Dialer/java/com/android/dialer/lettertile/
DLetterTileDrawable.java182 final Rect bounds = getBounds(); in draw()
202 final Rect bounds = getBounds(); in drawLetterTile()
292 outline.setOval(getBounds()); in getOutline()
294 outline.setRect(getBounds()); in getOutline()
/packages/apps/TvSystemUI/src/com/android/systemui/tv/privacy/
DPrivacyChipDrawable.java138 Rect bounds = getBounds(); in getBackgroundBounds()
143 Rect bounds = getBounds(); in getCollapsedForegroundBounds()
153 Rect bounds = getBounds(); in getForegroundBounds()
/packages/apps/Gallery2/src/com/android/photos/shims/
DBitmapJobDrawable.java85 Rect bounds = getBounds(); in draw()
100 Rect bounds = getBounds(); in updateDrawMatrix()
/packages/apps/Settings/src/com/android/settings/applications/credentials/
DImageUtils.java114 mOldBounds.set(icon.getBounds()); in createIconThumbnail()
128 mOldBounds.set(icon.getBounds()); in createIconThumbnail()
/packages/apps/ThemePicker/src/com/android/customization/widget/
DDynamicAdaptiveIconDrawable.java290 Rect bounds = getBounds(); in draw()
312 mTransparentRegion.set(getBounds()); in getTransparentRegion()
629 updateLayerBounds(getBounds()); in onStateChange()
648 updateLayerBounds(getBounds()); in onLevelChange()
742 clone.setBounds(dr.getBounds()); in ChildDrawable()
/packages/apps/Camera2/src/com/android/camera/stats/
DCamera2FaceProxy.java36 Camera2FaceProxy convertedFace = new Camera2FaceProxy(face.getBounds(), face.getScore()); in from()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DGestureBot.java62 Rect startCoord = findDocument(startLabel).getBounds(); in gestureSelectFiles()
63 Rect endCoord = findDocument(endLabel).getBounds(); in gestureSelectFiles()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/recents/
DCarRecentsActivity.java88 /* windowWidth= */ windowMetrics.getBounds().width(), in onCreate()
89 /* windowHeight= */ windowMetrics.getBounds().height(), in onCreate()
/packages/apps/Contacts/src/com/android/contacts/lettertiles/
DLetterTileDrawable.java103 final Rect bounds = getBounds(); in draw()
143 final Rect bounds = getBounds(); in drawLetterTile()
/packages/apps/EmergencyInfo/EmergencyGestureAction/src/com/android/emergency/widgets/slider/
DSliderSeekBar.java53 if (!mThumb.getBounds().contains((int) event.getX(), (int) event.getY())) { in onTouchEvent()
/packages/providers/MediaProvider/pdf/framework/java/android/graphics/pdf/models/jni/
DPageSelection.java72 public List<Rect> getBounds() { in getBounds() method in PageSelection
/packages/apps/Calendar/src/com/android/calendar/
DDayOfMonthDrawable.kt37 val bounds: Rect = getBounds() in draw()
/packages/providers/MediaProvider/pdf/framework/java/android/graphics/pdf/models/
DPageMatchBounds.java85 public List<RectF> getBounds() { in getBounds() method in PageMatchBounds

1234