/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/ |
D | PreviewPositionHelper.java | 91 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/ |
D | ImageFloatingTextView.java | 138 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/ |
D | ReachabilityEduLayout.java | 86 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()
|
D | ReachabilityEduWindowManager.java | 244 int availableHeight = getTaskBounds().height() - mTopActivityLetterboxHeight; in updateVisibilityOfViews() local 248 availableHeight, mCompatUIConfiguration, mTaskInfo); in updateVisibilityOfViews()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSContainerImpl.java | 88 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()
|
D | TileLayout.java | 192 final int availableHeight = allowedHeight + mCellMarginVertical; in updateMaxRows() local 194 mRows = availableHeight / (getCellHeight() + mCellMarginVertical); in updateMaxRows()
|
D | QSPanel.java | 244 int availableHeight = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local 245 int excessHeight = newHeight - availableHeight; in onMeasure()
|
D | PagedTileLayout.java | 474 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/ |
D | InternalSelectionView.java | 183 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/ |
D | Task.java | 327 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/ |
D | PageAdapter.java | 429 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/ |
D | AnalogClock.java | 677 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()
|
D | TextView.java | 9843 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/ |
D | ClipboardOverlayView.java | 144 int availableHeight = mTextPreview.getHeight() in onFinishInflate() local 146 mTextPreview.setMaxLines(availableHeight / mTextPreview.getLineHeight()); in onFinishInflate()
|