Searched refs:contentRect (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/graphics/java/android/graphics/pdf/
H A DPdfDocument.java351 * @param contentRect The content rectangle. Must fit in the page.
353 public Builder setContentRect(Rect contentRect) { argument
354 if (contentRect != null && (contentRect.left < 0
355 || contentRect.top < 0
356 || contentRect.right > mPageInfo.mPageWidth
357 || contentRect.bottom > mPageInfo.mPageHeight)) {
358 throw new IllegalArgumentException("contentRect does not fit the page");
360 mPageInfo.mContentRect = contentRect;
/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfDocument.cpp36 PageRecord(int width, int height, const SkRect& contentRect) argument
41 mContentRect = contentRect;
68 SkRect contentRect = SkRect::MakeLTRB( local
70 PageRecord* page = new PageRecord(width, height, contentRect);
75 SkRect::MakeWH(contentRect.width(), contentRect.height()));
/frameworks/support/print/src/main/java/androidx/print/
H A DPrintHelper.java641 RectF contentRect;
643 contentRect = new RectF(page.getInfo().getContentRect());
650 contentRect = new RectF(dummyPage.getInfo().getContentRect());
658 contentRect, fittingMode);
664 matrix.postTranslate(contentRect.left, contentRect.top);
667 page.getCanvas().clipRect(contentRect);
/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskStack.java1557 Rect contentRect, Rect postExclude) {
1601 mTmpRect.intersect(contentRect);
1556 setTouchExcludeRegion(Task focusedTask, int delta, Region touchExcludeRegion, Rect contentRect, Rect postExclude) argument

Completed in 44 milliseconds