Searched refs:cropBox (Results 1 – 2 of 2) sorted by relevance
277 Rect cropBox = new Rect(); in applyPrintAttributes() local318 if (mEditor.getPageCropBox(i, cropBox)) { in applyPrintAttributes()319 cropBox.left = (int) (cropBox.left * scale + 0.5f); in applyPrintAttributes()320 cropBox.top = (int) (cropBox.top * scale + 0.5f); in applyPrintAttributes()321 cropBox.right = (int) (cropBox.right * scale + 0.5f); in applyPrintAttributes()322 cropBox.bottom = (int) (cropBox.bottom * scale + 0.5f); in applyPrintAttributes()323 cropBox.intersect(mediaBox); in applyPrintAttributes()324 mEditor.setPageCropBox(i, cropBox); in applyPrintAttributes()
231 public void setPageCropBox(int pageIndex, @NonNull Rect cropBox) { in setPageCropBox() argument233 throwIfCropBoxNull(cropBox); in setPageCropBox()237 nativeSetPageCropBox(mNativeDocument, pageIndex, cropBox); in setPageCropBox()353 private void throwIfCropBoxNull(Rect cropBox) { in throwIfCropBoxNull() argument354 if (cropBox == null) { in throwIfCropBoxNull()