Searched defs:op (Results 26 - 50 of 95) sorted by path

1234

/frameworks/base/libs/hwui/
H A DOpDumper.cpp27 void OpDumper::dump(const RecordedOp& op, std::ostream& output, int level) { argument
32 Rect localBounds(op.unmappedBounds);
33 op.localMatrix.mapRect(localBounds);
34 output << sOpNameLut[op.opId] << " " << localBounds;
36 if (op.localClip
37 && (!op.localClip->rect.contains(localBounds) || op.localClip->intersectWithRoot)) {
39 << " clip=" << op.localClip->rect
40 << " mode=" << (int)op.localClip->mode;
42 if (op
48 opName(const RecordedOp& op) argument
[all...]
H A DOpenGLRenderer.cpp1124 // op partially clipped, so record which sides are clipped for clip-aware merging
1132 // Empty bounds implies size unknown. Label op as conservatively clipped to disable
1175 * least one op is clipped), or disabled entirely (because no merged op is clipped)
2070 bool OpenGLRenderer::clipRect(float left, float top, float right, float bottom, SkRegion::Op op) { argument
2071 return mState.clipRect(left, top, right, bottom, op);
2074 bool OpenGLRenderer::clipPath(const SkPath* path, SkRegion::Op op) { argument
2075 return mState.clipPath(path, op);
2078 bool OpenGLRenderer::clipRegion(const SkRegion* region, SkRegion::Op op) { argument
2079 return mState.clipRegion(region, op);
[all...]
H A DProgramCache.cpp520 int op = description.hasAlpha8Texture ? MODULATE_OP_MODULATE_A8 : modulateOp; local
521 shader.append(snippets[op]);
707 // Apply the color op if needed
H A DRecordedOp.h48 * Authoritative op list, used for generating the op ID enum, ID based LUTS, and
49 * the functions to which they dispatch. Parameter macros are executed for each op,
50 * in order, based on the op's type.
52 * There are 4 types of op, which defines dispatch/LUT capability:
62 * may be because they need to be transformed into other op types (e.g. CirclePropsOp),
261 // Note: unbounded op that will fillclip, so no bounds/matrix needed
271 // Note: undefined record-time bounds, since this op fills the clip
424 TextureLayerOp(const TextureLayerOp& op, const Matrix4& replacementMatrix) argument
425 : RecordedOp(RecordedOpId::TextureLayerOp, op
468 CopyToLayerOp(const RecordedOp& op, OffscreenBuffer** layerHandle) argument
484 CopyFromLayerOp(const RecordedOp& op, OffscreenBuffer** layerHandle) argument
[all...]
H A DRecordingCanvas.cpp233 bool RecordingCanvas::clipRect(float left, float top, float right, float bottom, SkRegion::Op op) { argument
234 return mState.clipRect(left, top, right, bottom, op);
236 bool RecordingCanvas::clipPath(const SkPath* path, SkRegion::Op op) { argument
237 return mState.clipPath(path, op);
239 bool RecordingCanvas::clipRegion(const SkRegion* region, SkRegion::Op op) { argument
240 return mState.clipRegion(region, op);
564 RenderNodeOp* op = alloc().create_trivial<RenderNodeOp>( local
569 int opIndex = addOp(op);
571 int childIndex = mDisplayList->addChild(op);
607 size_t RecordingCanvas::addOp(RecordedOp* op) { argument
[all...]
H A DRenderNode.cpp113 for (auto&& op : mDisplayList->getOps()) {
115 OpDumper::dump(*op, strout, level + 1);
116 if (op->opId == RecordedOpId::RenderNodeOp) {
117 auto rnOp = reinterpret_cast<const RenderNodeOp*>(op);
139 for (auto&& op : mDisplayList->getOps()) {
140 op->output(level, DisplayListOp::kOpLogFlag_Recurse);
520 for (auto&& op : subtree->getChildren()) {
521 RenderNode* childNode = op->renderNode;
523 info.damageAccumulator->pushTransform(&op->localMatrix);
524 bool childFunctorsNeedLayer = functorsNeedLayer; // TODO! || op
615 SaveLayerOp* op = new (handler.allocator()) SaveLayerOp( local
634 ClipRectOp* op = new (handler.allocator()) ClipRectOp( local
991 const DisplayListOp* op = local
1107 DisplayListOp *op = mDisplayList->getOps()[opIndex]; local
[all...]
H A DSkiaCanvas.cpp107 SkRegion::Op op) override;
108 virtual bool clipPath(const SkPath* path, SkRegion::Op op) override;
109 virtual bool clipRegion(const SkRegion* region, SkRegion::Op op) override;
213 virtual void clipRect(const SkRect& rect, SkRegion::Op op, bool antialias) { argument
214 m_dstCanvas->clipRect(rect, op, antialias);
216 virtual void clipRRect(const SkRRect& rrect, SkRegion::Op op, bool antialias) { argument
217 m_dstCanvas->clipRRect(rrect, op, antialias);
219 virtual void clipPath(const SkPath& path, SkRegion::Op op, bool antialias) { argument
220 m_dstCanvas->clipPath(path, op, antialias);
492 bool SkiaCanvas::clipRect(float left, float top, float right, float bottom, SkRegion::Op op) { argument
498 clipPath(const SkPath* path, SkRegion::Op op) argument
503 clipRegion(const SkRegion* region, SkRegion::Op op) argument
512 mCanvas->clipRect(SkRect::MakeEmpty(), op); local
[all...]
H A DSkiaCanvasProxy.cpp380 void SkiaCanvasProxy::onClipRect(const SkRect& rect, SkRegion::Op op, ClipEdgeStyle) { argument
381 mCanvas->clipRect(rect.fLeft, rect.fTop, rect.fRight, rect.fBottom, op);
384 void SkiaCanvasProxy::onClipRRect(const SkRRect& roundRect, SkRegion::Op op, ClipEdgeStyle) { argument
387 mCanvas->clipPath(&path, op);
390 void SkiaCanvasProxy::onClipPath(const SkPath& path, SkRegion::Op op, ClipEdgeStyle) { argument
391 mCanvas->clipPath(&path, op);
394 void SkiaCanvasProxy::onClipRegion(const SkRegion& region, SkRegion::Op op) { argument
395 mCanvas->clipRegion(&region, op);
H A DSnapshot.cpp86 void Snapshot::clipRegionTransformed(const SkRegion& region, SkRegion::Op op) { argument
88 mClipArea->clipRegion(region, op);
91 void Snapshot::clip(const Rect& localClip, SkRegion::Op op) { argument
93 mClipArea->clipRectWithTransform(localClip, transform, op);
96 void Snapshot::clipPath(const SkPath& path, SkRegion::Op op) { argument
98 mClipArea->clipPathWithTransform(path, transform, op);
/frameworks/base/libs/hwui/tests/unit/
H A DBakedOpDispatcherTests.cpp55 static void testUnmergedGlopDispatch(renderthread::RenderThread& renderThread, RecordedOp* op, argument
57 // Create op, and wrap with basic state.
60 auto state = BakedOpState::tryConstruct(allocator, *snapshot, *op);
70 // Dispatch based on op type created, similar to Frame/LayerBuilder dispatch behavior
73 BakedOpDispatcher::on##Type(renderer, static_cast<const Type&>(*(state.op)), state); \
77 unmergedReceivers[op->opId](renderer, *state);
121 LayerOp op(Rect(10, 10), Matrix4::identity(), nullptr, &layerPaint, &buffer);
122 testUnmergedGlopDispatch(renderThread, &op, [&renderThread] (const Glop& glop) {
127 static int getGlopTransformFlags(renderthread::RenderThread& renderThread, RecordedOp* op) { argument
129 testUnmergedGlopDispatch(renderThread, op, [
[all...]
H A DRecordingCanvasTests.cpp37 RecordedOp* op = displayList.getOps()[opIndex]; local
38 opReceiver(*op);
44 std::function<void(const RecordedOp& op)> opValidator) {
45 ASSERT_EQ(1u, dl->getOps().size()) << "Must be exactly one op";
54 playbackOps(*dl, [](const RecordedOp& op) { ADD_FAILURE(); });
108 ASSERT_EQ(1u, dl->getOps().size()) << "Must be exactly one op";
109 auto op = dl->getOps()[0]; local
110 ASSERT_EQ(RecordedOpId::LinesOp, op->opId);
111 EXPECT_EQ(4, ((LinesOp*)op)->floatCount)
113 EXPECT_EQ(Rect(20, 10), op
123 auto op = *(dl->getOps()[0]); local
235 auto op = *(dl->getOps()[0]); local
544 auto op = dl->getOps()[1]; local
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_env.cpp302 bool GLEnv::CheckGLError(const std::string& op) { argument
306 op.c_str(),
313 bool GLEnv::CheckEGLError(const std::string& op) { argument
319 op.c_str(),
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
H A DVideoDumpView.java648 private void checkGlError(String op) { argument
651 Log.e(TAG, op + ": glError " + error);
652 throw new RuntimeException(op + ": glError " + error);
/frameworks/base/services/core/java/com/android/server/
H A DAlarmManagerService.java170 String op; field in class:AlarmManagerService.IdleDispatchEntry
1151 ent.op = "SET";
1211 + " interval=" + a.repeatInterval + " op=" + a.operation
1612 if (ent.op != null) {
1614 pw.print(ent.op);
2134 ent.op = "RESCHEDULE";
3048 ent.op = "DELIVER";
H A DAppOpsService.java112 * These are app op restrictions imposed per user from various parties.
153 public final int op; field in class:AppOpsService.Op
163 op = _op;
164 mode = AppOpsManager.opToDefaultMode(op);
380 resOps.add(new AppOpsManager.OpEntry(curOp.op, curOp.mode, curOp.time,
391 resOps.add(new AppOpsManager.OpEntry(curOp.op, curOp.mode, curOp.time,
457 private void pruneOp(Op op, int uid, String packageName) { argument
458 if (op.time == 0 && op.rejectTime == 0) {
461 ops.remove(op
646 addCallbacks( HashMap<Callback, ArrayList<ChangeRec>> callbacks, int op, int uid, String packageName, ArrayList<Callback> cbs) argument
680 final int op; field in class:AppOpsService.ChangeRec
800 startWatchingMode(int op, String packageName, IAppOpsCallback callback) argument
1158 finishOperationLocked(Op op) argument
1185 verifyIncomingOp(int op) argument
1651 int op; field in class:AppOpsService.Shell
1671 strOpToOp(String op, PrintWriter err) argument
[all...]
H A DLocationManagerService.java264 public void onOpChanged(int op, String packageName) {
767 * Update AppOps monitoring for a single location request and op type.
769 * @param allowMonitoring True if monitoring is allowed for this request/op.
770 * @param currentlyMonitoring True if AppOps is currently monitoring this request/op.
771 * @param op AppOps code for the op to update.
772 * @return True if monitoring is on for this request/op after updating.
775 int op) {
778 return mAppOps.startOpNoThrow(op, mUid, mPackageName)
782 if (!allowMonitoring || mAppOps.checkOpNoThrow(op, mUi
774 updateMonitoring(boolean allowMonitoring, boolean currentlyMonitoring, int op) argument
[all...]
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncManager.java260 SyncOperation op = SyncOperation.maybeCreateFromJobExtras(job.getExtras());
261 if (op != null) {
262 pendingSyncs.add(op);
461 SyncOperation op = SyncOperation.maybeCreateFromJobExtras(job.getExtras());
462 if (op != null) {
463 if (!op.isPeriodic) {
466 mSyncStorageEngine.markPending(op.target, true);
690 for (SyncOperation op: ops) {
691 if (!op.isPeriodic && op
2447 deferSyncH(SyncOperation op, long delay) argument
2461 deferStoppedSyncH(SyncOperation op, long delay) argument
2478 startSyncH(SyncOperation op) argument
2728 isOperationValid(SyncOperation op) argument
2768 dispatchSyncOperation(SyncOperation op) argument
[all...]
H A DSyncOperation.java113 public SyncOperation(SyncOperation op, long periodMillis, long flexMillis) { argument
114 this(op.target, op.owningUid, op.owningPackage, op.reason, op.syncSource,
115 new Bundle(op.extras), op.allowParallelSyncs, op.isPeriodic, op
[all...]
H A DSyncStorageEngine.java1004 public long insertStartSyncEvent(SyncOperation op, long now) { argument
1008 Slog.v(TAG, "insertStartSyncEvent: " + op);
1010 AuthorityInfo authority = getAuthorityLocked(op.target, "insertStartSyncEvent");
1015 item.initialization = op.isInitialization();
1020 item.source = op.syncSource;
1021 item.reason = op.reason;
1022 item.extras = op.extras;
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DRunResult.java31 RunResult(TestService.TestRunner op) { argument
32 name = op.getName();
33 fgLongName = op.getForegroundLongName();
34 bgLongName = op.getBackgroundLongName();
35 fgTime = op.getForegroundTime();
36 fgOps = op.getForegroundOps();
37 bgTime = op.getBackgroundTime();
38 bgOps = op.getBackgroundOps();
H A DTestService.java416 RunnerThread(String name, Runnable op, int priority) { argument
418 mOp = op;
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGLDepthTestActivity.java311 private void checkGlError(String op) { argument
314 Log.e(TAG, op + ": glError " + error);
315 throw new RuntimeException(op + ": glError " + error);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java471 /*package*/ static boolean native_op(long nPath1, long nPath2, int op, long result) { argument
472 Bridge.getLog().error(LayoutLog.TAG_UNSUPPORTED, "Path.op() not supported", null);
H A DRegion_Delegate.java371 int left, int top, int right, int bottom, int op) {
378 new Rectangle2D.Float(left, top, right - left, bottom - top), op);
389 /*package*/ static boolean nativeOp(long native_dst, Rect rect, long native_region, int op) { argument
396 new Rectangle2D.Float(rect.left, rect.top, rect.width(), rect.height()), op);
408 long native_region1, long native_region2, int op) {
424 dstRegion.mArea = combineShapes(region1.mArea, region2.mArea, op);
370 nativeOp(long native_dst, int left, int top, int right, int bottom, int op) argument
407 nativeOp(long native_dst, long native_region1, long native_region2, int op) argument
/frameworks/base/tools/obbtool/
H A DMain.cpp252 if (strncmp(op, name, opsize)) { \
253 fprintf(stderr, "ERROR: unknown function '%s'!\n\n", op); \
259 const char* op = argv[optind++]; local
260 const int opsize = strlen(op);
270 switch (op[0]) {
288 fprintf(stderr, "ERROR: unknown command '%s'!\n\n", op);

Completed in 1518 milliseconds

1234