/frameworks/support/core/ktx/src/main/java/androidx/core/graphics/ |
H A D | Path.kt | 42 op(p, Path.Op.UNION) 52 op(p, Path.Op.DIFFERENCE) 69 op(this@or, p, Path.Op.INTERSECT) 79 op(p, Path.Op.XOR)
|
H A D | Region.kt | 45 op(r, Region.Op.UNION) 54 op(r, Region.Op.DIFFERENCE) 63 op(r, Region.Op.DIFFERENCE) 72 op(this@unaryMinus, Region.Op.DIFFERENCE) 96 op(r, Region.Op.INTERSECT) 105 op(r, Region.Op.INTERSECT) 115 op(r, Region.Op.XOR) 125 op(r, Region.Op.XOR)
|
H A D | Rect.kt | 182 op(r, Region.Op.DIFFERENCE) 192 op(r.toRect(), Region.Op.DIFFERENCE) 275 op(r, Region.Op.XOR) 285 op(r.toRect(), Region.Op.XOR)
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
H A D | TestService.java | 60 final static Op[] mOpPairs = new Op[] { 116 final static Op[] mAvailOps = new Op[] { 244 Op mForegroundOp; 245 Op mBackgroundOp; 428 static public abstract class Op { class in class:TestService 432 public Op(String name, String longName) { method in class:TestService.Op 458 static class NoOp extends Op { 472 static class CpuOp extends Op { [all...] |
H A D | FrameworkPerfActivity.java | 73 TestService.Op mFgTest; 74 TestService.Op mBgTest; 143 TestService.Op op = TestService.mAvailOps[i]; 213 TestService.Op op = TestService.mAvailOps[position];
|
/frameworks/base/libs/hwui/ |
H A D | ClipArea.h | 131 void clipRectWithTransform(const Rect& r, const mat4* transform, SkRegion::Op op); 132 void clipPathWithTransform(const SkPath& path, const mat4* transform, SkRegion::Op op); 156 void rectangleModeClipRectWithTransform(const Rect& r, const mat4* transform, SkRegion::Op op); 160 SkRegion::Op op); 165 void regionModeClipRectWithTransform(const Rect& r, const mat4* transform, SkRegion::Op op); 167 void clipRegion(const SkRegion& region, SkRegion::Op op);
|
H A D | ClipArea.cpp | 206 void ClipArea::clipRectWithTransform(const Rect& r, const mat4* transform, SkRegion::Op op) { 223 void ClipArea::clipRegion(const SkRegion& region, SkRegion::Op op) { 232 void ClipArea::clipPathWithTransform(const SkPath& path, const mat4* transform, SkRegion::Op op) { 259 SkRegion::Op op) { 295 SkRegion::Op op) { 320 SkRegion::Op op) {
|
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
H A D | variant.h | 209 template <typename Op> 210 decltype(auto) Visit(std::int32_t target_index, Op&& op) { 212 return std::forward<Op>(op)(get(TypeTag<Type>{})); 214 return std::forward<Op>(op)(get(TypeTag<EmptyVariant>{})); 216 template <typename Op> 217 decltype(auto) Visit(std::int32_t target_index, Op&& op) const { 219 return std::forward<Op>(op)(get(TypeTag<Type>{})); 221 return std::forward<Op>(op)(get(TypeTag<EmptyVariant>{})); 366 // Recursively traverses the union and calls Op on the active value when the 367 // active type is found. If the union is empty Op i [all...] |
/frameworks/base/core/java/android/app/ |
H A D | BackStackRecord.java | 58 final BackStackRecord.Op op = bse.mOps.get(opNum); 99 BackStackRecord.Op op = new BackStackRecord.Op(); 190 static final class Op { class in class:BackStackRecord 198 Op() { method in class:BackStackRecord.Op 201 Op(int cmd, Fragment fragment) { method in class:BackStackRecord.Op 207 ArrayList<Op> mOps = new ArrayList<>(); 304 final Op op = mOps.get(opNum); 343 writer.print(" Op #"); 400 void addOp(Op o [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Region.java | 36 public enum Op { enum in class:Region 44 Op(int nativeInt) { method in class:Region.Op 251 return op(r, Op.UNION); 255 * Perform the specified Op on this region and the specified rect. Return 258 public boolean op(Rect r, Op op) { 264 * Perform the specified Op on this region and the specified rect. Return 267 public boolean op(int left, int top, int right, int bottom, Op op) { 273 * Perform the specified Op on this region and the specified region. Return 276 public boolean op(Region region, Op op) { 281 * Set this region to the result of performing the Op o [all...] |
H A D | Canvas.java | 776 private static void checkValidClipOp(@NonNull Region.Op op) { 778 && op != Region.Op.INTERSECT && op != Region.Op.DIFFERENCE) { 780 "Invalid Region.Op - only INTERSECT and DIFFERENCE are allowed"); 791 * @deprecated Region.Op values other than {@link Region.Op#INTERSECT} and 792 * {@link Region.Op#DIFFERENCE} have the ability to expand the clip. The canvas clipping APIs 797 * As of API Level API level {@value Build.VERSION_CODES#P} only {@link Region.Op#INTERSECT} and 798 * {@link Region.Op#DIFFERENCE} are valid Region.Op parameter [all...] |
H A D | Path.java | 132 * @see #op(Path, android.graphics.Path.Op) 133 * @see #op(Path, Path, android.graphics.Path.Op) 135 public enum Op { enum in class:Path 159 * Set this path to the result of applying the Op to this path and the specified path. 168 * @see Op 169 * @see #op(Path, Path, android.graphics.Path.Op) 171 public boolean op(Path path, Op op) { 176 * Set this path to the result of applying the Op to the two specified paths. 186 * @see Op 187 * @see #op(Path, android.graphics.Path.Op) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | RegionInterceptingFrameLayout.java | 21 import android.graphics.Region.Op; 79 internalInsetsInfo.touchableRegion.op(riv.getInterceptRegion(), Op.UNION);
|
/frameworks/support/fragment/src/main/java/androidx/fragment/app/ |
H A D | BackStackRecord.java | 58 final BackStackRecord.Op op = bse.mOps.get(opNum); 99 BackStackRecord.Op op = new BackStackRecord.Op(); 192 static final class Op { class in class:BackStackRecord 200 Op() { method in class:BackStackRecord.Op 203 Op(int cmd, Fragment fragment) { method in class:BackStackRecord.Op 209 ArrayList<Op> mOps = new ArrayList<>(); 296 final Op op = mOps.get(opNum); 311 writer.print(prefix); writer.print(" Op #"); writer.print(opNum); 369 void addOp(Op o [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | PathOpsActivity.java | 57 Path.Op[] ops = Path.Op.values();
|
H A D | ClipRegion2Activity.java | 74 Region.Op.DIFFERENCE);
|
/frameworks/layoutlib/bridge/src/android/view/ |
H A D | RectShadowPainter.java | 35 import android.graphics.Region.Op; 152 originalClip.y + originalClip.height, Op.REPLACE); 154 canvas.getHeight(), Op.INTERSECT);
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
H A D | Region_Delegate.java | 70 * to the given {@link Region.Op}. 72 * If the Op is not one that combines two shapes, then this return null 80 if (regionOp == Region.Op.DIFFERENCE.nativeInt) { 91 } else if (regionOp == Region.Op.INTERSECT.nativeInt) { 102 } else if (regionOp == Region.Op.UNION.nativeInt) { 113 } else if (regionOp == Region.Op.XOR.nativeInt) { 124 } else if (regionOp == Region.Op.REVERSE_DIFFERENCE.nativeInt) {
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | AccessibilityController.java | 560 portionOfWindowAlreadyAccountedFor.op(nonMagnifiedBounds, Region.Op.UNION); 561 windowBounds.op(portionOfWindowAlreadyAccountedFor, Region.Op.DIFFERENCE); 564 mMagnificationRegion.op(windowBounds, Region.Op.UNION); 565 mMagnificationRegion.op(availableBounds, Region.Op.INTERSECT); 567 nonMagnifiedBounds.op(windowBounds, Region.Op.UNION); 568 availableBounds.op(windowBounds, Region.Op.DIFFERENCE); 574 accountedBounds.op(nonMagnifiedBounds, Region.Op.UNION); 575 accountedBounds.op(0, 0, screenWidth, screenHeight, Region.Op.INTERSECT); 591 Region.Op.INTERSECT); 607 dirtyRegion.op(mOldMagnificationRegion, Region.Op [all...] |
/frameworks/compile/slang/BitWriter_2_9/ |
H A D | ValueEnumerator.cpp | 87 for (const Use &Op : I.operands()) { 88 auto *MD = dyn_cast<MetadataAsValue>(&Op); 90 EnumerateOperandType(Op); 423 const Value *Op = C->getOperand(i); local 427 if (isa<BasicBlock>(Op)) 430 EnumerateOperandType(Op);
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
H A D | ValueEnumerator.cpp | 87 for (const Use &Op : I.operands()) { 88 auto *MD = dyn_cast<MetadataAsValue>(&Op); 90 EnumerateOperandType(Op); 423 const Value *Op = C->getOperand(i); local 427 if (isa<BasicBlock>(Op)) 430 EnumerateOperandType(Op);
|
/frameworks/compile/slang/BitWriter_3_2/ |
H A D | ValueEnumerator.cpp | 87 for (const Use &Op : I.operands()) { 88 auto *MD = dyn_cast<MetadataAsValue>(&Op); 90 EnumerateOperandType(Op); 423 const Value *Op = C->getOperand(i); local 427 if (isa<BasicBlock>(Op)) 430 EnumerateOperandType(Op);
|
/frameworks/base/core/java/android/view/ |
H A D | DisplayCutout.java | 187 * bounds.op(0, 0, Integer.MAX_VALUE, displayCutout.getSafeInsetTop(), Region.Op.INTERSECT); 213 bounds.op(0, 0, Integer.MAX_VALUE, getSafeInsetTop(), Region.Op.INTERSECT); 219 bounds.op(0, 0, getSafeInsetLeft(), Integer.MAX_VALUE, Region.Op.INTERSECT); 226 Integer.MAX_VALUE, Integer.MAX_VALUE, Region.Op.INTERSECT); 463 result.op(r, Region.Op.UNION);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | AppOpsService.java | 386 final static class Ops extends SparseArray<Op> { 398 final static class Op { class in class:AppOpsService 412 Op(UidState _uidState, String _packageName, int _op) { method in class:AppOpsService.Op 540 final ArrayList<Op> mStartedOps = new ArrayList<>(); 715 final Op op = client.mStartedOps.get(j); 732 final Op op = ops.valueAt(i); 782 final Op op = ops.valueAt(j); 814 Op curOp = pkgOps.valueAt(j); 825 Op curOp = pkgOps.get(ops[j]); 945 private void pruneOp(Op o [all...] |
/frameworks/base/core/jni/ |
H A D | android_graphics_Canvas.cpp | 178 // SkRegion::Op and SkClipOp are numerically identical, so we can freely cast 180 static_assert(SkRegion::kDifference_Op == static_cast<SkRegion::Op>(SkClipOp::kDifference), ""); 181 static_assert(SkRegion::kIntersect_Op == static_cast<SkRegion::Op>(SkClipOp::kIntersect), ""); 182 static_assert(SkRegion::kUnion_Op == static_cast<SkRegion::Op>(SkClipOp::kUnion_deprecated), ""); 183 static_assert(SkRegion::kXOR_Op == static_cast<SkRegion::Op>(SkClipOp::kXOR_deprecated), ""); 184 static_assert(SkRegion::kReverseDifference_Op == static_cast<SkRegion::Op>(SkClipOp::kReverseDifference_deprecated), ""); 185 static_assert(SkRegion::kReplace_Op == static_cast<SkRegion::Op>(SkClipOp::kReplace_deprecated), ""); 188 // The opHandle is defined in Canvas.java to be Region::Op 189 SkRegion::Op rgnOp = static_cast<SkRegion::Op>(opHandl [all...] |