Home
last modified time | relevance | path

Searched refs:setWidth (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/native/libs/ui/tests/
DSize_test.cpp128 s.setWidth(0); in TEST()
160 s.setWidth(input); in ClampTest()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskLaunchParamsModifierTests.java308 .setWidth(120).setHeight(80).build(); in testNonEmptyLayoutInfersFreeformOnFreeformDisplay()
337 .setWidth(120).setHeight(80).build(); in testNonEmptyLayoutUsesFullscreenWithResizeableActivity()
666 .setWidth(120).setHeight(80).build(); in testNonEmptyLayoutBoundsOnFreeformDisplay_CenterToDisplay()
682 .setWidth(120).setHeight(80).setGravity(Gravity.LEFT).build(); in testNonEmptyLayoutBoundsOnFreeformDisplay_LeftGravity()
698 .setWidth(120).setHeight(80).setGravity(Gravity.TOP).build(); in testNonEmptyLayoutBoundsOnFreeformDisplay_TopGravity()
714 .setWidth(120).setHeight(80).setGravity(Gravity.TOP | Gravity.LEFT).build(); in testNonEmptyLayoutBoundsOnFreeformDisplay_TopLeftGravity()
730 .setWidth(120).setHeight(80).setGravity(Gravity.RIGHT).build(); in testNonEmptyLayoutBoundsOnFreeformDisplay_RightGravity()
746 .setWidth(120).setHeight(80).setGravity(Gravity.BOTTOM).build(); in testNonEmptyLayoutBoundsOnFreeformDisplay_BottomGravity()
762 .setWidth(120).setHeight(80).setGravity(Gravity.BOTTOM | Gravity.RIGHT).build(); in testNonEmptyLayoutBoundsOnFreeformDisplay_RightBottomGravity()
1289 private WindowLayoutBuilder setWidth(int width) { in setWidth() method in TaskLaunchParamsModifierTests.WindowLayoutBuilder
/frameworks/base/core/tests/coretests/src/android/text/
DStaticLayoutTest.java149 .setWidth(50); in testLineMetrics_withPaddingAndWidth()
169 .setWidth(50); in testLineMetrics_withThreeLines()
191 .setWidth(150); in testLineMetrics_withLargeText()
221 .setWidth(50) in testLineMetrics_withSpacingAdd()
243 .setWidth(50) in testLineMetrics_withSpacingMult()
269 .setWidth(50) in testLineMetrics_withUnitIntervalSpacingMult()
345 LayoutBuilder setWidth(int width) { in setWidth() method in StaticLayoutTest.LayoutBuilder
DStaticLayoutDirectionsTest.java139 b.setWidth(Math.round(width)); in testTrailingWhitespace()
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
DAnimatedStateVectorDrawableTest.java53 button.setWidth(400); in onCreate()
DVectorCheckbox.java62 checkBox.setWidth(200); in onCreate()
DBitmapDrawableDupe.java67 button.setWidth(200); in onCreate()
DVectorDrawable01.java83 button.setWidth(200); in onCreate()
DAnimatedVectorDrawableTest.java71 button.setWidth(300); in onCreate()
DAnimatedVectorDrawableDupPerf.java111 button.setWidth(200); in onCreate()
DVectorDrawablePerformance.java132 button.setWidth(200); in onCreate()
/frameworks/base/core/java/android/widget/
DListPopupWindow.java517 public void setWidth(int width) { in setWidth() method in ListPopupWindow
533 setWidth(width); in setContentWidth()
660 mPopup.setWidth(mDropDownWidth == ViewGroup.LayoutParams.MATCH_PARENT ? in show()
664 mPopup.setWidth(mDropDownWidth == ViewGroup.LayoutParams.MATCH_PARENT ? in show()
703 mPopup.setWidth(widthSpec); in show()
DAutoCompleteTextView.java283 mPopup.setWidth(popupWidth); in AutoCompleteTextView()
406 mPopup.setWidth(width); in setDropDownWidth()
DPopupWindow.java425 setWidth(width); in PopupWindow()
1231 public void setWidth(int width) { in setWidth() method in PopupWindow
2261 setWidth(width); in update()
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DEditTextLongTextPerfTest.java85 editText.setWidth(width); in setupEditText()
/frameworks/native/opengl/tests/hwc/
DhwcTestLib.h93 void setWidth(uint32_t w) { _w = w; } in setWidth() function
/frameworks/native/libs/ui/include_vndk/ui/
DSize.h61 void setWidth(T&& v) { in setWidth() function
/frameworks/native/libs/ui/include/ui/
DSize.h61 void setWidth(T&& v) { in setWidth() function
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
DEditTextInputActivity.java40 editText.setWidth(400); in onCreate()
/frameworks/base/graphics/java/android/graphics/text/
DLineBreaker.java261 public void setWidth(@Px @FloatRange(from = 0.0f) float width) { in setWidth() method in LineBreaker.ParagraphConstraints
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h402 auto& setWidth(int32_t width) { in setWidth() function
454 config.setWidth(mWidth); in inject()
/frameworks/base/core/java/android/view/autofill/
DAutofillPopupWindow.java230 setWidth(width); in update()
/frameworks/av/media/libmedia/xsd/api/
Dcurrent.txt104 method public void setWidth(int);
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java817 setWidth(mContentContainer, startWidth + deltaWidth); in openOverflow()
892 setWidth(mContentContainer, startWidth + deltaWidth); in closeOverflow()
1104 mPopupWindow.setWidth(width + mMarginHorizontal * 2); in updatePopupSize()
1540 private static void setWidth(View view, int width) { in setWidth() method in FloatingToolbar.FloatingToolbarPopup
/frameworks/base/core/java/android/text/
DStaticLayout.java184 public Builder setWidth(@IntRange(from = 0) int width) { in setWidth() method in StaticLayout.Builder
759 constraints.setWidth(restWidth); in generate()

12