/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 | 96 public void setDesiredHeight(int desiredHeight) { in setDesiredHeight() argument 97 mDesiredHeight = desiredHeight; in setDesiredHeight() 130 int desiredHeight = mDesiredHeight != null ? in measureHeight() local 137 return desiredHeight < specSize ? desiredHeight : specSize; in measureHeight() 139 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 | 501 int desiredHeight = (int) (mScreenHeight * mItemScreenSizeFactor); in getHeightForPosition() local 503 desiredHeight = (int) (mScreenHeight * mOverrideItemScreenSizeFactors.get(position)); in getHeightForPosition() 505 return desiredHeight; in getHeightForPosition() 540 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() argument 542 desiredHeight); in createView() 645 int desiredHeight = getHeightForPosition(position); in getView() local 646 result = createView(position, parent, desiredHeight); in getView()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListItemsExpandOnSelection.java | 41 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() argument 42 TextView result = new ExpandWhenSelectedView(parent.getContext(), desiredHeight); in createView() 43 result.setHeight(desiredHeight); in createView() 65 public ExpandWhenSelectedView(Context context, int desiredHeight) { in ExpandWhenSelectedView() argument 67 mDesiredHeight = desiredHeight; in ExpandWhenSelectedView()
|
D | ListHeterogeneous.java | 40 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() argument 44 position, parent.getContext(), getValueAtPosition(position), desiredHeight); in createView() 47 position, parent.getContext(), getValueAtPosition(position), desiredHeight); in createView() 50 position, parent.getContext(), getValueAtPosition(position), desiredHeight); in createView()
|
D | ListItemFocusableAboveUnfocusable.java | 40 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() argument 43 position, parent.getContext(), getValueAtPosition(position), desiredHeight); in createView() 45 return super.createView(position, parent, desiredHeight); in createView()
|
D | ListInterleaveFocusables.java | 43 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() argument 46 position, parent.getContext(), getValueAtPosition(position), desiredHeight); in createView() 48 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 | 69 final int desiredHeight = (int) (0.8 * getWindowManager().getDefaultDisplay().getHeight()); in onCreate() local 72 mLeftListView.setAdapter(new AdjacentISVAdapter(desiredHeight)); in onCreate() 77 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 | 45 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() argument 46 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 | 41 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() argument
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
D | ImageRequest.java | 187 int desiredHeight = getResizedDimension(mMaxHeight, mMaxWidth, in doParse() local 195 findBestSampleSize(actualWidth, actualHeight, desiredWidth, desiredHeight); in doParse() 201 tempBitmap.getHeight() > desiredHeight)) { in doParse() 203 desiredWidth, desiredHeight, true); in doParse() 233 int actualWidth, int actualHeight, int desiredWidth, int desiredHeight) { in findBestSampleSize() argument 235 double hr = (double) actualHeight / desiredHeight; in findBestSampleSize()
|
/frameworks/base/libs/hwui/ |
D | Layer.cpp | 101 uint32_t desiredHeight = computeIdealWidth(height); in resize() local 103 if (desiredWidth <= getWidth() && desiredHeight <= getHeight()) { in resize() 110 if (desiredWidth > maxTextureSize || desiredHeight > maxTextureSize) { in resize() 112 desiredWidth, desiredHeight, maxTextureSize, maxTextureSize); in resize() 119 setSize(desiredWidth, desiredHeight); in resize() 134 stencil->resize(desiredWidth, desiredHeight); in resize()
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
D | GridSimple.java | 49 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() argument 50 View view = super.createView(position, parent, desiredHeight); in createView()
|
D | GridDelete.java | 104 int desiredHeight = getDesiredItemHeight(); in getView() local 105 return createView(mData.get(position), parent, desiredHeight); in getView()
|
/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 | 159 int32_t desiredHeight = update.state.icon.bitmap.height(); in doUpdateSprites() local 161 || update.state.surfaceHeight < desiredHeight) { in doUpdateSprites() 167 status_t status = update.state.surfaceControl->setSize(desiredWidth, desiredHeight); in doUpdateSprites() 171 desiredWidth, desiredHeight); in doUpdateSprites() 174 update.state.surfaceHeight = desiredHeight; in doUpdateSprites()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | PagingIndicator.java | 320 int desiredHeight = getDesiredHeight(); in onMeasure() local 327 height = Math.min(desiredHeight, MeasureSpec.getSize(heightMeasureSpec)); in onMeasure() 331 height = desiredHeight; in onMeasure()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 501 public void onDesiredSizeChanged(int desiredWidth, int desiredHeight) { in onDesiredSizeChanged() argument 882 void doDesiredSizeChanged(int desiredWidth, int desiredHeight) { in doDesiredSizeChanged() argument 885 + desiredWidth + "," + desiredHeight + "): " + this); in doDesiredSizeChanged() 887 mIWallpaperEngine.mReqHeight = desiredHeight; in doDesiredSizeChanged() 888 onDesiredSizeChanged(desiredWidth, desiredHeight); in doDesiredSizeChanged()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | IconMenuView.java | 414 final int desiredHeight = (mRowHeight + mHorizontalDividerHeight) * in onMeasure() local 419 resolveSize(desiredHeight, heightMeasureSpec)); in onMeasure()
|