Searched refs:region1 (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/media/libaaudio/tests/ |
D | test_marshalling.cpp | 78 void *region1; in TEST() local 79 EXPECT_EQ(AAUDIO_OK, sharedMemoryA.resolve(0, 16, ®ion1)); // fits in region in TEST() 80 EXPECT_NE(AAUDIO_OK, sharedMemoryA.resolve(-2, 16, ®ion1)); // offset is negative in TEST() 81 EXPECT_NE(AAUDIO_OK, sharedMemoryA.resolve(0, memSizeBytes + 8, ®ion1)); // size too big in TEST() 82 … EXPECT_NE(AAUDIO_OK, sharedMemoryA.resolve(memSizeBytes - 8, 16, ®ion1)); // goes past the end in TEST() 83 int32_t *buffer1 = (int32_t *)region1; in TEST() 114 void *region1; in TEST() local 115 EXPECT_EQ(AAUDIO_OK, sharedRegionA.resolve(sharedMemories, ®ion1)); in TEST() 116 int32_t *buffer1 = (int32_t *)region1; in TEST()
|
/frameworks/native/libs/ui/tests/ |
D | Region_test.cpp | 171 Region region1; in TEST_F() local 172 region1.addRectUnchecked(10, 20, 30, 40); in TEST_F() 173 region1.addRectUnchecked(40, 30, 20, 10); in TEST_F() 179 EXPECT_NE(std::hash<Region>{}(region1), std::hash<Region>{}(region2)); in TEST_F()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Region_Delegate.java | 414 Region_Delegate region1 = sManager.getDelegate(native_region1); in nativeOp() local 415 if (region1 == null) { in nativeOp() 424 dstRegion.mArea = combineShapes(region1.mArea, region2.mArea, op); in nativeOp() 458 Region_Delegate region1 = sManager.getDelegate(native_r1); in nativeEquals() local 459 if (region1 == null) { in nativeEquals() 468 return region1.mArea.equals(region2.mArea); in nativeEquals()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Region.java | 301 public boolean op(@NonNull Region region1, @NonNull Region region2, @NonNull Op op) { in op() argument 302 return nativeOp(mNativeRegion, region1.mNativeRegion, in op()
|
/frameworks/base/libs/hwui/jni/ |
D | Region.cpp | 107 const SkRegion* region1 = reinterpret_cast<SkRegion*>(region1Handle); in Region_op2() local 109 bool result = dst->op(*region1, *region2, (SkRegion::Op)op); in Region_op2()
|