Home
last modified time | relevance | path

Searched refs:heightSize (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Gallery2/src/com/android/photos/views/
DGalleryThumbnailView.java129 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
137 "Using fallback spec of EXACTLY " + heightSize); in onMeasure()
140 setMeasuredDimension(widthSize, heightSize); in onMeasure()
266 int heightSize = (int) (.5f + (mAdapter.getIntrinsicAspectRatio(position) >= 1f in makeAndAddColumn() local
269 int heightSpec = MeasureSpec.makeMeasureSpec(heightSize, MeasureSpec.EXACTLY); in makeAndAddColumn()
273 child.layout(childLeft, nextTop, childLeft + columnWidth, nextTop + heightSize); in makeAndAddColumn()
274 nextTop += heightSize; in makeAndAddColumn()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAutoResizeListView.java49 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
54 height = heightSize; in onMeasure()
57 height = Math.min(desiredHeight, heightSize); in onMeasure()
/packages/apps/Settings/src/com/android/settings/widget/
DMatchParentShrinkingLinearLayout.java808 int heightSize = mTotalLength; in measureVertical() local
811 heightSize = Math.max(heightSize, getSuggestedMinimumHeight()); in measureVertical()
814 int heightSizeAndState = resolveSizeAndState(heightSize, heightMeasureSpec, 0); in measureVertical()
815 heightSize = heightSizeAndState & MEASURED_SIZE_MASK; in measureVertical()
820 int delta = heightSize - mTotalLength; in measureVertical()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
DPreferenceImageView.java59 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
62 && (maxHeight < heightSize || heightMode == MeasureSpec.UNSPECIFIED)) { in onMeasure()
/packages/apps/Launcher2/src/com/android/launcher2/
DPagedView.java500 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
506 if (widthSize <= 0 || heightSize <= 0) { in onMeasure()
524 if (DEBUG) Log.d(TAG, "PagedView.onMeasure(): " + widthSize + ", " + heightSize); in onMeasure()
548 MeasureSpec.makeMeasureSpec(heightSize - verticalPadding, childHeightMode); in onMeasure()
557 heightSize = maxChildHeight + verticalPadding; in onMeasure()
560 setMeasuredDimension(widthSize, heightSize); in onMeasure()
/packages/apps/PackageInstaller/src/android/support/wearable/view/
DCircledImageView.java315 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
329 height = heightSize; in onMeasure()
331 height = (int) Math.min(desiredHeight, heightSize); in onMeasure()
/packages/services/Car/car-ui-provider/src/android/car/ui/provider/
DCarDrawerLayout.java673 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
685 heightSize = 300; in onMeasure()
693 setMeasuredDimension(widthSize, heightSize); in onMeasure()
701 heightSize - lp.topMargin - lp.bottomMargin, MeasureSpec.EXACTLY); in onMeasure()
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java671 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
686 scaledHeightSize = heightSize; in onMeasure()
688 mViewport.set(0, 0, widthSize, heightSize); in onMeasure()
696 if (widthSize <= 0 || heightSize <= 0) { in onMeasure()
712 if (DEBUG) Log.d(TAG, "PagedView.onMeasure(): " + widthSize + ", " + heightSize); in onMeasure()
DCellLayout.java802 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
804 int childHeightSize = heightSize - (getPaddingTop() + getPaddingBottom()); in onMeasure()
840 setMeasuredDimension(widthSize, heightSize); in onMeasure()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java1157 int heightSize = MeasureSpec.getSize(heightMeasureSpec);
1159 int clientHeightSize = heightSize - getPaddingTop() - getPaddingBottom();
1197 heightSize = heightMode == MeasureSpec.AT_MOST ? Math.min(size, heightSize) : size;
1201 setMeasuredDimension(widthSize, heightSize);
1205 int scrollMax = (mOrientation == HORIZONTAL ? heightSize : widthSize) -
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetProvider.java419 final int heightSize = View.MeasureSpec.getSize(measuredSizes.mTargetHeightPx); in measure() local
421 final int heightMeasureSpec = View.MeasureSpec.makeMeasureSpec(heightSize, UNSPECIFIED); in measure()