/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListItemFocusableAboveUnfocusable.java | 40 protected View createView(int position, ViewGroup parent, int desiredHeight) { 43 position, parent.getContext(), getValueAtPosition(position), desiredHeight); 45 return super.createView(position, parent, desiredHeight);
|
ListItemFocusablesFarApart.java | 40 protected View createView(int position, ViewGroup parent, int desiredHeight) { 42 position, parent.getContext(), desiredHeight);
|
ListItemsExpandOnSelection.java | 41 protected View createView(int position, ViewGroup parent, int desiredHeight) { 42 TextView result = new ExpandWhenSelectedView(parent.getContext(), desiredHeight); 43 result.setHeight(desiredHeight); 65 public ExpandWhenSelectedView(Context context, int desiredHeight) { 67 mDesiredHeight = desiredHeight;
|
ListInterleaveFocusables.java | 43 protected View createView(int position, ViewGroup parent, int desiredHeight) { 46 position, parent.getContext(), getValueAtPosition(position), desiredHeight); 48 return super.createView(position, parent, desiredHeight);
|
ListItemFocusablesClose.java | 50 protected View createView(int position, ViewGroup parent, int desiredHeight) { 52 position, parent.getContext(), desiredHeight);
|
ListHeterogeneous.java | 40 protected View createView(int position, ViewGroup parent, int desiredHeight) { 44 position, parent.getContext(), getValueAtPosition(position), desiredHeight); 47 position, parent.getContext(), getValueAtPosition(position), desiredHeight); 50 position, parent.getContext(), getValueAtPosition(position), desiredHeight);
|
ListButtonsDiagonalAcrossItems.java | 51 int desiredHeight) { 55 parent.getContext(), desiredHeight, slot);
|
ListSimple.java | 45 protected View createView(int position, ViewGroup parent, int desiredHeight) { 46 View view = super.createView(position, parent, desiredHeight);
|
ListHorizontalFocusWithinItemWins.java | 52 int desiredHeight) { 56 context, desiredHeight, Slot.Left, Slot.Right); 59 context, desiredHeight, Slot.Middle);
|
ListOfTouchables.java | 41 protected View createView(int position, ViewGroup parent, int desiredHeight) {
|
ListItemISVAndButton.java | 42 protected View createView(int position, ViewGroup parent, int desiredHeight) { 51 desiredHeight - 240));
|
AdjacentListsWithAdjacentISVsInside.java | 69 final int desiredHeight = (int) (0.8 * getWindowManager().getDefaultDisplay().getHeight()); 72 mLeftListView.setAdapter(new AdjacentISVAdapter(desiredHeight)); 77 mRightListView.setAdapter(new AdjacentISVAdapter(desiredHeight));
|
/cts/tests/src/android/widget/cts/util/ |
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) { 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) { 97 = new LinearLayout.LayoutParams(0, desiredHeight); 151 * @param desiredHeight The desired height of the button 154 public static View button(int position, Context context, String text, int desiredHeight) { [all...] |
ExpandableListScenario.java | 240 int desiredHeight = getHeightForPosition(flPos); 241 return createView(packedPosition, flPos, parent, desiredHeight); 250 * @param desiredHeight The desired height. 253 protected View createView(long packedPosition, int flPos, ViewGroup parent, int desiredHeight) { 255 result.setHeight(desiredHeight);
|
ListScenario.java | 500 int desiredHeight = (int) (mScreenHeight * mItemScreenSizeFactor); 502 desiredHeight = (int) (mScreenHeight * mOverrideItemScreenSizeFactors.get(position)); 504 return desiredHeight; 534 * @param desiredHeight The height the view should be to respect the desired item 538 protected View createView(int position, ViewGroup parent, int desiredHeight) { 540 desiredHeight); 643 int desiredHeight = getHeightForPosition(position); 644 result = createView(position, parent, desiredHeight);
|
/frameworks/base/core/tests/coretests/src/android/util/ |
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) { 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) { 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) { [all...] |
InternalSelectionView.java | 96 public void setDesiredHeight(int desiredHeight) { 97 mDesiredHeight = desiredHeight; 130 int desiredHeight = mDesiredHeight != null ? 137 return desiredHeight < specSize ? desiredHeight : specSize; 139 return desiredHeight;
|
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) { 330 result.setHeight(desiredHeight); 363 int desiredHeight = getDesiredItemHeight(); 365 desiredHeight = (int) (mScreenHeight * mOverrideItemScreenSizeFactors.get(position)); 367 return createView(position, parent, desiredHeight);
|
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) { 542 desiredHeight); 645 int desiredHeight = getHeightForPosition(position); 646 result = createView(position, parent, desiredHeight);
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
GridSimple.java | 49 protected View createView(int position, ViewGroup parent, int desiredHeight) { 50 View view = super.createView(position, parent, desiredHeight);
|
GridDelete.java | 104 int desiredHeight = getDesiredItemHeight(); 105 return createView(mData.get(position), parent, desiredHeight);
|
/frameworks/volley/src/com/android/volley/toolbox/ |
ImageRequest.java | 154 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;
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
InternalSelectionView.java | 89 public void setDesiredHeight(int desiredHeight) { 90 mDesiredHeight = desiredHeight; 123 int desiredHeight = mDesiredHeight != null ? 130 return desiredHeight < specSize ? desiredHeight : specSize; 132 return desiredHeight;
|
/frameworks/base/libs/hwui/ |
Layer.cpp | 72 uint32_t desiredHeight = computeIdealWidth(height); 74 if (desiredWidth <= getWidth() && desiredHeight <= getHeight()) { 79 if (desiredWidth > maxTextureSize || desiredHeight > maxTextureSize) { 81 desiredWidth, desiredHeight, maxTextureSize, maxTextureSize); 88 setSize(desiredWidth, desiredHeight); 103 stencil->resize(desiredWidth, desiredHeight);
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
IndicatorControlWheelContainer.java | 126 int desiredHeight = mShutterButton.getMeasuredHeight() 139 measuredHeight = desiredHeight; 141 measuredHeight = Math.min(desiredHeight, MeasureSpec.getSize(heightSpec));
|