Searched refs:desiredHeight (Results 1 - 25 of 26) 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/volley/src/com/android/volley/toolbox/
H A DImageRequest.java154 int desiredHeight = getResizedDimension(mMaxHeight, mMaxWidth,
162 findBestSampleSize(actualWidth, actualHeight, desiredWidth, desiredHeight);
168 tempBitmap.getHeight() > desiredHeight)) {
170 desiredWidth, desiredHeight, true);
196 * @param desiredHeight Desired height of the bitmap
200 int actualWidth, int actualHeight, int desiredWidth, int desiredHeight) {
202 double hr = (double) actualHeight / desiredHeight;
199 findBestSampleSize( int actualWidth, int actualHeight, int desiredWidth, int desiredHeight) argument
/frameworks/base/libs/hwui/
H A DLayer.cpp119 uint32_t desiredHeight = computeIdealWidth(height); local
121 if (desiredWidth <= getWidth() && desiredHeight <= getHeight()) {
128 if (desiredWidth > maxTextureSize || desiredHeight > maxTextureSize) {
130 desiredWidth, desiredHeight, maxTextureSize, maxTextureSize);
137 setSize(desiredWidth, desiredHeight);
152 stencil->resize(desiredWidth, desiredHeight);
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
H A DTestWallpaper.java168 public void onDesiredSizeChanged(int desiredWidth, int desiredHeight) { argument
169 super.onDesiredSizeChanged(desiredWidth, desiredHeight);
171 mDesiredHeight = desiredHeight;
/frameworks/base/libs/input/
H A DSpriteController.cpp155 int32_t desiredHeight = update.state.icon.bitmap.height(); local
157 || update.state.surfaceHeight < desiredHeight) {
163 status_t status = update.state.surfaceControl->setSize(desiredWidth, desiredHeight);
167 desiredWidth, desiredHeight);
170 update.state.surfaceHeight = 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/core/java/android/service/wallpaper/
H A DWallpaperService.java493 public void onDesiredSizeChanged(int desiredWidth, int desiredHeight) { argument
880 void doDesiredSizeChanged(int desiredWidth, int desiredHeight) { argument
883 + desiredWidth + "," + desiredHeight + "): " + this);
885 mIWallpaperEngine.mReqHeight = desiredHeight;
886 onDesiredSizeChanged(desiredWidth, desiredHeight);
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DGlowPadView.java1048 private float computeScaleFactor(int desiredWidth, int desiredHeight, argument
1082 if (desiredHeight > actualHeight) {
1084 (desiredHeight - mMaxTargetHeight);

Completed in 218 milliseconds

12