Searched refs:contentBounds (Results 1 – 2 of 2) sorted by relevance
298 final Rect contentBounds = sourceHintRect != null && areaBounds.contains(sourceHintRect) in startSeamlessRotationIfNeeded() local300 final int w = contentBounds.width(); in startSeamlessRotationIfNeeded()301 final int h = contentBounds.height(); in startSeamlessRotationIfNeeded()303 final int insetLeft = (int) ((contentBounds.left - areaBounds.left) * scale + .5f); in startSeamlessRotationIfNeeded()304 final int insetTop = (int) ((contentBounds.top - areaBounds.top) * scale + .5f); in startSeamlessRotationIfNeeded()
622 final Rect contentBounds = mContentBounds; in onMeasure() local623 Gravity.apply(mGravity, right - left, bottom - top, selfBounds, contentBounds, in onMeasure()626 final int horizontalOffset = contentBounds.left - left; in onMeasure()627 final int verticalOffset = contentBounds.top - top; in onMeasure()