Home
last modified time | relevance | path

Searched refs:desiredHeight (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/util/
DListItemFactory.java42 … public static View twoButtonsSeparatedByFiller(int position, Context context, int desiredHeight) { in twoButtonsSeparatedByFiller() argument
43 if (desiredHeight < 90) { in twoButtonsSeparatedByFiller()
65 desiredHeight - 100)); in twoButtonsSeparatedByFiller()
91 public static View horizontalButtonSlots(Context context, int desiredHeight, Slot... slots) { in horizontalButtonSlots() argument
97 = new LinearLayout.LayoutParams(0, desiredHeight); in horizontalButtonSlots()
155 public static View button(int position, Context context, String text, int desiredHeight) { in button() argument
157 result.setHeight(desiredHeight); in button()
195 public static View text(int position, Context context, String text, int desiredHeight) { in text() argument
197 result.setHeight(desiredHeight); in text()
236 public static View doubleText(int position, Context context, String text, int desiredHeight) { in doubleText() argument
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListItemsExpandOnSelection.java40 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() argument
41 TextView result = new ExpandWhenSelectedView(parent.getContext(), desiredHeight); in createView()
42 result.setHeight(desiredHeight); in createView()
64 public ExpandWhenSelectedView(Context context, int desiredHeight) { in ExpandWhenSelectedView() argument
66 mDesiredHeight = desiredHeight; in ExpandWhenSelectedView()
DListHeterogeneous.java39 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() argument
43 position, parent.getContext(), getValueAtPosition(position), desiredHeight); in createView()
46 position, parent.getContext(), getValueAtPosition(position), desiredHeight); in createView()
49 position, parent.getContext(), getValueAtPosition(position), desiredHeight); in createView()
DListItemFocusableAboveUnfocusable.java38 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() argument
41 position, parent.getContext(), getValueAtPosition(position), desiredHeight); in createView()
43 return super.createView(position, parent, desiredHeight); in createView()
DListInterleaveFocusables.java44 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() argument
47 position, parent.getContext(), getValueAtPosition(position), desiredHeight); in createView()
49 return super.createView(position, parent, desiredHeight); in createView()
DListHorizontalFocusWithinItemWins.java52 int desiredHeight) { in createView() argument
56 context, desiredHeight, Slot.Left, Slot.Right); in createView()
59 context, desiredHeight, Slot.Middle); in createView()
DListItemFocusablesFarApart.java40 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() argument
42 position, parent.getContext(), desiredHeight); in createView()
DListItemFocusablesClose.java50 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() argument
52 position, parent.getContext(), desiredHeight); in createView()
DAdjacentListsWithAdjacentISVsInside.java69 final int desiredHeight = (int) (0.8 * WindowMetricsHelper in onCreate() local
74 mLeftListView.setAdapter(new AdjacentISVAdapter(desiredHeight)); in onCreate()
79 mRightListView.setAdapter(new AdjacentISVAdapter(desiredHeight)); in onCreate()
DListSimple.java44 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() argument
45 View view = super.createView(position, parent, desiredHeight); in createView()
DListButtonsDiagonalAcrossItems.java51 int desiredHeight) { in createView() argument
55 parent.getContext(), desiredHeight, slot); in createView()
DListItemISVAndButton.java42 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() argument
51 desiredHeight - 240)); in createView()
DListOfTouchables.java40 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() argument
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
DBubbleDataRepositoryTest.kt46 desiredHeight = 120,
58 desiredHeight = 0,
69 desiredHeight = 120,
83 desiredHeight = 120,
95 desiredHeight = 0,
106 desiredHeight = 120,
117 desiredHeight = 0,
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/
DPlatformSlider.kt328 val desiredHeight = constraints.maxHeight in measure() constant
332 .measure(Constraints(desiredWidth, desiredWidth, desiredHeight, desiredHeight)) in measure()
339 minWidth = desiredHeight, in measure()
340 maxWidth = desiredHeight, in measure()
341 minHeight = desiredHeight, in measure()
342 maxHeight = desiredHeight, in measure()
355 minHeight = desiredHeight, in measure()
356 maxHeight = desiredHeight, in measure()
365 totalHeight = desiredHeight.toFloat(), in measure()
370 indicatorBottom = desiredHeight.toFloat(), in measure()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/
DInternalSelectionView.java94 public void setDesiredHeight(int desiredHeight) { in setDesiredHeight() argument
95 mDesiredHeight = desiredHeight; in setDesiredHeight()
128 int desiredHeight = mDesiredHeight != null ? in measureHeight() local
135 return desiredHeight < specSize ? desiredHeight : specSize; in measureHeight()
137 return desiredHeight; in measureHeight()
DGridScenario.java328 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() argument
330 result.setHeight(desiredHeight); in createView()
363 int desiredHeight = getDesiredItemHeight(); in getView() local
365desiredHeight = (int) (mScreenHeight * mOverrideItemScreenSizeFactors.get(position)); in getView()
367 return createView(position, parent, desiredHeight); in getView()
DListScenario.java499 int desiredHeight = (int) (mScreenHeight * mItemScreenSizeFactor); in getHeightForPosition() local
501 desiredHeight = (int) (mScreenHeight * mOverrideItemScreenSizeFactors.get(position)); in getHeightForPosition()
503 return desiredHeight; in getHeightForPosition()
538 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() argument
540 desiredHeight); in createView()
643 int desiredHeight = getHeightForPosition(position); in getView() local
644 result = createView(position, parent, desiredHeight); in getView()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridSimple.java48 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() argument
49 View view = super.createView(position, parent, desiredHeight); in createView()
DGridDelete.java103 int desiredHeight = getDesiredItemHeight(); in getView() local
104 return createView(mData.get(position), parent, desiredHeight); in getView()
/frameworks/base/services/core/java/com/android/server/wm/
DDesktopModeLaunchParamsModifier.java131 final int desiredHeight = (int) (stableBounds.height() * DESKTOP_MODE_INITIAL_BOUNDS_SCALE); in calculate() local
141 new Size(desiredWidth, desiredHeight)); in calculate()
173 final int desiredHeight = (int) (stableBounds.height() * DESKTOP_MODE_INITIAL_BOUNDS_SCALE); in calculateAndCentreInitialBounds() local
175 outParams.mBounds.bottom = desiredHeight; in calculateAndCentreInitialBounds()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/storage/
DBubbleEntity.kt26 val desiredHeight: Int, constant in com.android.wm.shell.bubbles.storage.BubbleEntity
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DTestWallpaper.java176 public void onDesiredSizeChanged(int desiredWidth, int desiredHeight) { in onDesiredSizeChanged() argument
177 super.onDesiredSizeChanged(desiredWidth, desiredHeight); in onDesiredSizeChanged()
179 mDesiredHeight = desiredHeight; in onDesiredSizeChanged()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubblePositioner.java469 float desiredHeight = isOverflow in getExpandedViewHeight() local
472 desiredHeight = Math.max(desiredHeight, mExpandedViewMinHeight); in getExpandedViewHeight()
473 if (desiredHeight > getMaxExpandedViewHeight(isOverflow)) { in getExpandedViewHeight()
476 return desiredHeight; in getExpandedViewHeight()
/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_SetDisplayStateTest.cpp529 constexpr uint32_t desiredHeight = 768; in TEST_F() local
545 state.height = desiredHeight; in TEST_F()
559 EXPECT_EQ(desiredHeight, display.getCurrentDisplayState().height); in TEST_F()

12