Home
last modified time | relevance | path

Searched refs:Op (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DTestService.java60 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 …]
DFrameworkPerfActivity.java73 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/graphics/java/android/graphics/
DRegion.java36 public enum Op { enum in Region
44 Op(int nativeInt) { in Op() method in Region.Op
251 return op(r, Op.UNION); in union()
258 public boolean op(Rect r, Op op) { in op()
267 public boolean op(int left, int top, int right, int bottom, Op op) { in op()
276 public boolean op(Region region, Op op) { in op()
284 public boolean op(Rect rect, Region region, Op op) { in op()
293 public boolean op(Region region1, Region region2, Op op) { in op()
DCanvas.java647 public boolean clipRect(@NonNull RectF rect, @NonNull Region.Op op) { in clipRect()
660 public boolean clipRect(@NonNull Rect rect, @NonNull Region.Op op) { in clipRect()
674 Region.Op.INTERSECT.nativeInt); in clipRect()
686 Region.Op.INTERSECT.nativeInt); in clipRect()
705 @NonNull Region.Op op) { in clipRect()
724 Region.Op.INTERSECT.nativeInt); in clipRect()
742 Region.Op.INTERSECT.nativeInt); in clipRect()
752 public boolean clipPath(@NonNull Path path, @NonNull Region.Op op) { in clipPath()
763 return clipPath(path, Region.Op.INTERSECT); in clipPath()
780 public boolean clipRegion(@NonNull Region region, @NonNull Region.Op op) { in clipRegion()
[all …]
DPath.java107 public enum Op { enum in Path
143 public boolean op(Path path, Op op) { in op()
161 public boolean op(Path path1, Path path2, Op op) { in op()
507 rects.op((int) left, (int) top, (int) right, (int) bottom, Region.Op.UNION); in detectSimplePath()
/frameworks/base/services/core/java/com/android/server/wm/
DStrictModeFlash.java77 c.clipRect(new Rect(0, 0, dw, mThickness), Region.Op.REPLACE); in drawIfNeeded()
80 c.clipRect(new Rect(0, 0, mThickness, dh), Region.Op.REPLACE); in drawIfNeeded()
83 c.clipRect(new Rect(dw - mThickness, 0, dw, dh), Region.Op.REPLACE); in drawIfNeeded()
86 c.clipRect(new Rect(0, dh - mThickness, dw, dh), Region.Op.REPLACE); in drawIfNeeded()
DFocusedStackFrame.java84 c.clipRect(mTmpDrawRect, Region.Op.REPLACE); in draw()
88 c.clipRect(mTmpDrawRect, Region.Op.REPLACE); in draw()
92 c.clipRect(mTmpDrawRect, Region.Op.REPLACE); in draw()
96 c.clipRect(mTmpDrawRect, Region.Op.REPLACE); in draw()
DAccessibilityController.java485 magnifiedBounds.op(windowBounds, Region.Op.UNION); in recomputeBoundsLocked()
486 magnifiedBounds.op(availableBounds, Region.Op.INTERSECT); in recomputeBoundsLocked()
497 nonMagnifiedBounds.op(windowBounds, Region.Op.UNION); in recomputeBoundsLocked()
498 windowBounds.op(magnifiedBounds, Region.Op.DIFFERENCE); in recomputeBoundsLocked()
499 availableBounds.op(windowBounds, Region.Op.DIFFERENCE); in recomputeBoundsLocked()
504 accountedBounds.op(nonMagnifiedBounds, Region.Op.UNION); in recomputeBoundsLocked()
505 accountedBounds.op(0, 0, screenWidth, screenHeight, Region.Op.INTERSECT); in recomputeBoundsLocked()
521 Region.Op.INTERSECT); in recomputeBoundsLocked()
539 dirtyRegion.op(mOldMagnifiedBounds, Region.Op.UNION); in recomputeBoundsLocked()
540 dirtyRegion.op(nonMagnifiedBounds, Region.Op.INTERSECT); in recomputeBoundsLocked()
[all …]
/frameworks/base/libs/hwui/
DSnapshot.h116 SkRegion::Op op = SkRegion::kIntersect_Op);
123 bool clipTransformed(const Rect& r, SkRegion::Op op = SkRegion::kIntersect_Op);
129 bool clipRegionTransformed(const SkRegion& region, SkRegion::Op op);
304 bool clipRegionOp(float left, float top, float right, float bottom, SkRegion::Op op);
DStatefulBaseRenderer.h88 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op);
89 virtual bool clipPath(const SkPath* path, SkRegion::Op op);
90 virtual bool clipRegion(const SkRegion* region, SkRegion::Op op);
DSnapshot.cpp110 bool Snapshot::clipRegionOp(float left, float top, float right, float bottom, SkRegion::Op op) { in clipRegionOp()
118 bool Snapshot::clipRegionTransformed(const SkRegion& region, SkRegion::Op op) { in clipRegionTransformed()
126 bool Snapshot::clip(float left, float top, float right, float bottom, SkRegion::Op op) { in clip()
132 bool Snapshot::clipTransformed(const Rect& r, SkRegion::Op op) { in clipTransformed()
DRenderer.h163 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op) = 0;
164 virtual bool clipPath(const SkPath* path, SkRegion::Op op) = 0;
165 virtual bool clipRegion(const SkRegion* region, SkRegion::Op op) = 0;
DStatefulBaseRenderer.cpp153 bool StatefulBaseRenderer::clipRect(float left, float top, float right, float bottom, SkRegion::Op in clipRect()
165 bool StatefulBaseRenderer::clipPath(const SkPath* path, SkRegion::Op op) { in clipPath()
192 bool StatefulBaseRenderer::clipRegion(const SkRegion* region, SkRegion::Op op) { in clipRegion()
DDisplayListRenderer.h92 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op);
93 virtual bool clipPath(const SkPath* path, SkRegion::Op op);
94 virtual bool clipRegion(const SkRegion* region, SkRegion::Op op);
/frameworks/support/v4/java/android/support/v4/app/
DBackStackRecord.java53 BackStackRecord.Op op = bse.mHead; in BackStackState()
115 BackStackRecord.Op op = new BackStackRecord.Op(); in instantiate()
206 static final class Op { class in BackStackRecord
207 Op next;
208 Op prev;
218 Op mHead;
219 Op mTail;
302 Op op = mHead; in dump()
385 void addOp(Op op) { in addOp()
436 Op op = new Op(); in doAddOp()
[all …]
/frameworks/base/services/core/java/com/android/server/
DAppOpsService.java101 public final static class Ops extends SparseArray<Op> {
113 public final static class Op { class in AppOpsService
123 public Op(int _uid, String _packageName, int _op) { in Op() method in AppOpsService.Op
166 final ArrayList<Op> mStartedOps;
175 mStartedOps = new ArrayList<Op>(); in ClientState()
287 Op curOp = pkgOps.valueAt(j); in collectOps()
293 Op curOp = pkgOps.get(ops[j]); in collectOps()
352 private void pruneOp(Op op, int uid, String packageName) { in pruneOp()
380 Op op = getOpLocked(code, uid, packageName, true); in setMode()
458 Op curOp = pkgOps.valueAt(j); in resetAllModes()
[all …]
/frameworks/base/core/java/android/app/
DBackStackRecord.java57 BackStackRecord.Op op = bse.mHead; in BackStackState()
121 BackStackRecord.Op op = new BackStackRecord.Op(); in instantiate()
216 static final class Op { class in BackStackRecord
217 Op next;
218 Op prev;
228 Op mHead;
229 Op mTail;
322 Op op = mHead; in dump()
431 void addOp(Op op) { in addOp()
482 Op op = new Op(); in doAddOp()
[all …]
/frameworks/base/include/private/graphics/
DCanvas.h78 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op) = 0;
79 virtual bool clipPath(const SkPath* path, SkRegion::Op op) = 0;
80 virtual bool clipRegion(const SkRegion* region, SkRegion::Op op) = 0;
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DPathOpsActivity.java57 Path.Op[] ops = Path.Op.values(); in onSizeChanged()
DClipRegion2Activity.java74 Region.Op.DIFFERENCE); in dispatchDraw()
/frameworks/base/core/jni/android/graphics/
DSkiaCanvas.cpp84 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op);
85 virtual bool clipPath(const SkPath* path, SkRegion::Op op);
86 virtual bool clipRegion(const SkRegion* region, SkRegion::Op op);
179 virtual void clipRect(const SkRect& rect, SkRegion::Op op, bool antialias) { in clipRect()
182 virtual void clipRRect(const SkRRect& rrect, SkRegion::Op op, bool antialias) { in clipRRect()
185 virtual void clipPath(const SkPath& path, SkRegion::Op op, bool antialias) { in clipPath()
430 bool SkiaCanvas::clipRect(float left, float top, float right, float bottom, SkRegion::Op op) { in clipRect()
436 bool SkiaCanvas::clipPath(const SkPath* path, SkRegion::Op op) { in clipPath()
441 bool SkiaCanvas::clipRegion(const SkRegion* region, SkRegion::Op op) { in clipRegion()
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp213 : ConstantExpr(Ty, Instruction::UserOp1, &Op<0>(), 1) { in ConstantPlaceHolder()
214 Op<0>() = UndefValue::get(Type::getInt32Ty(Context)); in ConstantPlaceHolder()
1449 Constant *Op = ValueList.getConstantFwdRef(Record[2], OpTy); in ParseConstants() local
1450 V = ConstantExpr::getCast(Opc, Op, CurTy); in ParseConstants()
2315 Value *Op; in ParseFunctionBody() local
2316 if (getValueTypePair(Record, OpNum, NextValueNo, Op) || in ParseFunctionBody()
2324 I = CastInst::Create((Instruction::CastOps)Opc, Op, ResTy); in ParseFunctionBody()
2337 Value *Op; in ParseFunctionBody() local
2338 if (getValueTypePair(Record, OpNum, NextValueNo, Op)) in ParseFunctionBody()
2340 GEPIdx.push_back(Op); in ParseFunctionBody()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DRegion_Delegate.java80 if (regionOp == Region.Op.DIFFERENCE.nativeInt) { in combineShapes()
91 } else if (regionOp == Region.Op.INTERSECT.nativeInt) { in combineShapes()
102 } else if (regionOp == Region.Op.UNION.nativeInt) { in combineShapes()
113 } else if (regionOp == Region.Op.XOR.nativeInt) { in combineShapes()
124 } else if (regionOp == Region.Op.REVERSE_DIFFERENCE.nativeInt) { in combineShapes()
/frameworks/base/core/java/android/view/
DGLES20Canvas.java281 return nClipPath(mRenderer, path.mNativePath, Region.Op.INTERSECT.nativeInt); in clipPath()
285 public boolean clipPath(Path path, Region.Op op) { in clipPath()
293 return nClipRect(mRenderer, left, top, right, bottom, Region.Op.INTERSECT.nativeInt); in clipRect()
300 public boolean clipRect(float left, float top, float right, float bottom, Region.Op op) { in clipRect()
306 return nClipRect(mRenderer, left, top, right, bottom, Region.Op.INTERSECT.nativeInt); in clipRect()
315 Region.Op.INTERSECT.nativeInt); in clipRect()
319 public boolean clipRect(Rect rect, Region.Op op) { in clipRect()
326 Region.Op.INTERSECT.nativeInt); in clipRect()
330 public boolean clipRect(RectF rect, Region.Op op) { in clipRect()
336 return nClipRegion(mRenderer, region.mNativeRegion, Region.Op.INTERSECT.nativeInt); in clipRegion()
[all …]
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DBitcodeReader.cpp492 : ConstantExpr(Ty, Instruction::UserOp1, &Op<0>(), 1) { in ConstantPlaceHolder()
493 Op<0>() = UndefValue::get(Type::getInt32Ty(Context)); in ConstantPlaceHolder()
1750 Constant *Op = ValueList.getConstantFwdRef(Record[2], OpTy); in ParseConstants() local
1751 V = ConstantExpr::getCast(Opc, Op, CurTy); in ParseConstants()
2573 Value *Op; in ParseFunctionBody() local
2574 if (getValueTypePair(Record, OpNum, NextValueNo, Op) || in ParseFunctionBody()
2582 I = CastInst::Create((Instruction::CastOps)Opc, Op, ResTy); in ParseFunctionBody()
2595 Value *Op; in ParseFunctionBody() local
2596 if (getValueTypePair(Record, OpNum, NextValueNo, Op)) in ParseFunctionBody()
2598 GEPIdx.push_back(Op); in ParseFunctionBody()
[all …]

123