/frameworks/base/core/tests/coretests/src/android/util/ |
D | ListItemFactory.java | 42 … 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/ |
D | ListItemsExpandOnSelection.java | 40 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()
|
D | ListHeterogeneous.java | 39 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()
|
D | ListItemFocusableAboveUnfocusable.java | 38 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()
|
D | ListInterleaveFocusables.java | 44 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()
|
D | ListHorizontalFocusWithinItemWins.java | 52 int desiredHeight) { in createView() argument 56 context, desiredHeight, Slot.Left, Slot.Right); in createView() 59 context, desiredHeight, Slot.Middle); in createView()
|
D | ListItemFocusablesFarApart.java | 40 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() argument 42 position, parent.getContext(), desiredHeight); in createView()
|
D | ListItemFocusablesClose.java | 50 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() argument 52 position, parent.getContext(), desiredHeight); in createView()
|
D | AdjacentListsWithAdjacentISVsInside.java | 69 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()
|
D | ListSimple.java | 44 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() argument 45 View view = super.createView(position, parent, desiredHeight); in createView()
|
D | ListButtonsDiagonalAcrossItems.java | 51 int desiredHeight) { in createView() argument 55 parent.getContext(), desiredHeight, slot); in createView()
|
D | ListItemISVAndButton.java | 42 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() argument 51 desiredHeight - 240)); in createView()
|
D | ListOfTouchables.java | 40 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/ |
D | BubbleDataRepositoryTest.kt | 46 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/ |
D | PlatformSlider.kt | 328 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/ |
D | InternalSelectionView.java | 94 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()
|
D | GridScenario.java | 328 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 365 … desiredHeight = (int) (mScreenHeight * mOverrideItemScreenSizeFactors.get(position)); in getView() 367 return createView(position, parent, desiredHeight); in getView()
|
D | ListScenario.java | 499 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/ |
D | GridSimple.java | 48 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() argument 49 View view = super.createView(position, parent, desiredHeight); in createView()
|
D | GridDelete.java | 103 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/ |
D | DesktopModeLaunchParamsModifier.java | 131 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/ |
D | BubbleEntity.kt | 26 val desiredHeight: Int, constant in com.android.wm.shell.bubbles.storage.BubbleEntity
|
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/ |
D | TestWallpaper.java | 176 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/ |
D | BubblePositioner.java | 469 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/ |
D | SurfaceFlinger_SetDisplayStateTest.cpp | 529 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()
|