/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 …]
|
D | InternalSelectionView.java | 93 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()
|
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 | 504 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/ |
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/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/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 | 428 float desiredHeight = isOverflow 431 desiredHeight = Math.max(desiredHeight, mExpandedViewMinHeight); 432 if (desiredHeight > getMaxExpandedViewHeight(isOverflow)) { 435 return desiredHeight;
|
/frameworks/base/libs/input/ |
D | SpriteController.cpp | 153 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/ |
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()
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/ |
D | QS.java | 47 void setHeightOverride(int desiredHeight); in setHeightOverride() argument
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipMotionHelper.java | 291 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()
|