Home
last modified time | relevance | path

Searched refs:availableHeight (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/
DPreviewPositionHelper.java91 float availableHeight = surfaceHeight; in updateThumbnailMatrix() local
95 ? availableHeight / availableWidth in updateThumbnailMatrix()
96 : availableWidth / availableHeight; in updateThumbnailMatrix()
114 availableHeight = surfaceHeight in updateThumbnailMatrix()
134 if (croppedHeight > availableHeight) { in updateThumbnailMatrix()
135 croppedHeight = availableHeight; in updateThumbnailMatrix()
162 thumbnailClipHint.bottom += availableHeight - croppedHeight; in updateThumbnailMatrix()
/frameworks/base/core/java/com/android/internal/widget/
DImageFloatingTextView.java138 int availableHeight = MeasureSpec.getSize(heightMeasureSpec) - mPaddingTop - mPaddingBottom; in onMeasure() local
139 if (getLayout() != null && getLayout().getHeight() != availableHeight) { in onMeasure()
147 if (layout.getHeight() > availableHeight) { in onMeasure()
151 while (maxLines > 1 && layout.getLineBottom(maxLines - 1) > availableHeight) { in onMeasure()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
DReachabilityEduLayout.java86 int letterboxHorizontalPosition, int availableWidth, int availableHeight, in handleVisibility() argument
93 handleLetterboxVerticalPosition(availableHeight, letterboxVerticalPosition); in handleVisibility()
191 private void handleLetterboxVerticalPosition(int availableHeight, in handleLetterboxVerticalPosition() argument
198 final int verticalGap = availableHeight / 2; in handleLetterboxVerticalPosition()
200 final int bottomAvailableSpace = availableHeight - topAvailableSpace; in handleLetterboxVerticalPosition()
DReachabilityEduWindowManager.java244 int availableHeight = getTaskBounds().height() - mTopActivityLetterboxHeight; in updateVisibilityOfViews() local
248 availableHeight, mCompatUIConfiguration, mTaskInfo); in updateVisibilityOfViews()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSContainerImpl.java88 int availableHeight = View.MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
89 int maxQs = availableHeight - layoutParams.topMargin - layoutParams.bottomMargin in onMeasure()
99 MeasureSpec.makeMeasureSpec(availableHeight, MeasureSpec.EXACTLY)); in onMeasure()
103 MeasureSpec.makeMeasureSpec(availableHeight, MeasureSpec.EXACTLY)); in onMeasure()
DTileLayout.java192 final int availableHeight = allowedHeight + mCellMarginVertical; in updateMaxRows() local
194 mRows = availableHeight / (getCellHeight() + mCellMarginVertical); in updateMaxRows()
DQSPanel.java244 int availableHeight = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
245 int excessHeight = newHeight - availableHeight; in onMeasure()
DPagedTileLayout.java474 int availableHeight = mLastMaxHeight - mExcessHeight; in onMeasure() local
475 if (mPages.get(0).updateMaxRows(availableHeight, nTiles) || mDistributeTiles) { in onMeasure()
/frameworks/base/core/tests/coretests/src/android/util/
DInternalSelectionView.java183 final int availableHeight = getHeight() - mPaddingTop - mPaddingBottom; in getRowHeight() local
184 final int desiredRowHeight = availableHeight / mNumRows; in getRowHeight()
188 final int residualHeight = availableHeight % mNumRows; in getRowHeight()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DTask.java327 float availableHeight = lastSnapshotData.taskSize.y; in getVisibleThumbnailRatio() local
331 availableHeight -= in getVisibleThumbnailRatio()
334 return availableWidth / availableHeight; in getVisibleThumbnailRatio()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPageAdapter.java429 final int availableHeight = mPreviewArea.getHeight(); in updatePreviewAreaPageSizeAndEmptyState() local
453 availableHeight - 2 * (mPreviewListPadding + mPreviewPageMargin) - mFooterHeight); in updatePreviewAreaPageSizeAndEmptyState()
468 + 2 * mPreviewPageMargin > availableHeight) { in updatePreviewAreaPageSizeAndEmptyState()
470 (availableHeight - mPageContentHeight - mFooterHeight) / 2 in updatePreviewAreaPageSizeAndEmptyState()
474 (availableHeight - totalContentHeight) / 2); in updatePreviewAreaPageSizeAndEmptyState()
/frameworks/base/core/java/android/widget/
DAnalogClock.java677 int availableHeight = mBottom - mTop; in onDraw() local
680 int y = availableHeight / 2; in onDraw()
688 if (availableWidth < w || availableHeight < h) { in onDraw()
691 (float) availableHeight / (float) h); in onDraw()
DTextView.java9843 final int availableHeight = getMeasuredHeight() - getExtendedPaddingBottom() in autoSizeText() local
9846 if (availableWidth <= 0 || availableHeight <= 0) { in autoSizeText()
9853 TEMP_RECTF.bottom = availableHeight; in autoSizeText()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DClipboardOverlayView.java144 int availableHeight = mTextPreview.getHeight() in onFinishInflate() local
146 mTextPreview.setMaxLines(availableHeight / mTextPreview.getLineHeight()); in onFinishInflate()