Home
last modified time | relevance | path

Searched refs:isRect (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DDisplayCutoutBaseViewTest.kt143 assertThat(cutoutBaseView.protectionPath.isRect(pathBounds)).isTrue() in testCutoutProtection()
162 assertThat(cutoutBaseView.protectionPath.isRect(pathBounds)).isTrue() in testCutoutProtection_withDisplayRatio()
/frameworks/base/libs/hwui/tests/unit/
DSkiaBehaviorTests.cpp82 ASSERT_TRUE(result.isRect(&resultRect)); in TEST()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2.cpp770 if (damage.isRect() && mDamageRegion.isRect() && in setSurfaceDamage()
779 if (damage.isRect() && damage.getBounds() == Rect::INVALID_RECT) { in setSurfaceDamage()
965 if (region.isRect() && mVisibleRegion.isRect() && in setVisibleRegion()
1030 if (region.isRect() && mBlockingRegion.isRect() && in setBlockingRegion()
/frameworks/native/libs/renderengine/skia/filters/
DBlurFilter.cpp112 if (effectRegion.isRect()) { in drawBlurRegion()
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DPathPerfTest.java110 path.isRect(outRect); in testIsRect()
/frameworks/base/libs/hwui/jni/
DPath.cpp480 static jboolean isRect(JNIEnv* env, jclass clazz, jlong objHandle, jobject jrect) { in isRect() function in android::SkPathGlue
483 jboolean result = obj->isRect(&rect); in isRect()
571 {"nIsRect", "(JLandroid/graphics/RectF;)Z", (void*)SkPathGlue::isRect},
DRegion.cpp121 bool result = GetSkRegion(env, region)->isRect(); in Region_isRect()
/frameworks/native/include/ui/
DRegion.h52 inline bool isRect() const { return mStorage.size() == 1; } in isRect() function
/frameworks/base/graphics/java/android/graphics/
DRegion.java129 public native boolean isRect(); in isRect() method in Region
DPath.java293 public boolean isRect(@Nullable RectF rect) { in isRect() method in Path
/frameworks/native/libs/ui/include_vndk/ui/
DRegion.h52 inline bool isRect() const { return mStorage.size() == 1; } in isRect() function
/frameworks/native/libs/ui/include/ui/
DRegion.h52 inline bool isRect() const { return mStorage.size() == 1; } in isRect() function
/frameworks/native/libs/ui/
DRegion.cpp203 if (r.isRect()) return r; in createTJunctionFreeRegion()
900 size_t numRects = isRect() ? 1 : mStorage.size() - 1; in end()
/frameworks/native/libs/renderengine/skia/
DSkiaRenderEngine.cpp919 shadowBounds.isRect() && !shadowClip.isEmpty() ? shadowClip : shadowBounds; in drawLayersInternal()
1148 if (!bounds.isRect()) { in drawLayersInternal()
/frameworks/native/services/surfaceflinger/FrontEnd/
DRequestedLayerState.cpp530 if (exclude.isRect()) { in reduce()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
DFlattenerTest.cpp357 EXPECT_TRUE(overrideDamageRegion.isRect() && in TEST_F()
363 EXPECT_TRUE(overrideDamageRegion.isRect() && overrideDamageRegion.bounds() == Rect::EMPTY_RECT); in TEST_F()
/frameworks/base/core/tests/coretests/src/android/text/
DLayoutTest.java482 assertTrue(generatedPath.isRect(pathRectangle)); in testGetSelectionPathWithASingleLineSelection()
/frameworks/base/services/core/java/com/android/server/wm/
DAccessibilityController.java1043 if (accountedBounds.isRect()) { in recomputeBounds()
/frameworks/native/services/surfaceflinger/
DLayer.cpp356 if (exclude.isRect()) { in reduce()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt11152 method public boolean isRect(android.graphics.RectF);
11448 method public boolean isRect();
/frameworks/base/core/api/
Dcurrent.txt16735 method public boolean isRect(@Nullable android.graphics.RectF);
17048 method public boolean isRect();