Home
last modified time | relevance | path

Searched refs:desiredHeight (Results 1 – 25 of 34) 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 …]
DInternalSelectionView.java93 public void setDesiredHeight(int desiredHeight) { in setDesiredHeight() argument
94 mDesiredHeight = desiredHeight; in setDesiredHeight()
127 int desiredHeight = mDesiredHeight != null ? in measureHeight() local
134 return desiredHeight < specSize ? desiredHeight : specSize; in measureHeight()
136 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.java504 int desiredHeight = (int) (mScreenHeight * mItemScreenSizeFactor); in getHeightForPosition() local
506 desiredHeight = (int) (mScreenHeight * mOverrideItemScreenSizeFactors.get(position)); in getHeightForPosition()
508 return desiredHeight; in getHeightForPosition()
543 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() argument
545 desiredHeight); in createView()
648 int desiredHeight = getHeightForPosition(position); in getView() local
649 result = createView(position, parent, desiredHeight); in getView()
/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/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/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.java428 float desiredHeight = isOverflow
431 desiredHeight = Math.max(desiredHeight, mExpandedViewMinHeight);
432 if (desiredHeight > getMaxExpandedViewHeight(isOverflow)) {
435 return desiredHeight;
/frameworks/base/libs/input/
DSpriteController.cpp153 int32_t desiredHeight = update.state.icon.height(); in doUpdateSprites() local
155 || update.state.surfaceHeight < desiredHeight) { in doUpdateSprites()
158 update.state.surfaceControl->updateDefaultBufferSize(desiredWidth, desiredHeight); in doUpdateSprites()
160 update.state.surfaceHeight = desiredHeight; in doUpdateSprites()
/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()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/
DQS.java47 void setHeightOverride(int desiredHeight); in setHeightOverride() argument
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipMotionHelper.java291 final float desiredHeight = desiredWidth / ratio; in animateIntoDismissTarget() local
293 final float destinationY = targetCenter.y - (desiredHeight / 2f); in animateIntoDismissTarget()
304 .spring(FloatProperties.RECT_HEIGHT, desiredHeight, mAnimateToDismissSpringConfig) in animateIntoDismissTarget()

12