Searched refs:heightSize (Results 1 – 10 of 10) sorted by relevance
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | GalleryThumbnailView.java | 129 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/ |
D | AutoResizeListView.java | 49 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/ |
D | MatchParentShrinkingLinearLayout.java | 808 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/ |
D | PreferenceImageView.java | 59 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local 62 && (maxHeight < heightSize || heightMode == MeasureSpec.UNSPECIFIED)) { in onMeasure()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | PagedView.java | 500 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/ |
D | CircledImageView.java | 315 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local 329 height = heightSize; in onMeasure() 331 height = (int) Math.min(desiredHeight, heightSize); in onMeasure()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | PagedView.java | 677 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local 692 scaledHeightSize = heightSize; in onMeasure() 694 mViewport.set(0, 0, widthSize, heightSize); in onMeasure() 702 if (widthSize <= 0 || heightSize <= 0) { in onMeasure() 718 if (DEBUG) Log.d(TAG, "PagedView.onMeasure(): " + widthSize + ", " + heightSize); in onMeasure()
|
D | CellLayout.java | 797 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local 799 int childHeightSize = heightSize - (getPaddingTop() + getPaddingBottom()); in onMeasure() 835 setMeasuredDimension(widthSize, heightSize); in onMeasure()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | ScrollAdapterView.java | 1157 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/ |
D | DigitalAppWidgetProvider.java | 419 final int heightSize = View.MeasureSpec.getSize(measuredSizes.mTargetHeightPx); in measure() local 421 final int heightMeasureSpec = View.MeasureSpec.makeMeasureSpec(heightSize, UNSPECIFIED); in measure()
|