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

12

/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/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/
H A DQS.java45 void setHeightOverride(int desiredHeight); argument
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
H A DTestWallpaper.java176 public void onDesiredSizeChanged(int desiredWidth, int desiredHeight) { argument
177 super.onDesiredSizeChanged(desiredWidth, desiredHeight);
179 mDesiredHeight = desiredHeight;
/frameworks/base/libs/input/
H A DSpriteController.cpp158 int32_t desiredHeight = update.state.icon.bitmap.height(); local
160 || update.state.surfaceHeight < desiredHeight) {
166 status_t status = update.state.surfaceControl->setSize(desiredWidth, desiredHeight);
170 desiredWidth, desiredHeight);
173 update.state.surfaceHeight = desiredHeight;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DPagingIndicator.java362 int desiredHeight = getDesiredHeight();
369 height = Math.min(desiredHeight, MeasureSpec.getSize(heightMeasureSpec));
373 height = desiredHeight;
/frameworks/support/wear/src/android/support/wear/widget/
H A DCircledImageView.java326 float desiredHeight = radius * 2;
347 height = (int) Math.min(desiredHeight, heightSize);
349 height = (int) 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/qs/
H A DQSFragment.java344 public void setHeightOverride(int desiredHeight) { argument
345 mContainer.setHeightOverride(desiredHeight - mGutterHeight);

Completed in 4546 milliseconds

12