Searched defs:maxHeight (Results 1 - 23 of 23) 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);
H A DNetworkImageViewTest.java40 int maxHeight) {
43 lastMaxHeight = maxHeight;
39 get(String requestUrl, ImageListener imageListener, int maxWidth, int maxHeight) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskViewFooter.java30 public void onTaskFooterHeightChanged(int height, int maxHeight); argument
H A DTaskView.java846 public void onTaskFooterHeightChanged(int height, int maxHeight) { argument
852 mViewBounds.setOutlineClipBottom(maxHeight - height);
/frameworks/base/media/java/android/media/tv/
H A DTvStreamConfig.java55 maxHeight(source.readInt()).
144 public Builder maxHeight(int maxHeight) { argument
145 mMaxHeight = maxHeight;
/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.java161 if (DEBUG) Log.d(TAG, "active min: " + lp.minHeight + " max: " + lp.maxHeight);
180 if (lp.maxHeight != SizeAdaptiveLayout.LayoutParams.UNBOUNDED) {
181 height = Math.min(height, lp.maxHeight);
210 " max: " + lp.maxHeight);
211 if (lp.maxHeight == SizeAdaptiveLayout.LayoutParams.UNBOUNDED &&
215 if (lp.maxHeight > tallestViewSize) {
216 tallestViewSize = lp.maxHeight;
224 heightSize >= lp.minHeight && heightSize <= lp.maxHeight) {
329 public int maxHeight; field in class:SizeAdaptiveLayout.LayoutParams
332 * Constant value for maxHeight tha
377 LayoutParams(int width, int height, int minHeight, int maxHeight) argument
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardSecurityViewFlipper.java210 int maxHeight = heightSize;
219 if (lp.maxHeight > 0 && lp.maxHeight < maxHeight) {
220 maxHeight = lp.maxHeight;
227 maxHeight -= hPadding;
236 final int childHeightSpec = makeChildMeasureSpec(maxHeight, lp.height);
271 public int maxHeight; field in class:KeyguardSecurityViewFlipper.LayoutParams
281 maxHeight
[all...]
H A DMultiPaneChallengeLayout.java259 if (lp.maxHeight >= 0) {
261 Math.min(lp.maxHeight, insetHeight), MeasureSpec.EXACTLY);
320 if (lp.maxHeight >= 0) {
322 Math.min(lp.maxHeight, MeasureSpec.getSize(adjustedHeightSpec)),
498 public int maxHeight = -1; field in class:MultiPaneChallengeLayout.LayoutParams
518 maxHeight = a.getDimensionPixelSize(
572 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;
1254 public int maxHeight; field in class:SlidingChallengeLayout.LayoutParams
1285 maxHeight = a.getDimensionPixelSize(
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DListViewCompat.java224 * with this ListView's padding and divider heights included. If maxHeight is provided, the
225 * measuring will stop when the current height reaches maxHeight.
233 * @param maxHeight The maximum height that will be returned (if all the
249 int endPosition, final int maxHeight,
270 // The previous height value that was less than maxHeight and contained
303 if (returnedHeight >= maxHeight) {
305 // maxHeight, then the i'th position did not fit completely.
309 && (returnedHeight != maxHeight) // i'th child did not fit completely
311 : maxHeight;
248 measureHeightOfChildrenCompat(int widthMeasureSpec, int startPosition, int endPosition, final int maxHeight, int disallowPartialChildPosition) argument
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHostView.java251 * @param maxHeight The maximum height in dips that the widget will be displayed at.
255 int maxHeight) {
256 updateAppWidgetSize(newOptions, minWidth, minHeight, maxWidth, maxHeight, false);
263 int maxHeight, boolean ignorePadding) {
280 int newMaxHeight = maxHeight - (ignorePadding ? 0 : yPaddingDips);
254 updateAppWidgetSize(Bundle newOptions, int minWidth, int minHeight, int maxWidth, int maxHeight) argument
262 updateAppWidgetSize(Bundle newOptions, int minWidth, int minHeight, int maxWidth, int maxHeight, boolean ignorePadding) argument
/frameworks/base/media/java/android/media/session/
H A DMediaSessionLegacyHelper.java334 * @param maxHeight
337 private static Bitmap scaleBitmapIfTooBig(Bitmap bitmap, int maxWidth, int maxHeight) { argument
341 if (width > maxWidth || height > maxHeight) {
342 float scale = Math.min((float) maxWidth / width, (float) maxHeight / height);
/frameworks/ex/framesequence/jni/
H A DFrameSequence_gif.cpp172 static void getCopySize(const GifImageDesc& imageDesc, int maxWidth, int maxHeight, argument
179 if (imageDesc.Top + copyHeight > maxHeight) {
180 copyHeight = maxHeight - imageDesc.Top;
/frameworks/base/services/core/jni/
H A Dcom_android_server_tv_TvInputHal.cpp53 jmethodID maxHeight; member in struct:android::__anon999
592 builder, gTvStreamConfigBuilderClassInfo.maxHeight, configs[i].max_video_height);
677 gTvStreamConfigBuilderClassInfo.maxHeight,
679 "maxHeight", "(I)Landroid/media/tv/TvStreamConfig$Builder;");
/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.java308 * adjustViewBounds to true 2) set maxWidth and maxHeight to 100 3) set the height and width
346 * adjustViewBounds to true 2) set maxWidth and maxHeight to 100 3) set the height and width
356 * @param maxHeight maximum height for this view
363 public void setMaxHeight(int maxHeight) { argument
364 mMaxHeight = maxHeight;
H A DListView.java1223 * included. If maxHeight is provided, the measuring will stop when the
1224 * current height reaches maxHeight.
1232 * @param maxHeight The maximum height that will be returned (if all the
1247 final int maxHeight, int disallowPartialChildPosition) {
1257 // The previous height value that was less than maxHeight and contained
1287 if (returnedHeight >= maxHeight) {
1288 // We went over, figure out which height to return. If returnedHeight > maxHeight,
1293 && (returnedHeight != maxHeight) // i'th child did not fit completely
1295 : maxHeight;
1246 measureHeightOfChildren(int widthMeasureSpec, int startPosition, int endPosition, final int maxHeight, int disallowPartialChildPosition) argument
H A DTextView.java3345 public void setMaxHeight(int maxHeight) { argument
3346 mMaximum = maxHeight;
/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp252 uint32_t maxHeight; member in struct:meas::displayFrame
260 uint32_t maxHeight; member in struct:meas::sourceCrop
492 measPtr->df.maxHeight = dfMaxHeight(format->format);
493 testPrintI(" dfMaxHeight: %u", measPtr->df.maxHeight);
513 measPtr->sc.maxHeight = scMaxHeight(format->format, measPtr->df.maxDim);
514 testPrintI(" scMaxHeight: %s%u", (measPtr->sc.maxHeight
516 measPtr->sc.maxHeight);
/frameworks/av/media/libstagefright/
H A DACodec.cpp1322 int32_t maxWidth = 0, maxHeight = 0; local
1325 msg->findInt32("max-height", &maxHeight)) {
1327 mComponentName.c_str(), maxWidth, maxHeight);
1331 maxHeight);
1338 inputFormat->setInt32("max-height", maxHeight);
/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 993 milliseconds