/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 | AdjacentListsWithAdjacentISVsInside.java | 68 final int desiredHeight = (int) (0.8 * getWindowManager().getDefaultDisplay().getHeight()); in onCreate() local 71 mLeftListView.setAdapter(new AdjacentISVAdapter(desiredHeight)); in onCreate() 76 mRightListView.setAdapter(new AdjacentISVAdapter(desiredHeight)); in onCreate()
|
D | ListItemFocusablesClose.java | 50 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() argument 52 position, parent.getContext(), desiredHeight); in createView()
|
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/core/jni/android/graphics/ |
D | ImageDecoder.cpp | 205 jint desiredWidth, jint desiredHeight, jobject jsubset, in ImageDecoder_nDecodeBitmap() argument 212 const SkISize desiredSize = SkISize::Make(desiredWidth, desiredHeight); in ImageDecoder_nDecodeBitmap() 380 desiredHeight = subset.height(); in ImageDecoder_nDecodeBitmap() 382 SkImageInfo scaledInfo = bitmapInfo.makeWH(desiredWidth, desiredHeight); in ImageDecoder_nDecodeBitmap() 398 desiredWidth, desiredHeight); in ImageDecoder_nDecodeBitmap() 411 float scaleY = (float) desiredHeight / decodeInfo.height(); in ImageDecoder_nDecodeBitmap()
|
/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/input/ |
D | SpriteController.cpp | 151 int32_t desiredHeight = update.state.icon.height(); in doUpdateSprites() local 153 || update.state.surfaceHeight < desiredHeight) { in doUpdateSprites() 157 desiredWidth, desiredHeight); in doUpdateSprites() 159 update.state.surfaceHeight = desiredHeight; in doUpdateSprites()
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/ |
D | QS.java | 46 void setHeightOverride(int desiredHeight); in setHeightOverride() argument
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 597 public void onDesiredSizeChanged(int desiredWidth, int desiredHeight) { in onDesiredSizeChanged() argument 1105 void doDesiredSizeChanged(int desiredWidth, int desiredHeight) { in doDesiredSizeChanged() argument 1108 + desiredWidth + "," + desiredHeight + "): " + this); in doDesiredSizeChanged() 1110 mIWallpaperEngine.mReqHeight = desiredHeight; in doDesiredSizeChanged() 1111 onDesiredSizeChanged(desiredWidth, desiredHeight); in doDesiredSizeChanged()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | IconMenuView.java | 419 final int desiredHeight = (mRowHeight + mHorizontalDividerHeight) * in onMeasure() local 424 resolveSize(desiredHeight, heightMeasureSpec)); in onMeasure()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/ |
D | BubbleExpandedView.java | 431 float desiredHeight = Math.max(mBubble.getDesiredHeight(mContext), mMinHeight); in updateHeight() local 432 float height = Math.min(desiredHeight, getMaxExpandedHeight()); in updateHeight()
|