Home
last modified time | relevance | path

Searched refs:setBounds (Results 1 – 25 of 302) sorted by relevance

12345678910>>...13

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayAreaGroupTest.java70 mDisplayContent.setBounds(0, 0, 600, 900); in testIsOrientationDifferentFromDisplay()
75 mDisplayAreaGroup.setBounds(0, 0, 600, 450); in testIsOrientationDifferentFromDisplay()
80 mDisplayAreaGroup.setBounds(0, 0, 300, 900); in testIsOrientationDifferentFromDisplay()
94 mDisplayContent.setBounds(0, 0, 600, 900); in testGetRequestedOrientationForDisplay()
101 mDisplayAreaGroup.setBounds(0, 0, 600, 450); in testGetRequestedOrientationForDisplay()
108 mDisplayAreaGroup.setBounds(0, 0, 300, 900); in testGetRequestedOrientationForDisplay()
127 mDisplayAreaGroup.setBounds(0, 0, 600, 450); in testResolveOverrideConfiguration_reverseOrientationWhenDifferentFromParentRoot()
133 mDisplayAreaGroup.setBounds(0, 0, 300, 450); in testResolveOverrideConfiguration_reverseOrientationWhenDifferentFromParentRoot()
DTaskFragmentTest.java132 mTaskFragment.setBounds(bounds); in testOnConfigurationChanged()
140 mTaskFragment.setBounds(parentBounds); in testOnConfigurationChanged()
221 mTaskFragment.setBounds(startBounds); in testStartChangeTransition_doNotFreezeWhenOnlyMoved()
226 mTaskFragment.setBounds(endBounds); in testStartChangeTransition_doNotFreezeWhenOnlyMoved()
357 taskFragment0.setBounds(taskFragmentBounds); in testEmbeddedTaskFragmentEnterPip_singleActivity_resetOrganizerOverrideConfig()
711 task.setBounds(0, 0, 1200, 1000); in testIgnoreRequestedOrientationForActivityEmbeddingSplit()
712 tf0.setBounds(0, 0, 600, 1000); in testIgnoreRequestedOrientationForActivityEmbeddingSplit()
713 tf1.setBounds(600, 0, 1200, 1000); in testIgnoreRequestedOrientationForActivityEmbeddingSplit()
762 task.setBounds(0, 0, 1200, 1000); in testIsVisibleWithAdjacent_reportOrientationUnspecified()
763 tf0.setBounds(0, 0, 600, 1000); in testIsVisibleWithAdjacent_reportOrientationUnspecified()
[all …]
DTaskPositionerTests.java118 mPositioner.mTask.setBounds(r); in testMoveWindow()
140 mPositioner.mTask.setBounds(r, true); in testBasicFreeWindowResizing()
202 mPositioner.mTask.setBounds(r, true); in testFreeWindowResizingTestAllEdges()
284 mPositioner.mTask.setBounds(r, true); in testLandscapePreservedWindowResizingDragTopLeft()
323 mPositioner.mTask.setBounds(r, true); in testLandscapePreservedWindowResizingDragLeft()
364 mPositioner.mTask.setBounds(r, true); in testLandscapePreservedWindowResizingDragTop()
400 mPositioner.mTask.setBounds(r, true); in testPortraitPreservedWindowResizingDragTopLeft()
434 mPositioner.mTask.setBounds(r, true); in testPortraitPreservedWindowResizingDragLeft()
477 mPositioner.mTask.setBounds(r, true); in testPortraitPreservedWindowResizingDragTop()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DProjectionSpaceTest.cpp57 space.setBounds(ui::Size(100, 200)); in TEST()
69 source.setBounds(ui::Size(100, 200)); in TEST()
73 dest.setBounds(source.getBounds()); in TEST()
82 source.setBounds(ui::Size(100, 200)); in TEST()
86 dest.setBounds(source.getBounds()); in TEST()
129 source.setBounds(ui::Size(666, 776)); in TEST()
132 dest.setBounds(ui::Size(862, 546)); in TEST()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DCornerDrawable.kt43 override fun setBounds(l: Int, t: Int, r: Int, b: Int) { in setBounds() method in com.android.systemui.controls.ui.CornerDrawable
45 super.setBounds(l, t, r, b) in setBounds()
48 override fun setBounds(r: Rect) { in setBounds() method in com.android.systemui.controls.ui.CornerDrawable
50 super.setBounds(r) in setBounds()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DGlifPatternDrawableTest.java54 drawable.setBounds(0, 0, 1366, 768); in testDraw()
71 drawable.setBounds(0, 0, 1366, 768); in testDrawTwice()
93 drawable.setBounds(0, 0, 683, 384); // half each side of the view box in testScaleToCanvasSquare()
109 drawable.setBounds(0, 0, 683, 768); // half the width only in testScaleToCanvasTall()
126 drawable.setBounds(0, 0, 1366, 384); // half the height only in testScaleToCanvasWide()
143 drawable.setBounds(0, 0, 1366, 768); // original viewbox size in testScaleToCanvasMaxSize()
159 drawable.setBounds(0, 0, 1366, 768); in testMemoryAllocation()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipBoundsStateTest.java89 mPipBoundsState.setBounds(bounds); in testSetBounds()
97 mPipBoundsState.setBounds(new Rect(0, 0, 100, 100)); in testBoundsScale()
107 mPipBoundsState.setBounds(new Rect(0, 0, maxSize.x, maxSize.y)); in testBoundsScale()
111 mPipBoundsState.setBounds(new Rect(0, 0, maxSize.x * 2, maxSize.y * 2)); in testBoundsScale()
227 mPipBoundsState.setBounds(currentBounds); in testSetBounds_updatesPipExclusionBounds()
233 mPipBoundsState.setBounds(newBounds); in testSetBounds_updatesPipExclusionBounds()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DMoreNinePatchesActivity.java63 mDrawable1.setBounds(0, 0, 33, 120); in onDraw()
68 mDrawable2.setBounds(0, 0, 33, 120); in onDraw()
73 mDrawable3.setBounds(0, 0, 33, 120); in onDraw()
DThinPatchesActivity.java84 mPatch3.setBounds(left, top, left + height, top + width); in onDraw()
89 mPatch1.setBounds(left, top, left + width, top + height); in onDraw()
95 mPatch2.setBounds(left, top, left + width, top + height); in onDraw()
DSimplePatchActivity.java49 mDrawable.setBounds(3, 0, 33, 64); in onDraw()
51 mDrawable.setBounds(63, 0, 94, 64); in onDraw()
/frameworks/base/libs/hwui/tests/unit/
DSkiaDisplayListTests.cpp111 vectorDrawable.mutateStagingProperties()->setBounds(bounds); in TEST()
183 cleanVD.mutateProperties()->setBounds(bounds); in RENDERTHREAD_TEST()
196 dirtyVD.mutateProperties()->setBounds(bounds); in RENDERTHREAD_TEST()
253 dirtyVD.mutateProperties()->setBounds(b); in RENDERTHREAD_TEST()
277 dirtyVD.mutateProperties()->setBounds(bounds); in RENDERTHREAD_TEST()
297 dirtyVD.mutateProperties()->setBounds(bounds); in RENDERTHREAD_TEST()
318 dirtyVD.mutateProperties()->setBounds(bounds); in RENDERTHREAD_TEST()
339 dirtyVD.mutateProperties()->setBounds(bounds); in RENDERTHREAD_TEST()
357 dirtyVD.mutateProperties()->setBounds(SkRect::MakeLTRB(-1, -1, width + 1, height + 1)); in RENDERTHREAD_TEST()
372 dirtyVD.mutateProperties()->setBounds(bounds); in RENDERTHREAD_TEST()
/frameworks/base/core/java/com/android/internal/widget/
DBackgroundFallback.java146 mBackgroundFallback.setBounds(0, 0, width, top); in draw()
150 mBackgroundFallback.setBounds(0, top, left, height); in draw()
154 mBackgroundFallback.setBounds(right, top, width, height); in draw()
158 mBackgroundFallback.setBounds(left, bottom, right, height); in draw()
DActionBarContainer.java96 bg.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight()); in setPrimaryBackground()
113 mStackedBackground.setBounds(mTabContainer.getLeft(), mTabContainer.getTop(), in setStackedBackground()
131 mSplitBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight()); in setSplitBackground()
335 mSplitBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight()); in onLayout()
342 mBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight()); in onLayout()
344 mBackground.setBounds(0, 0, 0, 0); in onLayout()
350 mStackedBackground.setBounds(tabContainer.getLeft(), tabContainer.getTop(), in onLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAppIconDragShadowBuilder.java53 mDrawable.setBounds(0, 0, mIconSize, mIconSize); in onDrawShadow()
55 mDrawable.setBounds(oldBounds); in onDrawShadow()
/frameworks/base/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/
DBoundsCheckTest.java50 mBitmap1.setBounds(100, 100, 400, 400); in onDraw()
53 mVector1.setBounds(100, 100, 400, 400); in onDraw()
/frameworks/base/core/java/android/text/style/
DImageSpan.java118 mDrawable.setBounds(0, 0, width > 0 ? width : 0, height > 0 ? height : 0); in ImageSpan()
239 drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), in getDrawable()
248 drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), in getDrawable()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DBackgroundFallbackTest.java178 verify(mDrawableMock).setBounds(0, 0, SCREEN_WIDTH, size); in verifyFallbackTop()
184 verify(mDrawableMock).setBounds(0, mLastTop, size, SCREEN_HEIGHT); in verifyFallbackLeft()
189 verify(mDrawableMock).setBounds(SCREEN_WIDTH - size, mLastTop, SCREEN_WIDTH, SCREEN_HEIGHT); in verifyFallbackRight()
194 verify(mDrawableMock).setBounds(0, SCREEN_HEIGHT - size, SCREEN_WIDTH, SCREEN_HEIGHT); in verifyFallbackBottom()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/
DBatteryMeterDrawableBaseTest.java60 mBatteryMeterDrawableBase.setBounds(0, 0, WIDTH + 2 * PADDING, HEIGHT + 2 * PADDING); in testDraw_hasPaddingAndBounds_drawWarningInCorrectPosition()
73 mBatteryMeterDrawableBase.setBounds(0, 0, WIDTH + 2 * PADDING, HEIGHT + 2 * PADDING); in testDraw_hasPaddingAndBounds_drawBatteryLevelInCorrectPosition()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
DWindowDecorationTests.java188 .setBounds(TASK_BOUNDS) in testLayoutResultCalculation_invisibleTask()
227 .setBounds(TASK_BOUNDS) in testLayoutResultCalculation_visibleFocusedTask()
299 .setBounds(TASK_BOUNDS) in testLayoutResultCalculation_visibleFocusedTaskToInvisible()
399 .setBounds(TASK_BOUNDS) in testAddViewHostViewContainer()
452 .setBounds(TASK_BOUNDS) in testLayoutResultCalculation_fullWidthCaption()
492 .setBounds(TASK_BOUNDS) in testRelayout_applyTransactionInSyncWithDraw()
620 .setBounds(new Rect(0, 0, 1000, 1000)) in testRelayout_captionHidden_insetsRemoved()
647 .setBounds(new Rect(0, 0, 1000, 1000)) in testRelayout_captionHidden_neverWasVisible_insetsNotRemoved()
676 .setBounds(new Rect(0, 0, 1000, 1000)) in testClose_withExistingInsets_insetsRemoved()
706 .setBounds(new Rect(0, 0, 1000, 1000)) in testClose_withoutExistingInsets_insetsNotRemoved()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/scrim/
DScrimView.java125 mDrawable.setBounds(getLeft(), getTop(), getRight(), getBottom()); in setDrawable()
143 mDrawable.setBounds(mDrawableBounds); in onLayout()
145 mDrawable.setBounds(left, top, right, bottom); in onLayout()
363 mDrawable.setBounds(mDrawableBounds); in setDrawableBounds()
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/unified/
DBatteryAttributionDrawable.kt61 dr.setBounds( in updateBoundsInner()
68 dr.setBounds( in updateBoundsInner()
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DAdaptiveIconDrawableTest.java97 mIconDrawable.setBounds(0, 0, width, height); in testDraw_withBounds()
104 mIconDrawable.setBounds(left, top, right, bottom); in testDraw_withBounds()
159 mIconDrawable.setBounds(left, top, right, bottom); in testGetIconMaskAfterSetBounds()
180 mIconDrawable.setBounds(left, top, right, bottom); in testGetOutline_withBounds()
188 mIconDrawable.setBounds(0, 0, 100, 100); in testSetAlpha()
DIconTest.java105 draw1.setBounds(0, 0, draw1.getIntrinsicWidth(), draw1.getIntrinsicHeight()); in testWithBitmap()
108 draw2.setBounds(0, 0, draw2.getIntrinsicWidth(), draw2.getIntrinsicHeight()); in testWithBitmap()
111 draw3.setBounds(0, 0, draw3.getIntrinsicWidth(), draw3.getIntrinsicHeight()); in testWithBitmap()
174 draw1.setBounds(0, 0, in testWithAdaptiveBitmap()
201 draw1.setBounds(0, 0, test1.getWidth(), test1.getHeight()); in testWithBitmapResource()
243 stat_sys_adb.setBounds(0, 0, stat_sys_adb_width, stat_sys_adb_height); in testWithStatSysAdbResource()
258 draw1.setBounds(0, 0, test1.getWidth(), test1.getHeight()); in testWithStatSysAdbResource()
283 draw1.setBounds(0, 0, test1.getWidth(), test1.getHeight()); in testWithFile()
364 draw1.setBounds(0, 0, test1.getWidth(), test1.getHeight()); in testAsync()
437 draw1.setBounds(0, 0, test1.getWidth(), test1.getHeight()); in testParcel()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DUserIcons.java66 icon.setBounds(0, 0, width, height); in convertToBitmapAtSize()
98 icon.setBounds(0, 0, icon.getIntrinsicWidth(), icon.getIntrinsicHeight()); in getDefaultUserIconInColor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DHardwareBgDrawable.java85 mLayers[0].setBounds(bounds.left, bounds.top, bounds.right, top); in draw()
87 mLayers[1].setBounds(bounds.left, top, bounds.right, bounds.bottom); in draw()

12345678910>>...13