/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
H A D | ListItemFocusableAboveUnfocusable.java | 40 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument 43 position, parent.getContext(), getValueAtPosition(position), desiredHeight); 45 return super.createView(position, parent, desiredHeight);
|
H A D | ListItemFocusablesFarApart.java | 40 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument 42 position, parent.getContext(), desiredHeight);
|
H A D | ListItemsExpandOnSelection.java | 41 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument 42 TextView result = new ExpandWhenSelectedView(parent.getContext(), desiredHeight); 43 result.setHeight(desiredHeight); 65 public ExpandWhenSelectedView(Context context, int desiredHeight) { argument 67 mDesiredHeight = desiredHeight;
|
H A D | ListInterleaveFocusables.java | 43 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument 46 position, parent.getContext(), getValueAtPosition(position), desiredHeight); 48 return super.createView(position, parent, desiredHeight);
|
H A D | ListItemFocusablesClose.java | 50 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument 52 position, parent.getContext(), desiredHeight);
|
H A D | ListHeterogeneous.java | 40 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument 44 position, parent.getContext(), getValueAtPosition(position), desiredHeight); 47 position, parent.getContext(), getValueAtPosition(position), desiredHeight); 50 position, parent.getContext(), getValueAtPosition(position), desiredHeight);
|
H A D | ListButtonsDiagonalAcrossItems.java | 51 int desiredHeight) { 55 parent.getContext(), desiredHeight, slot); 50 createView(int position, ViewGroup parent, int desiredHeight) argument
|
H A D | ListSimple.java | 45 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument 46 View view = super.createView(position, parent, desiredHeight);
|
H A D | ListHorizontalFocusWithinItemWins.java | 52 int desiredHeight) { 56 context, desiredHeight, Slot.Left, Slot.Right); 59 context, desiredHeight, Slot.Middle); 51 createView(int position, ViewGroup parent, int desiredHeight) argument
|
H A D | ListOfTouchables.java | 41 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
|
H A D | ListItemISVAndButton.java | 42 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument 51 desiredHeight - 240));
|
H A D | AdjacentListsWithAdjacentISVsInside.java | 69 final int desiredHeight = (int) (0.8 * getWindowManager().getDefaultDisplay().getHeight()); 72 mLeftListView.setAdapter(new AdjacentISVAdapter(desiredHeight)); 77 mRightListView.setAdapter(new AdjacentISVAdapter(desiredHeight));
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | ListItemFactory.java | 35 * The filler is sized to take up any space left over within desiredHeight. 39 * @param desiredHeight The desired height of the entire view. 42 public static View twoButtonsSeparatedByFiller(int position, Context context, int desiredHeight) { argument 43 if (desiredHeight < 90) { 65 desiredHeight - 100)); 87 * @param desiredHeight The height of the LL. 91 public static View horizontalButtonSlots(Context context, int desiredHeight, Slot... slots) { argument 97 = new LinearLayout.LayoutParams(0, desiredHeight); 152 * @param desiredHeight The desired height of the button 155 public static View button(int position, Context context, String text, int desiredHeight) { argument 195 text(int position, Context context, String text, int desiredHeight) argument 236 doubleText(int position, Context context, String text, int desiredHeight) argument [all...] |
H A D | InternalSelectionView.java | 96 public void setDesiredHeight(int desiredHeight) { argument 97 mDesiredHeight = desiredHeight; 130 int desiredHeight = mDesiredHeight != null ? 137 return desiredHeight < specSize ? desiredHeight : specSize; 139 return desiredHeight;
|
H A D | GridScenario.java | 324 * @param desiredHeight The height the view should be to respect the desired item 328 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument 330 result.setHeight(desiredHeight); 363 int desiredHeight = getDesiredItemHeight(); 365 desiredHeight = (int) (mScreenHeight * mOverrideItemScreenSizeFactors.get(position)); 367 return createView(position, parent, desiredHeight);
|
H A D | ListScenario.java | 501 int desiredHeight = (int) (mScreenHeight * mItemScreenSizeFactor); 503 desiredHeight = (int) (mScreenHeight * mOverrideItemScreenSizeFactors.get(position)); 505 return desiredHeight; 536 * @param desiredHeight The height the view should be to respect the desired item 540 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument 542 desiredHeight); 645 int desiredHeight = getHeightForPosition(position); 646 result = createView(position, parent, desiredHeight);
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
H A D | GridSimple.java | 49 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument 50 View view = super.createView(position, parent, desiredHeight);
|
H A D | GridDelete.java | 104 int desiredHeight = getDesiredItemHeight(); 105 return createView(mData.get(position), parent, desiredHeight);
|
/frameworks/support/volley/src/com/android/volley/toolbox/ |
H A D | ImageRequest.java | 153 int desiredHeight = getResizedDimension(mMaxHeight, mMaxWidth, 161 findBestSampleSize(actualWidth, actualHeight, desiredWidth, desiredHeight); 167 tempBitmap.getHeight() > desiredHeight)) { 169 desiredWidth, desiredHeight, true); 195 * @param desiredHeight Desired height of the bitmap 199 int actualWidth, int actualHeight, int desiredWidth, int desiredHeight) { 201 double hr = (double) actualHeight / desiredHeight; 198 findBestSampleSize( int actualWidth, int actualHeight, int desiredWidth, int desiredHeight) argument
|
/frameworks/base/services/input/ |
H A D | SpriteController.cpp | 153 int32_t desiredHeight = update.state.icon.bitmap.height(); local 155 || update.state.surfaceHeight < desiredHeight) { 161 status_t status = update.state.surfaceControl->setSize(desiredWidth, desiredHeight); 165 desiredWidth, desiredHeight); 168 update.state.surfaceHeight = desiredHeight;
|
/frameworks/base/core/java/android/service/wallpaper/ |
H A D | WallpaperService.java | 472 public void onDesiredSizeChanged(int desiredWidth, int desiredHeight) { argument 784 void doDesiredSizeChanged(int desiredWidth, int desiredHeight) { argument 787 + desiredWidth + "," + desiredHeight + "): " + this); 789 mIWallpaperEngine.mReqHeight = desiredHeight; 790 onDesiredSizeChanged(desiredWidth, desiredHeight);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | IconMenuView.java | 414 final int desiredHeight = (mRowHeight + mHorizontalDividerHeight) * 419 resolveSize(desiredHeight, heightMeasureSpec));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 212 public void onDesiredSizeChanged(int desiredWidth, int desiredHeight) { argument 213 super.onDesiredSizeChanged(desiredWidth, desiredHeight);
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
H A D | GlowPadView.java | 1042 private float computeScaleFactor(int desiredWidth, int desiredHeight, argument 1076 if (desiredHeight > actualHeight) { 1078 (desiredHeight - mMaxTargetHeight);
|
/frameworks/base/core/java/android/widget/ |
H A D | TextView.java | 6378 int desiredHeight = getDesiredHeight(); 6380 if (desiredHeight != this.getHeight()) { 6385 int desiredHeight = getDesiredHeight(); 6387 if (desiredHeight != mDesiredHeightAtMeasure) {
|