Searched refs:Op (Results 1 - 25 of 66) sorted by relevance

123

/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A 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 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 DFrameworkPerfActivity.java73 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 DClipArea.h148 SkRegion::Op op);
149 void clipRegion(const SkRegion& region, SkRegion::Op op);
151 SkRegion::Op op);
184 void rectangleModeClipRectWithTransform(const Rect& r, const mat4* transform, SkRegion::Op op);
188 const mat4* transform, SkRegion::Op op);
194 SkRegion::Op op);
H A DSkiaCanvasProxy.h91 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override;
92 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override;
93 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override;
94 virtual void onClipRegion(const SkRegion&, SkRegion::Op) override;
H A DSnapshot.h128 void clip(const Rect& localClip, SkRegion::Op op);
135 void clipTransformed(const Rect& r, SkRegion::Op op = SkRegion::kIntersect_Op);
141 void clipRegionTransformed(const SkRegion& region, SkRegion::Op op);
146 void clipPath(const SkPath& path, SkRegion::Op op);
H A DCanvasState.h125 bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op);
126 bool clipPath(const SkPath* path, SkRegion::Op op);
127 bool clipRegion(const SkRegion* region, SkRegion::Op op);
H A DCanvasState.cpp206 bool CanvasState::clipRect(float left, float top, float right, float bottom, SkRegion::Op op) {
212 bool CanvasState::clipPath(const SkPath* path, SkRegion::Op op) {
218 bool CanvasState::clipRegion(const SkRegion* region, SkRegion::Op op) {
H A DSnapshot.cpp86 void Snapshot::clipRegionTransformed(const SkRegion& region, SkRegion::Op op) {
91 void Snapshot::clip(const Rect& localClip, SkRegion::Op op) {
96 void Snapshot::clipPath(const SkPath& path, SkRegion::Op op) {
H A DClipArea.cpp219 SkRegion::Op op) {
236 void ClipArea::clipRegion(const SkRegion& region, SkRegion::Op op) {
246 SkRegion::Op op) {
273 const mat4* transform, SkRegion::Op op) {
310 const mat4* transform, SkRegion::Op op) {
336 const mat4* transform, SkRegion::Op op) {
/frameworks/base/services/core/java/com/android/server/wm/
H A DStrictModeFlash.java80 c.clipRect(new Rect(0, 0, dw, mThickness), Region.Op.REPLACE);
83 c.clipRect(new Rect(0, 0, mThickness, dh), Region.Op.REPLACE);
86 c.clipRect(new Rect(dw - mThickness, 0, dw, dh), Region.Op.REPLACE);
89 c.clipRect(new Rect(0, dh - mThickness, dw, dh), Region.Op.REPLACE);
H A DDisplayContent.java32 import android.graphics.Region.Op;
401 mTouchExcludeRegion.op(mTmpRect, Region.Op.DIFFERENCE);
405 mNonResizeableRegion.op(mTmpRect, Region.Op.UNION);
414 mTouchExcludeRegion.op(mTmpRect2, Region.Op.UNION);
422 mTouchExcludeRegion.op(mTmpRegion, Region.Op.UNION);
427 mTouchExcludeRegion.op(mTmpRegion, Region.Op.UNION);
432 mTouchExcludeRegion.op(mTmpRegion, Op.UNION);
H A DAccessibilityController.java527 portionOfWindowAlreadyAccountedFor.op(nonMagnifiedBounds, Region.Op.UNION);
528 windowBounds.op(portionOfWindowAlreadyAccountedFor, Region.Op.DIFFERENCE);
531 mMagnificationRegion.op(windowBounds, Region.Op.UNION);
532 mMagnificationRegion.op(availableBounds, Region.Op.INTERSECT);
534 nonMagnifiedBounds.op(windowBounds, Region.Op.UNION);
535 availableBounds.op(windowBounds, Region.Op.DIFFERENCE);
541 accountedBounds.op(nonMagnifiedBounds, Region.Op.UNION);
542 accountedBounds.op(0, 0, screenWidth, screenHeight, Region.Op.INTERSECT);
558 Region.Op.INTERSECT);
574 dirtyRegion.op(mOldMagnificationRegion, Region.Op
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DRegion.java36 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 DPath.java119 * @see #op(Path, android.graphics.Path.Op)
120 * @see #op(Path, Path, android.graphics.Path.Op)
122 public enum Op { enum in class:Path
146 * Set this path to the result of applying the Op to this path and the specified path.
155 * @see Op
156 * @see #op(Path, Path, android.graphics.Path.Op)
158 public boolean op(Path path, Op op) {
163 * Set this path to the result of applying the Op to the two specified paths.
173 * @see Op
174 * @see #op(Path, android.graphics.Path.Op)
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DPathOpsActivity.java57 Path.Op[] ops = Path.Op.values();
H A DClipRegion2Activity.java74 Region.Op.DIFFERENCE);
/frameworks/base/core/java/android/app/
H A DBackStackRecord.java56 BackStackRecord.Op op = bse.mHead;
120 BackStackRecord.Op op = new BackStackRecord.Op();
219 static final class Op { class in class:BackStackRecord
220 Op next;
221 Op prev;
231 Op mHead;
232 Op mTail;
325 Op op = mHead;
359 writer.print(" Op #");
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DBackStackRecord.java50 BackStackRecord.Op op = bse.mHead;
112 BackStackRecord.Op op = new BackStackRecord.Op();
208 static final class Op { class in class:BackStackRecord
209 Op next;
210 Op prev;
220 Op mHead;
221 Op mTail;
304 Op op = mHead;
319 writer.print(prefix); writer.print(" Op #"); write
[all...]
/frameworks/base/libs/hwui/hwui/
H A DCanvas.h162 SkRegion::Op op = SkRegion::kIntersect_Op) = 0;
163 virtual bool clipPath(const SkPath* path, SkRegion::Op op) = 0;
164 virtual bool clipRegion(const SkRegion* region, SkRegion::Op op) = 0;
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DViewGroup_Delegate.java28 import android.graphics.Region.Op;
83 canvas.clipRect(newBounds, Op.REPLACE);
85 canvas.clipRect(clipBounds, Op.REPLACE);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DRegion_Delegate.java70 * 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/
H A DAppOpsService.java136 public final static class Ops extends SparseArray<Op> {
148 public final static class Op { class in class:AppOpsService
160 public Op(int _uid, String _packageName, int _op) { method in class:AppOpsService.Op
203 final ArrayList<Op> mStartedOps;
212 mStartedOps = new ArrayList<Op>();
379 Op curOp = pkgOps.valueAt(j);
386 Op curOp = pkgOps.get(ops[j]);
457 private void pruneOp(Op op, int uid, String packageName) {
601 Op op = getOpLocked(code, uid, packageName, true);
757 Op curO
[all...]
/frameworks/compile/slang/BitWriter_2_9/
H A DValueEnumerator.cpp87 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 DValueEnumerator.cpp87 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 DValueEnumerator.cpp87 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);

Completed in 463 milliseconds

123