OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:contentRect
(Results
1 - 19
of
19
) sorted by null
/frameworks/base/graphics/java/android/graphics/pdf/
PdfDocument.java
351
* @param
contentRect
The content rectangle. Must fit in the page.
353
public Builder setContentRect(Rect
contentRect
) {
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/
PdfDocument.cpp
36
PageRecord(int width, int height, const SkRect&
contentRect
)
41
mContentRect =
contentRect
;
68
SkRect
contentRect
= SkRect::MakeLTRB(
70
PageRecord* page = new PageRecord(width, height,
contentRect
);
75
SkRect::MakeWH(
contentRect
.width(),
contentRect
.height()));
/cts/tests/pdf/src/android/graphics/pdf/cts/
PdfDocumentTest.java
363
Rect
contentRect
= new Rect(0, 0, 100, 200);
365
(new PdfDocument.PageInfo.Builder(100, 200, 0)).setContentRect(
contentRect
)
367
assertEquals(page.getInfo().getContentRect(),
contentRect
);
377
Rect
contentRect
= new Rect(10, 20, 90, 180);
379
(new PdfDocument.PageInfo.Builder(100, 200, 0)).setContentRect(
contentRect
)
381
assertEquals(page.getInfo().getContentRect(),
contentRect
);
391
Rect
contentRect
= new Rect(50, 100, 50, 100);
393
(new PdfDocument.PageInfo.Builder(100, 200, 0)).setContentRect(
contentRect
)
395
assertEquals(page.getInfo().getContentRect(),
contentRect
);
409
Rect
contentRect
= new Rect(90, 180, 10, 20)
[
all
...]
/external/skia/include/views/
SkTouchGesture.h
48
void setTransLimit(const SkRect&
contentRect
, const SkRect& windowRect,
/external/skqp/include/views/
SkTouchGesture.h
48
void setTransLimit(const SkRect&
contentRect
, const SkRect& windowRect,
/prebuilts/ndk/r16/sources/android/native_app_glue/
android_native_app_glue.h
154
ARect
contentRect
;
251
* find the new content rect in android_app::
contentRect
.
/frameworks/support/print/src/main/java/androidx/print/
PrintHelper.java
641
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
);
/external/skia/src/views/
SkTouchGesture.cpp
336
void SkTouchGesture::setTransLimit(const SkRect&
contentRect
, const SkRect& windowRect,
339
fContentRect =
contentRect
;
/external/skqp/src/views/
SkTouchGesture.cpp
336
void SkTouchGesture::setTransLimit(const SkRect&
contentRect
, const SkRect& windowRect,
339
fContentRect =
contentRect
;
/frameworks/base/services/core/java/com/android/server/wm/
TaskStack.java
[
all
...]
/prebuilts/tools/darwin-x86_64/swt/
swt.jar
/prebuilts/sdk/21/
android.jar
/prebuilts/sdk/25/
android.jar
/prebuilts/sdk/26/
android.jar
/prebuilts/sdk/27/
android.jar
/prebuilts/sdk/28/
android.jar
/prebuilts/sdk/current/
android.jar
/prebuilts/sdk/system_28/
android.jar
/prebuilts/sdk/system_current/
android.jar
Completed in 3298 milliseconds