Searched defs:maxHeight (Results 1 - 18 of 18) sorted by relevance

/frameworks/volley/tests/src/com/android/volley/toolbox/
H A DImageRequestTest.java61 private void verifyResize(NetworkResponse networkResponse, int maxWidth, int maxHeight, argument
64 "", null, maxWidth, maxHeight, Config.RGB_565, null);
/frameworks/volley/src/com/android/volley/toolbox/
H A DImageRequest.java64 * @param maxHeight Maximum height to decode this bitmap to, or zero for
69 public ImageRequest(String url, Response.Listener<Bitmap> listener, int maxWidth, int maxHeight, argument
77 mMaxHeight = maxHeight;
H A DImageLoader.java150 * @param maxHeight The maximum height of the returned image.
153 public boolean isCached(String requestUrl, int maxWidth, int maxHeight) { argument
156 String cacheKey = getCacheKey(requestUrl, maxWidth, maxHeight);
182 * @param maxHeight The maximum height of the returned image.
187 int maxWidth, int maxHeight) {
191 final String cacheKey = getCacheKey(requestUrl, maxWidth, maxHeight);
225 }, maxWidth, maxHeight,
474 * @param maxHeight The max-height of the output.
476 private static String getCacheKey(String url, int maxWidth, int maxHeight) { argument
478 .append("#H").append(maxHeight)
186 get(String requestUrl, ImageListener imageListener, int maxWidth, int maxHeight) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DSizeAdaptiveLayout.java156 if (DEBUG) Log.d(TAG, "active min: " + lp.minHeight + " max: " + lp.maxHeight);
175 if (lp.maxHeight != SizeAdaptiveLayout.LayoutParams.UNBOUNDED) {
176 height = Math.min(height, lp.maxHeight);
205 " max: " + lp.maxHeight);
206 if (lp.maxHeight == SizeAdaptiveLayout.LayoutParams.UNBOUNDED &&
210 if (lp.maxHeight > tallestViewSize) {
211 tallestViewSize = lp.maxHeight;
219 heightSize >= lp.minHeight && heightSize <= lp.maxHeight) {
322 public int maxHeight; field in class:SizeAdaptiveLayout.LayoutParams
325 * Constant value for maxHeight tha
370 LayoutParams(int width, int height, int minHeight, int maxHeight) argument
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardSecurityViewFlipper.java192 int maxHeight = heightSize;
201 if (lp.maxHeight > 0 && lp.maxHeight < maxHeight) {
202 maxHeight = lp.maxHeight;
209 maxHeight -= hPadding;
218 final int childHeightSpec = makeChildMeasureSpec(maxHeight, lp.height);
253 public int maxHeight; field in class:KeyguardSecurityViewFlipper.LayoutParams
263 maxHeight
[all...]
H A DMultiPaneChallengeLayout.java260 if (lp.maxHeight >= 0) {
262 Math.min(lp.maxHeight, insetHeight), MeasureSpec.EXACTLY);
321 if (lp.maxHeight >= 0) {
323 Math.min(lp.maxHeight, MeasureSpec.getSize(adjustedHeightSpec)),
499 public int maxHeight = -1; field in class:MultiPaneChallengeLayout.LayoutParams
519 maxHeight = a.getDimensionPixelSize(
573 maxHeight = source.maxHeight;
H A DSlidingChallengeLayout.java883 // negative or zero, either we didn't have a maxHeight or we're totally out of space,
892 final int maxChallengeHeight = lp.maxHeight - diff;
1244 public int maxHeight; field in class:SlidingChallengeLayout.LayoutParams
1275 maxHeight = a.getDimensionPixelSize(
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHostView.java258 * @param maxHeight The maximum height in dips that the widget will be displayed at.
262 int maxHeight) {
263 updateAppWidgetSize(newOptions, minWidth, minHeight, maxWidth, maxHeight, false);
270 int maxHeight, boolean ignorePadding) {
287 int newMaxHeight = maxHeight - (ignorePadding ? 0 : yPaddingDips);
261 updateAppWidgetSize(Bundle newOptions, int minWidth, int minHeight, int maxWidth, int maxHeight) argument
269 updateAppWidgetSize(Bundle newOptions, int minWidth, int minHeight, int maxWidth, int maxHeight, boolean ignorePadding) argument
/frameworks/rs/
H A DrsFont.h173 CacheTextureLine(uint32_t maxHeight, uint32_t maxWidth, uint32_t currentRow, uint32_t currentCol) argument
174 : mMaxHeight(maxHeight), mMaxWidth(maxWidth), mCurrentRow(currentRow),
/frameworks/base/core/java/android/widget/
H A DImageView.java278 * adjustViewBounds to true 2) set maxWidth and maxHeight to 100 3) set the height and width
316 * adjustViewBounds to true 2) set maxWidth and maxHeight to 100 3) set the height and width
326 * @param maxHeight maximum height for this view
333 public void setMaxHeight(int maxHeight) { argument
334 mMaxHeight = maxHeight;
H A DListView.java1216 * included. If maxHeight is provided, the measuring will stop when the
1217 * current height reaches maxHeight.
1225 * @param maxHeight The maximum height that will be returned (if all the
1240 final int maxHeight, int disallowPartialChildPosition) {
1250 // The previous height value that was less than maxHeight and contained
1280 if (returnedHeight >= maxHeight) {
1281 // We went over, figure out which height to return. If returnedHeight > maxHeight,
1286 && (returnedHeight != maxHeight) // i'th child did not fit completely
1288 : maxHeight;
1239 measureHeightOfChildren(int widthMeasureSpec, int startPosition, int endPosition, final int maxHeight, int disallowPartialChildPosition) argument
H A DTextView.java3137 public void setMaxHeight(int maxHeight) { argument
3138 mMaximum = maxHeight;
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DListPopupWindow.java1036 final int maxHeight = getMaxAvailableHeight(
1040 return maxHeight + padding;
1063 0, DropDownListView.NO_POSITION, maxHeight - otherHeights, -1);
1253 * with this ListView's padding and divider heights included. If maxHeight is provided, the
1254 * measuring will stop when the current height reaches maxHeight.
1262 * @param maxHeight The maximum height that will be returned (if all the
1278 int endPosition, final int maxHeight,
1299 // The previous height value that was less than maxHeight and contained
1333 if (returnedHeight >= maxHeight) {
1335 // maxHeight, the
1277 measureHeightOfChildrenCompat(int widthMeasureSpec, int startPosition, int endPosition, final int maxHeight, int disallowPartialChildPosition) argument
[all...]
/frameworks/base/media/java/android/media/
H A DRemoteControlClient.java1678 * @param maxHeight
1682 private Bitmap scaleBitmapIfTooBig(Bitmap bitmap, int maxWidth, int maxHeight) { argument
1686 if (width > maxWidth || height > maxHeight) {
1687 float scale = Math.min((float) maxWidth / width, (float) maxHeight / height);
/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp253 uint32_t maxHeight; member in struct:meas::displayFrame
261 uint32_t maxHeight; member in struct:meas::sourceCrop
493 measPtr->df.maxHeight = dfMaxHeight(format->format);
494 testPrintI(" dfMaxHeight: %u", measPtr->df.maxHeight);
514 measPtr->sc.maxHeight = scMaxHeight(format->format, measPtr->df.maxDim);
515 testPrintI(" scMaxHeight: %s%u", (measPtr->sc.maxHeight
517 measPtr->sc.maxHeight);
/frameworks/av/media/libstagefright/
H A DACodec.cpp1138 int32_t maxWidth = 0, maxHeight = 0; local
1141 msg->findInt32("max-height", &maxHeight)) {
1143 mComponentName.c_str(), maxWidth, maxHeight);
1146 mNode, kPortIndexOutput, OMX_TRUE, maxWidth, maxHeight);
/frameworks/base/media/java/android/media/videoeditor/
H A DMediaArtistNativeHelper.java2688 * @param maxHeight The max height from the clip properties
2693 private int populateMediaItemProperties(MediaItem m, int index, int maxHeight) { argument
2698 if (((MediaVideoItem)m).getHeight() > maxHeight) {
2699 maxHeight = ((MediaVideoItem)m).getHeight();
2704 if (((MediaImageItem)m).getScaledHeight() > maxHeight) {
2705 maxHeight = ((MediaImageItem)m).getScaledHeight();
2716 return maxHeight;
2837 int maxHeight = 0;
2885 maxHeight = populateMediaItemProperties(lMediaItem, previewIndex, maxHeight);
[all...]
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h1597 XAuint32 maxHeight; member in struct:XACameraDescriptor_
2818 XAuint32 maxHeight; member in struct:XAImageCodecDescriptor_
2992 XAuint32 maxHeight; member in struct:XAVideoCodecDescriptor_

Completed in 545 milliseconds