/frameworks/base/libs/hwui/tests/unit/ |
D | OpBufferTests.cpp | 31 using Op = MockTypes; typedef 100 buffer.push_container(MockOpContainer<Op::Lifecycle> { in TEST() 114 buffer.push_container(MockOpContainer<Op::Lifecycle> { in TEST() 154 buffer.push<Op::IntHolder>({42}); in TEST() 163 buffer.push<Op::NoOp>({}); in TEST() 164 buffer.push<Op::IntHolder>({0}); in TEST() 165 buffer.push<Op::IntHolder>({1}); in TEST() 166 buffer.push<Op::NoOp>({}); in TEST() 167 buffer.push<Op::NoOp>({}); in TEST() 168 buffer.push<Op::IntHolder>({2}); in TEST() [all …]
|
D | CanvasOpTests.cpp | 38 using Op = CanvasOpType; typedef 66 buffer.push<Op::DrawColor>({ in TEST() 81 buffer.push<Op::Save>({}); in TEST() 82 buffer.push<Op::Save>({}); in TEST() 83 buffer.push<Op::Restore>({}); in TEST() 92 case Op::Save: in TEST() 95 case Op::Restore: in TEST() 121 buffer.push<Op::DrawColor> ({ in TEST() 136 buffer.push<Op::DrawPoint> ({ in TEST() 161 buffer.push(CanvasOp<Op::DrawPoints> { in TEST() [all …]
|
/frameworks/base/startop/view_compiler/ |
D | dex_builder.cc | 29 using Op = Instruction::Op; typedef 69 std::ostream& operator<<(std::ostream& out, const Instruction::Op& opcode) { in operator <<() 71 case Instruction::Op::kReturn: in operator <<() 74 case Instruction::Op::kReturnObject: in operator <<() 77 case Instruction::Op::kMove: in operator <<() 80 case Instruction::Op::kMoveObject: in operator <<() 83 case Instruction::Op::kInvokeVirtual: in operator <<() 86 case Instruction::Op::kInvokeDirect: in operator <<() 89 case Instruction::Op::kInvokeStatic: in operator <<() 92 case Instruction::Op::kInvokeInterface: in operator <<() [all …]
|
D | dex_testcase_generator.cc | 97 Instruction::Op::kBranchEqz, /*dest=*/{}, Value::Parameter(0), else_target)); in GenerateSimpleTestCases() 101 Instruction::OpWithArgs(Instruction::Op::kReturn, /*dest=*/{}, resultIfZero)); in GenerateSimpleTestCases() 104 Instruction::OpWithArgs(Instruction::Op::kBindLabel, /*dest=*/{}, else_target)); in GenerateSimpleTestCases() 107 Instruction::OpWithArgs(Instruction::Op::kReturn, /*dest=*/{}, resultIfZero)); in GenerateSimpleTestCases() 118 Instruction::Op::kBranchNEqz, /*dest=*/{}, Value::Parameter(0), else_target)); in GenerateSimpleTestCases() 122 Instruction::OpWithArgs(Instruction::Op::kReturn, /*dest=*/{}, resultIfNotZero)); in GenerateSimpleTestCases() 125 Instruction::OpWithArgs(Instruction::Op::kBindLabel, /*dest=*/{}, else_target)); in GenerateSimpleTestCases() 128 Instruction::OpWithArgs(Instruction::Op::kReturn, /*dest=*/{}, resultIfNotZero)); in GenerateSimpleTestCases() 158 Instruction::OpWithArgs(Instruction::Op::kBranchEqz, /*dest=*/{}, zero, labelB)); in GenerateSimpleTestCases() 161 Instruction::OpWithArgs(Instruction::Op::kBindLabel, /*dest=*/{}, labelA)); in GenerateSimpleTestCases() [all …]
|
D | dex_builder.h | 176 enum class Op { enum 201 static inline Instruction OpNoArgs(Op opcode) { in OpNoArgs() 206 static inline Instruction OpWithArgs(Op opcode, std::optional<const Value> dest, in OpWithArgs() 214 return OpWithArgs(Op::kCheckCast, val, type); in Cast() 222 Op::kInvokeVirtual, index_argument, /*result_is_object=*/false, dest, this_arg, args...}; in InvokeVirtual() 230 Op::kInvokeVirtual, index_argument, /*result_is_object=*/true, dest, this_arg, args...}; in InvokeVirtualObject() 237 Op::kInvokeDirect, index_argument, /*result_is_object=*/false, dest, this_arg, args...}; in InvokeDirect() 245 Op::kInvokeDirect, index_argument, /*result_is_object=*/true, dest, this_arg, args...}; in InvokeDirectObject() 252 Op::kInvokeStatic, index_argument, /*result_is_object=*/false, dest, args...}; in InvokeStatic() 258 return Instruction{Op::kInvokeStatic, index_argument, /*result_is_object=*/true, dest, args...}; in InvokeStaticObject() [all …]
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
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 TestService 432 public Op(String name, String longName) { in Op() method in TestService.Op 458 static class NoOp extends Op { 472 static class CpuOp extends Op { 482 static class SchedulerOp extends Op { 494 static class GcOp extends Op { [all …]
|
D | FrameworkPerfActivity.java | 73 TestService.Op mFgTest; 74 TestService.Op mBgTest; 143 TestService.Op op = TestService.mAvailOps[i]; in FrameworkPerfActivity() 213 TestService.Op op = TestService.mAvailOps[position]; in onItemSelected()
|
/frameworks/base/core/java/android/app/ |
D | BackStackRecord.java | 58 final BackStackRecord.Op op = bse.mOps.get(opNum); in BackStackState() 99 BackStackRecord.Op op = new BackStackRecord.Op(); in instantiate() 190 static final class Op { class in BackStackRecord 198 Op() { in Op() method in BackStackRecord.Op 201 Op(int cmd, Fragment fragment) { in Op() method in BackStackRecord.Op 207 ArrayList<Op> mOps = new ArrayList<>(); 304 final Op op = mOps.get(opNum); in dump() 400 void addOp(Op op) { in addOp() 458 addOp(new Op(opcmd, fragment)); in doAddOp() 475 addOp(new Op(OP_REMOVE, fragment)); in remove() [all …]
|
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
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>{})); 370 template <typename Op> 371 decltype(auto) Visit(std::int32_t target_index, Op&& op) { [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/touch/ |
D | TouchInsetManagerTest.java | 98 expectedRegion.op(rect, Region.Op.UNION); in testInsetRegionPropagation() 130 expectedRegion.op(firstBounds, Region.Op.UNION); in testMultipleRegions() 131 expectedRegion.op(secondBounds, Region.Op.UNION); in testMultipleRegions() 143 expectedRegion.op(firstBounds, Region.Op.UNION); in testMultipleRegions() 175 expectedRegion.op(firstViewBounds, Region.Op.UNION); in testMultipleViews() 176 expectedRegion.op(secondViewBounds, Region.Op.UNION); in testMultipleViews() 189 expectedRegion.op(firstViewBounds, Region.Op.UNION); in testMultipleViews()
|
/frameworks/base/libs/hwui/ |
D | RecordingCanvas.cpp | 84 struct Op { struct 88 static_assert(sizeof(Op) == 4, ""); 90 struct Flush final : Op { 95 struct Save final : Op { 99 struct Restore final : Op { 103 struct SaveLayer final : Op { 124 struct SaveBehind final : Op { 135 struct Concat final : Op { 141 struct SetMatrix final : Op { 149 struct Scale final : Op { [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | Region.java | 40 public enum Op { enum in Region 48 Op(int nativeInt) { in Op() method in Region.Op 259 return op(r, Op.UNION); in union() 266 public boolean op(@NonNull Rect r, @NonNull Op op) { in op() 275 public boolean op(int left, int top, int right, int bottom, @NonNull Op op) { in op() 284 public boolean op(@NonNull Region region, @NonNull Op op) { in op() 292 public boolean op(@NonNull Rect rect, @NonNull Region region, @NonNull Op op) { in op() 301 public boolean op(@NonNull Region region1, @NonNull Region region2, @NonNull Op op) { in op()
|
D | Canvas.java | 818 private static void checkValidClipOp(@NonNull Region.Op op) { in checkValidClipOp() 820 && op != Region.Op.INTERSECT && op != Region.Op.DIFFERENCE) { in checkValidClipOp() 843 public boolean clipRect(@NonNull RectF rect, @NonNull Region.Op op) { in clipRect() 867 public boolean clipRect(@NonNull Rect rect, @NonNull Region.Op op) { in clipRect() 881 Region.Op.UNION.nativeInt); in clipRectUnion() 893 Region.Op.INTERSECT.nativeInt); in clipRect() 905 Region.Op.DIFFERENCE.nativeInt); in clipOutRect() 917 Region.Op.INTERSECT.nativeInt); in clipRect() 929 Region.Op.DIFFERENCE.nativeInt); in clipOutRect() 959 @NonNull Region.Op op) { in clipRect() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | DisplayCutoutView.java | 119 Region.Op.INTERSECT); in boundsFromDirection() 124 Region.Op.INTERSECT); in boundsFromDirection() 129 Integer.MAX_VALUE, Region.Op.INTERSECT); in boundsFromDirection() 134 Integer.MAX_VALUE, Region.Op.INTERSECT); in boundsFromDirection()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | RegionInterceptingFrameLayout.java | 21 import android.graphics.Region.Op; 78 internalInsetsInfo.touchableRegion.op(unionRegion, Op.UNION);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | PathOpsActivity.java | 57 Path.Op[] ops = Path.Op.values(); in onSizeChanged()
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_Canvas.cpp | 193 static_assert(SkRegion::kDifference_Op == static_cast<SkRegion::Op>(SkClipOp::kDifference), ""); 194 static_assert(SkRegion::kIntersect_Op == static_cast<SkRegion::Op>(SkClipOp::kIntersect), ""); 199 SkRegion::Op rgnOp = static_cast<SkRegion::Op>(opHandle); in clipRect() 202 case SkRegion::Op::kIntersect_Op: in clipRect() 203 case SkRegion::Op::kDifference_Op: in clipRect() 208 case SkRegion::Op::kReplace_Op: in clipRect() 225 SkRegion::Op rgnOp = static_cast<SkRegion::Op>(opHandle); in clipPath() 229 case SkRegion::Op::kIntersect_Op: in clipPath() 230 case SkRegion::Op::kDifference_Op: in clipPath() 233 case SkRegion::Op::kReplace_Op: in clipPath()
|
/frameworks/compile/slang/BitWriter_2_9/ |
D | ValueEnumerator.cpp | 87 for (const Use &Op : I.operands()) { in ValueEnumerator() local 88 auto *MD = dyn_cast<MetadataAsValue>(&Op); in ValueEnumerator() 90 EnumerateOperandType(Op); in ValueEnumerator() 423 const Value *Op = C->getOperand(i); in EnumerateOperandType() local 427 if (isa<BasicBlock>(Op)) in EnumerateOperandType() 430 EnumerateOperandType(Op); in EnumerateOperandType()
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
D | ValueEnumerator.cpp | 87 for (const Use &Op : I.operands()) { in ValueEnumerator() local 88 auto *MD = dyn_cast<MetadataAsValue>(&Op); in ValueEnumerator() 90 EnumerateOperandType(Op); in ValueEnumerator() 423 const Value *Op = C->getOperand(i); in EnumerateOperandType() local 427 if (isa<BasicBlock>(Op)) in EnumerateOperandType() 430 EnumerateOperandType(Op); in EnumerateOperandType()
|
/frameworks/compile/slang/BitWriter_3_2/ |
D | ValueEnumerator.cpp | 87 for (const Use &Op : I.operands()) { in ValueEnumerator() local 88 auto *MD = dyn_cast<MetadataAsValue>(&Op); in ValueEnumerator() 90 EnumerateOperandType(Op); in ValueEnumerator() 423 const Value *Op = C->getOperand(i); in EnumerateOperandType() local 427 if (isa<BasicBlock>(Op)) in EnumerateOperandType() 430 EnumerateOperandType(Op); in EnumerateOperandType()
|
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
D | BitcodeReader.cpp | 552 : ConstantExpr(Ty, Instruction::UserOp1, &Op<0>(), 1) { in ConstantPlaceHolder() 553 Op<0>() = UndefValue::get(Type::getInt32Ty(Context)); in ConstantPlaceHolder() 1815 Constant *Op = ValueList.getConstantFwdRef(Record[2], OpTy); in ParseConstants() local 1816 V = ConstantExpr::getCast(Opc, Op, CurTy); in ParseConstants() 2695 Value *Op; in ParseFunctionBody() local 2696 if (getValueTypePair(Record, OpNum, NextValueNo, Op) || in ParseFunctionBody() 2704 I = CastInst::Create((Instruction::CastOps)Opc, Op, ResTy); in ParseFunctionBody() 2737 Value *Op; in ParseFunctionBody() local 2738 if (getValueTypePair(Record, OpNum, NextValueNo, Op)) in ParseFunctionBody() 2740 GEPIdx.push_back(Op); in ParseFunctionBody() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/touch/ |
D | TouchInsetManager.java | 100 cumulativeRegion.op(boundaries, Region.Op.UNION); in updateTouchRegion() 176 aggregateRegion.op(region, Region.Op.UNION); in updateTouchInset()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ImageTileSet.java | 89 mRegion.op(tile.getLocation(), mRegion, Region.Op.UNION); in addTile() 124 difference.op(mRegion.getBounds(), mRegion, Region.Op.DIFFERENCE); in getGaps()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AccessibilityController.java | 946 portionOfWindowAlreadyAccountedFor.op(nonMagnifiedBounds, Region.Op.UNION); in recomputeBounds() 947 windowBounds.op(portionOfWindowAlreadyAccountedFor, Region.Op.DIFFERENCE); in recomputeBounds() 950 mMagnificationRegion.op(windowBounds, Region.Op.UNION); in recomputeBounds() 951 mMagnificationRegion.op(availableBounds, Region.Op.INTERSECT); in recomputeBounds() 953 nonMagnifiedBounds.op(windowBounds, Region.Op.UNION); in recomputeBounds() 954 availableBounds.op(windowBounds, Region.Op.DIFFERENCE); in recomputeBounds() 962 nonMagnifiedBounds.op(navBarInsets, Region.Op.UNION); in recomputeBounds() 963 availableBounds.op(navBarInsets, Region.Op.DIFFERENCE); in recomputeBounds() 969 nonMagnifiedBounds.op(letterboxBounds, Region.Op.UNION); in recomputeBounds() 970 availableBounds.op(letterboxBounds, Region.Op.DIFFERENCE); in recomputeBounds() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | BatteryMeterDrawableBase.java | 31 import android.graphics.Path.Op; 361 mOutlinePath.op(p, Op.XOR); in draw() 394 mShapePath.op(mBoltPath, Path.Op.DIFFERENCE); in draw() 421 mShapePath.op(mPlusPath, Path.Op.DIFFERENCE); in draw() 445 mShapePath.op(mTextPath, Path.Op.DIFFERENCE); in draw()
|