HomeSort by relevance Sort by last modified time
    Searched refs:desiredHeight (Results 1 - 25 of 65) sorted by null

1 2 3

  /packages/apps/Messaging/src/com/android/messaging/datamodel/media/
ImageRequestDescriptor.java 31 public final int desiredHeight;
71 public ImageRequestDescriptor(final int desiredWidth, final int desiredHeight) {
72 this(desiredWidth, desiredHeight,
77 final int desiredHeight, final int sourceWidth, final int sourceHeight,
81 Assert.isTrue(desiredHeight == ImageRequest.UNSPECIFIED_SIZE || desiredHeight > 0);
85 this.desiredHeight = desiredHeight;
97 .append(desiredHeight).append(KEY_PART_DELIMITER)
UriImageRequestDescriptor.java 32 public UriImageRequestDescriptor(final Uri uri, final int desiredWidth, final int desiredHeight)
34 this(uri, desiredWidth, desiredHeight, false, false, false, 0, 0);
37 public UriImageRequestDescriptor(final Uri uri, final int desiredWidth, final int desiredHeight,
40 this(uri, desiredWidth, desiredHeight, false,
45 final int desiredHeight, final boolean allowCompression, boolean isStatic,
47 this(uri, desiredWidth, desiredHeight, UriImageRequest.UNSPECIFIED_SIZE,
59 final int desiredHeight, final int sourceWidth, final int sourceHeight,
62 super(desiredWidth, desiredHeight, sourceWidth, sourceHeight, isStatic,
AvatarRequestDescriptor.java 31 final int desiredHeight) {
32 this(uri, desiredWidth, desiredHeight, true /* cropToCircle */);
36 final int desiredHeight, final boolean cropToCircle) {
37 this(uri, desiredWidth, desiredHeight, cropToCircle, false /* isWearBackground */);
41 final int desiredHeight, boolean cropToCircle, boolean isWearBackground) {
42 super(uri, desiredWidth, desiredHeight, false /* allowCompression */, true /* isStatic */,
AvatarGroupRequestDescriptor.java 33 final int desiredHeight) {
34 this(convertToDescriptor(uri, desiredWidth, desiredHeight), desiredWidth, desiredHeight);
38 final int desiredWidth, final int desiredHeight) {
39 super(descriptors, desiredWidth, desiredHeight);
44 final int desiredWidth, final int desiredHeight) {
50 Uri.parse(uriString), desiredWidth, desiredHeight);
74 final float height = desiredHeight;
VideoThumbnailRequestDescriptor.java 26 int desiredHeight, int sourceWidth, int sourceHeight) {
27 super(UriUtil.getUriForResourceFile(path), desiredWidth, desiredHeight, sourceWidth,
FileImageRequestDescriptor.java 36 final int desiredHeight, final boolean canUseThumbnail, final boolean canCompress,
38 this(path, desiredWidth, desiredHeight, FileImageRequest.UNSPECIFIED_SIZE,
47 final int desiredHeight, final int sourceWidth, final int sourceHeight,
49 super(UriUtil.getUriForResourceFile(path), desiredWidth, desiredHeight, sourceWidth,
MessagePartImageRequestDescriptor.java 36 final int desiredWidth, final int desiredHeight, boolean isStatic) {
38 this(messagePart.getPartId(), messagePart.getContentUri(), desiredWidth, desiredHeight,
43 final int desiredWidth, final int desiredHeight, final int sourceWidth,
45 super(contentUri, desiredWidth, desiredHeight, sourceWidth, sourceHeight,
CompositeImageRequestDescriptor.java 30 final int desiredWidth, final int desiredHeight) {
31 super(desiredWidth, desiredHeight);
  /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));
  /cts/tests/tests/widget/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...]
  /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...]
  /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);
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
AutoResizeListView.java 47 final int desiredHeight = mRect.bottom - mCoords[1];
57 height = Math.min(desiredHeight, heightSize);
  /frameworks/volley/src/main/java/com/android/volley/toolbox/
ImageRequest.java 187 int desiredHeight = getResizedDimension(mMaxHeight, mMaxWidth,
195 findBestSampleSize(actualWidth, actualHeight, desiredWidth, desiredHeight);
201 tempBitmap.getHeight() > desiredHeight)) {
203 desiredWidth, desiredHeight, true);
229 * @param desiredHeight Desired height of the bitmap
233 int actualWidth, int actualHeight, int desiredWidth, int desiredHeight) {
235 double hr = (double) actualHeight / desiredHeight;

Completed in 285 milliseconds

1 2 3