Home
last modified time | relevance | path

Searched refs:region1 (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libaaudio/tests/
Dtest_marshalling.cpp56 void *region1; in TEST() local
57 EXPECT_EQ(AAUDIO_OK, sharedMemoryA.resolve(0, 16, &region1)); // fits in region in TEST()
58 EXPECT_NE(AAUDIO_OK, sharedMemoryA.resolve(-2, 16, &region1)); // offset is negative in TEST()
59 EXPECT_NE(AAUDIO_OK, sharedMemoryA.resolve(0, memSizeBytes + 8, &region1)); // size too big in TEST()
60 … EXPECT_NE(AAUDIO_OK, sharedMemoryA.resolve(memSizeBytes - 8, 16, &region1)); // goes past the end in TEST()
61 int32_t *buffer1 = (int32_t *)region1; in TEST()
93 void *region1; in TEST() local
94 EXPECT_EQ(AAUDIO_OK, sharedRegionA.resolve(sharedMemories, &region1)); in TEST()
95 int32_t *buffer1 = (int32_t *)region1; in TEST()
/frameworks/layoutlib/bridge/src/android/graphics/
DRegion_Delegate.java414 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/
DRegion.java300 public boolean op(@NonNull Region region1, @NonNull Region region2, @NonNull Op op) { in op() argument
301 return nativeOp(mNativeRegion, region1.mNativeRegion, in op()
/frameworks/base/core/jni/android/graphics/
DRegion.cpp111 const SkRegion* region1 = reinterpret_cast<SkRegion*>(region1Handle); in Region_op2() local
113 bool result = dst->op(*region1, *region2, (SkRegion::Op)op); in Region_op2()