/frameworks/base/core/java/com/android/internal/widget/ |
PreferenceImageView.java | 24 * Extension of ImageView that correctly applies maxWidth and maxHeight. 60 final int maxHeight = getMaxHeight(); 61 if (maxHeight != Integer.MAX_VALUE 62 && (maxHeight < heightSize || heightMode == MeasureSpec.UNSPECIFIED)) { 63 heightMeasureSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.AT_MOST);
|
SizeAdaptiveLayout.java | 161 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; 332 * Constant value for maxHeight that indicates there is not maximum height [all...] |
/frameworks/volley/tests/src/com/android/volley/toolbox/ |
NetworkImageViewTest.java | 40 int maxHeight) { 43 lastMaxHeight = maxHeight;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
PseudoGridView.java | 82 int maxHeight = 0; 86 maxHeight = Math.max(maxHeight, child.getMeasuredHeight()); 88 int maxHeightSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.EXACTLY); 91 if (child.getMeasuredHeight() != maxHeight) { 95 totalHeight += maxHeight; 112 int maxHeight = 0; 123 maxHeight = Math.max(maxHeight, height); 130 y += maxHeight; [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardSecurityViewFlipper.java | 210 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; 281 maxHeight = other.maxHeight [all...] |
/external/robolectric/src/test/resources/res/layout/ |
media.xml | 31 android:maxHeight="46dip" 44 android:maxHeight="36dip"
|
main.xml | 32 android:maxHeight="46dip" 51 android:maxHeight="36dip"
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/ |
MaxHeightScrollView.java | 31 public void setMaxHeight(int maxHeight) { 32 mMaxHeight = maxHeight;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
PictureLayout.java | 85 int maxHeight = 0; 96 maxHeight += getPaddingTop() + getPaddingBottom(); 100 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight()); 105 resolveSize(maxHeight, heightMeasureSpec));
|
/frameworks/base/core/java/android/widget/ |
AbsoluteLayout.java | 62 int maxHeight = 0; 82 maxHeight = Math.max(maxHeight, childBottom); 88 maxHeight += mPaddingTop + mPaddingBottom; 91 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); 95 resolveSizeAndState(maxHeight, heightMeasureSpec, 0));
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
TargetDrawable.java | 124 int maxHeight = 0; 128 maxHeight = Math.max(maxHeight, childDrawable.getIntrinsicHeight()); 131 + maxWidth + "x" + maxHeight); 132 d.setBounds(0, 0, maxWidth, maxHeight); 136 + maxWidth + "x" + maxHeight); 137 childDrawable.setBounds(0, 0, maxWidth, maxHeight);
|
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
TargetDrawable.java | 127 int maxHeight = 0; 133 maxHeight = Math.max(maxHeight, childDrawable.getIntrinsicHeight()); 137 + maxWidth + "x" + maxHeight); 138 d.setBounds(0, 0, maxWidth, maxHeight); 144 + maxWidth + "x" + maxHeight); 145 childDrawable.setBounds(0, 0, maxWidth, maxHeight);
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/fontSettings/js/cr/ui/ |
overlay.js | 48 var maxHeight = Math.min(0.9 * window.innerHeight, 640) + 'px'; 50 pages[i].style.maxHeight = maxHeight;
|
/external/chromium_org/chrome/renderer/resources/extensions/ |
app_window_custom_bindings.js | 88 Object.defineProperty(Bounds.prototype, 'maxHeight', { 90 return appWindowData[privates(this).boundsKey_].maxHeight; 92 set: function(maxHeight) { 93 updateSizeConstraints(privates(this).boundsKey_, { maxHeight: maxHeight }); 107 Bounds.prototype.setMaximumSize = function(maxWidth, maxHeight) { 109 { maxWidth: maxWidth, maxHeight: maxHeight }); 288 maxHeight: params.innerBounds.maxHeight [all...] |
/external/chromium_org/content/common/browser_plugin/ |
browser_plugin_constants.cc | 18 const char kAttributeMaxHeight[] = "maxheight";
|
/frameworks/base/media/java/android/media/tv/ |
TvStreamConfig.java | 55 maxHeight(source.readInt()). 144 public Builder maxHeight(int maxHeight) { 145 mMaxHeight = maxHeight;
|
/external/deqp/modules/egl/ |
teglMemoryStressTests.cpp | 66 MemoryAllocator (EglTestContext& eglTestCtx, EGLDisplay display, EGLConfig config, int seed, ObjectType types, int minWidth, int minHeight, int maxWidth, int maxHeight, bool use); 99 MemoryAllocator::MemoryAllocator (EglTestContext& eglTestCtx, EGLDisplay display, EGLConfig config, int seed, ObjectType types, int minWidth, int minHeight, int maxWidth, int maxHeight, bool use) 111 , m_maxHeight (maxHeight) 314 int maxHeight; 384 m_allocator = new MemoryAllocator(m_eglTestCtx, m_display, m_config, m_seed, m_spec.types, m_spec.minWidth, m_spec.minHeight, m_spec.maxWidth, m_spec.maxHeight, m_spec.use); 465 spec.maxHeight = 256; 479 spec.maxHeight = 256; 493 spec.maxHeight = 1024; 507 spec.maxHeight = 1024; 521 spec.maxHeight = 1024 [all...] |
/cts/apps/CtsVerifier/src/android/support/wearable/view/ |
BoxInsetLayout.java | 111 int maxHeight = 0; 145 maxHeight = Math.max(maxHeight, 153 maxHeight += getPaddingTop() + mForegroundPadding.top 157 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); 163 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight()); 168 resolveSizeAndState(maxHeight, heightMeasureSpec,
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ListViewCompat.java | 224 * 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;
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
ViewportDescription.h | 85 Length maxHeight; 107 && maxHeight == other.maxHeight
|
/external/chromium_org/ui/webui/resources/js/cr/ui/ |
overlay.js | 86 var maxHeight = Math.min(0.9 * window.innerHeight, 640) + 'px'; 88 pages[i].style.maxHeight = maxHeight;
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
CustomLayout.java | 85 int maxHeight = 0; 110 maxHeight = Math.max(maxHeight, 120 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); 125 resolveSizeAndState(maxHeight, heightMeasureSpec,
|
/external/chromium_org/third_party/WebKit/Source/web/resources/ |
suggestionPicker.js | 144 var maxHeight = 0; 151 if (maxHeight === 0 && entryCount == SuggestionPicker.NumberOfVisibleEntries) 152 maxHeight = totalHeight; 155 if (maxHeight !== 0 && totalHeight > maxHeight) { 156 this._containerElement.style.maxHeight = (maxHeight - ListBorder) + "px"; 158 desiredWindowHeight = maxHeight;
|
/development/samples/ApiDemos/res/layout/ |
image_view_1.xml | 49 android:maxHeight="50dip" 64 android:maxHeight="70dip" 108 android:maxHeight="50dip" 123 android:maxHeight="70dip"
|
/external/chromium_org/chrome/browser/resources/feedback/js/ |
take_screenshot.js | 38 maxHeight: 2560
|