Searched refs:mediaBox (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/graphics/java/android/graphics/pdf/ |
D | PdfEditor.java | 191 public void setPageMediaBox(int pageIndex, @NonNull Rect mediaBox) { in setPageMediaBox() argument 193 throwIfMediaBoxNull(mediaBox); in setPageMediaBox() 197 nativeSetPageMediaBox(mNativeDocument, pageIndex, mediaBox); in setPageMediaBox() 333 private void throwIfMediaBoxNull(Rect mediaBox) { in throwIfMediaBoxNull() argument 334 if (mediaBox == null) { in throwIfMediaBoxNull() 362 Rect mediaBox); in nativeSetPageMediaBox() argument 366 Rect mediaBox); in nativeSetPageCropBox() argument
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/ |
D | PdfManipulationService.java | 276 Rect mediaBox = new Rect(); in applyPrintAttributes() local 291 if (!mEditor.getPageMediaBox(i, mediaBox)) { in applyPrintAttributes() 296 final int srcWidthPts = mediaBox.width(); in applyPrintAttributes() 297 final int srcHeightPts = mediaBox.height(); in applyPrintAttributes() 300 mediaBox.right = dstWidthPts; in applyPrintAttributes() 301 mediaBox.bottom = dstHeightPts; in applyPrintAttributes() 302 mEditor.setPageMediaBox(i, mediaBox); in applyPrintAttributes() 323 cropBox.intersect(mediaBox); in applyPrintAttributes() 341 Rect clip = new Rect(mediaBox); in applyPrintAttributes()
|
/frameworks/base/core/jni/android/graphics/pdf/ |
D | PdfEditor.cpp | 266 jobject mediaBox) { in nativeSetPageMediaBox() argument 267 nativeSetPageBox(env, thiz, documentPtr, pageIndex, PAGE_BOX_MEDIA, mediaBox); in nativeSetPageMediaBox() 271 jobject mediaBox) { in nativeSetPageCropBox() argument 272 nativeSetPageBox(env, thiz, documentPtr, pageIndex, PAGE_BOX_CROP, mediaBox); in nativeSetPageCropBox()
|