Searched refs:setBounds (Results 1 - 25 of 207) sorted by relevance

123456789

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DAppIconDragShadowBuilder.java53 mDrawable.setBounds(0, 0, mIconSize, mIconSize);
55 mDrawable.setBounds(oldBounds);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DSimplePatchActivity.java49 mDrawable.setBounds(3, 0, 33, 64);
51 mDrawable.setBounds(63, 0, 94, 64);
H A DMoreNinePatchesActivity.java63 mDrawable1.setBounds(0, 0, 33, 120);
68 mDrawable2.setBounds(0, 0, 33, 120);
73 mDrawable3.setBounds(0, 0, 33, 120);
H A DThinPatchesActivity.java84 mPatch3.setBounds(left, top, left + height, top + width);
89 mPatch1.setBounds(left, top, left + width, top + height);
95 mPatch2.setBounds(left, top, left + width, top + height);
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DRootWindowContainerTests.java30 stack.getOverrideConfiguration().windowConfiguration.setBounds(new Rect(0, 0, 5, 5));
35 deferredDeletedStack.getOverrideConfiguration().windowConfiguration.setBounds(
41 override.windowConfiguration.setBounds(new Rect(0, 0, 10, 10));
/frameworks/support/core/ktx/src/main/java/androidx/core/graphics/drawable/
H A DDrawable.kt61 setBounds(0, 0, width, height)
64 setBounds(oldLeft, oldTop, oldRight, oldBottom)
72 * @see Drawable.setBounds
80 setBounds(left, top, right, bottom)
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
H A DBoundsCheckTest.java50 mBitmap1.setBounds(100, 100, 400, 400);
53 mVector1.setBounds(100, 100, 400, 400);
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
H A DGlifPatternDrawableTest.java57 drawable.setBounds(0, 0, 1366, 768);
75 drawable.setBounds(0, 0, 1366, 768);
98 drawable.setBounds(0, 0, 683, 384); // half each side of the view box
114 drawable.setBounds(0, 0, 683, 768); // half the width only
131 drawable.setBounds(0, 0, 1366, 384); // half the height only
148 drawable.setBounds(0, 0, 1366, 768); // original viewbox size
164 drawable.setBounds(0, 0, 1366, 768);
/frameworks/base/core/java/com/android/internal/widget/
H A DBackgroundFallback.java141 mBackgroundFallback.setBounds(0, 0, width, top);
145 mBackgroundFallback.setBounds(0, top, left, height);
149 mBackgroundFallback.setBounds(right, top, width, height);
153 mBackgroundFallback.setBounds(left, bottom, right, height);
H A DActionBarContainer.java96 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(),
114 mStackedBackground.setBounds(mTabContainer.getLeft(), mTabContainer.getTop(),
132 mSplitBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight());
333 mSplitBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight());
339 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(),
343 mBackground.setBounds(mActionContextView.getLeft(), mActionContextView.getTop(),
346 mBackground.setBounds(0, 0, 0, 0);
352 mStackedBackground.setBounds(tabContainer.getLeft(), tabContainer.getTop(),
/frameworks/base/core/java/com/android/internal/util/
H A DUserIcons.java55 icon.setBounds(0, 0, width, height);
77 icon.setBounds(0, 0, icon.getIntrinsicWidth(), icon.getIntrinsicHeight());
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/
H A DBatteryMeterDrawableBaseTest.java61 mBatteryMeterDrawableBase.setBounds(0, 0, WIDTH + 2 * PADDING, HEIGHT + 2 * PADDING);
74 mBatteryMeterDrawableBase.setBounds(0, 0, WIDTH + 2 * PADDING, HEIGHT + 2 * PADDING);
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DActionBarContainer.java97 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(),
115 mStackedBackground.setBounds(mTabContainer.getLeft(), mTabContainer.getTop(),
133 mSplitBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight());
309 mSplitBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight());
315 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(),
319 mBackground.setBounds(mContextView.getLeft(), mContextView.getTop(),
322 mBackground.setBounds(0, 0, 0, 0);
328 mStackedBackground.setBounds(tabContainer.getLeft(), tabContainer.getTop(),
/frameworks/base/core/java/android/text/style/
H A DImageSpan.java116 mDrawable.setBounds(0, 0, width > 0 ? width : 0, height > 0 ? height : 0);
237 drawable.setBounds(0, 0, drawable.getIntrinsicWidth(),
246 drawable.setBounds(0, 0, drawable.getIntrinsicWidth(),
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DViewBoundsCheck.java140 void setBounds(int rvStart, int rvEnd, int childStart, int childEnd) { method in class:ViewBoundsCheck.BoundFlags
225 mBoundFlags.setBounds(start, end, childStart, childEnd);
252 mBoundFlags.setBounds(mCallback.getParentStart(), mCallback.getParentEnd(),
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DHardwareBgDrawable.java84 mLayers[0].setBounds(bounds.left, bounds.top, bounds.right, top);
86 mLayers[1].setBounds(bounds.left, top, bounds.right, bounds.bottom);
/frameworks/support/swiperefreshlayout/src/androidTest/java/androidx/swiperefreshlayout/widget/
H A DCircularProgressDrawableTest.java69 mDrawableUnderTest.setBounds(new Rect(0, 0, width, height));
88 mDrawableUnderTest.setBounds(new Rect(0, 0, 100, 50));
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
H A DBackgroundFallbackTest.java177 verify(mDrawableMock).setBounds(0, 0, SCREEN_WIDTH, size);
183 verify(mDrawableMock).setBounds(0, mLastTop, size, SCREEN_HEIGHT);
188 verify(mDrawableMock).setBounds(SCREEN_WIDTH - size, mLastTop, SCREEN_WIDTH, SCREEN_HEIGHT);
193 verify(mDrawableMock).setBounds(0, SCREEN_HEIGHT - size, SCREEN_WIDTH, SCREEN_HEIGHT);
/frameworks/base/services/core/java/com/android/server/wm/
H A DTask.java113 setBounds(getOverrideBounds());
265 public int setBounds(Rect bounds, boolean forceResize) { method in class:Task
266 final int boundsChanged = setBounds(bounds);
278 public int setBounds(Rect bounds) { method in class:Task
292 final int boundsChange = super.setBounds(bounds);
374 setBounds(mTmpRect2, false /* forced */);
511 setBounds(null);
527 setBounds(mTmpRect2);
532 if (setBounds(mTmpRect2) != BOUNDS_CHANGE_NONE) {
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/
H A DOverlayListView.java121 mBitmap.setBounds(mCurrentBounds);
244 mBitmap.setBounds(mCurrentBounds);
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
H A DIconTest.java72 draw1.setBounds(0, 0, draw1.getIntrinsicWidth(), draw1.getIntrinsicHeight());
75 draw2.setBounds(0, 0, draw2.getIntrinsicWidth(), draw2.getIntrinsicHeight());
78 draw3.setBounds(0, 0, draw3.getIntrinsicWidth(), draw3.getIntrinsicHeight());
141 draw1.setBounds(0, 0,
168 draw1.setBounds(0, 0, test1.getWidth(), test1.getHeight());
195 draw1.setBounds(0, 0, test1.getWidth(), test1.getHeight());
228 draw1.setBounds(0, 0, test1.getWidth(), test1.getHeight());
301 draw1.setBounds(0, 0, test1.getWidth(), test1.getHeight());
/frameworks/base/services/core/java/com/android/server/policy/
H A DIconUtilities.java120 icon.setBounds(left, top, left+width, top+height);
122 icon.setBounds(mOldBounds);
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DTileDrawable.java84 mInner.setBounds(0, 0, 0, 0);
88 mInner.setBounds(l, t, l + mInnerWidth, t + mInnerHeight);
/frameworks/support/compat/src/androidTest/java/androidx/core/graphics/
H A DDrawableCompatTest.java71 wrapper.setBounds(bounds);
83 drawable.setBounds(bounds);
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/
H A DOverlayListView.java121 mBitmap.setBounds(mCurrentBounds);
244 mBitmap.setBounds(mCurrentBounds);

Completed in 557 milliseconds

123456789