Searched refs:desiredHeight (Results 1 - 25 of 25) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListItemFocusableAboveUnfocusable.java40 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 DListItemFocusablesFarApart.java40 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
42 position, parent.getContext(), desiredHeight);
H A DListItemsExpandOnSelection.java41 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 DListInterleaveFocusables.java43 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 DListItemFocusablesClose.java50 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
52 position, parent.getContext(), desiredHeight);
H A DListHeterogeneous.java40 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 DListButtonsDiagonalAcrossItems.java51 int desiredHeight) {
55 parent.getContext(), desiredHeight, slot);
50 createView(int position, ViewGroup parent, int desiredHeight) argument
H A DListSimple.java45 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
46 View view = super.createView(position, parent, desiredHeight);
H A DListHorizontalFocusWithinItemWins.java52 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 DListOfTouchables.java41 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
H A DListItemISVAndButton.java42 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
51 desiredHeight - 240));
H A DAdjacentListsWithAdjacentISVsInside.java69 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 DListItemFactory.java35 * 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 DInternalSelectionView.java96 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 DGridScenario.java324 * @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 DListScenario.java501 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 DGridSimple.java49 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
50 View view = super.createView(position, parent, desiredHeight);
H A DGridDelete.java104 int desiredHeight = getDesiredItemHeight();
105 return createView(mData.get(position), parent, desiredHeight);
/frameworks/support/volley/src/com/android/volley/toolbox/
H A DImageRequest.java153 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 DSpriteController.cpp153 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 DWallpaperService.java472 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 DIconMenuView.java414 final int desiredHeight = (mRowHeight + mHorizontalDividerHeight) *
419 resolveSize(desiredHeight, heightMeasureSpec));
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java212 public void onDesiredSizeChanged(int desiredWidth, int desiredHeight) { argument
213 super.onDesiredSizeChanged(desiredWidth, desiredHeight);
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DGlowPadView.java1042 private float computeScaleFactor(int desiredWidth, int desiredHeight, argument
1076 if (desiredHeight > actualHeight) {
1078 (desiredHeight - mMaxTargetHeight);
/frameworks/base/core/java/android/widget/
H A DTextView.java6239 int desiredHeight = getDesiredHeight();
6241 if (desiredHeight != this.getHeight()) {
6246 int desiredHeight = getDesiredHeight();
6248 if (desiredHeight != mDesiredHeightAtMeasure) {

Completed in 726 milliseconds