Searched defs:contentRect (Results 1 - 3 of 3) sorted by relevance

/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/base/graphics/java/android/graphics/pdf/
H A DPdfDocument.java348 * @param contentRect The content rectangle. Must fit in the page.
350 public Builder setContentRect(Rect contentRect) { argument
351 if (contentRect != null && (contentRect.left < 0
352 || contentRect.top < 0
353 || contentRect.right > mPageInfo.mPageWidth
354 || contentRect.bottom > mPageInfo.mPageHeight)) {
355 throw new IllegalArgumentException("contentRect does not fit the page");
357 mPageInfo.mContentRect = contentRect;
/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayContent.java283 * @param contentRect The bounds to apply at the top level.
285 void resize(Rect contentRect) { argument
286 mContentRect.set(contentRect);

Completed in 207 milliseconds