Home
last modified time | relevance | path

Searched refs:motionToolManager (Results 1 – 4 of 4) sorted by relevance

/frameworks/libs/systemui/motiontoollib/tests/com/android/app/motiontool/
DMotionToolManagerTest.kt39 private val motionToolManager = MotionToolManager.getInstance(windowManagerGlobal) in <lambda>() constant
49 motionToolManager.endTrace(0) in <lambda>()
54 motionToolManager.pollTrace(0) in <lambda>()
59 val traceId = motionToolManager.beginTrace(getActivityViewRootId()) in <lambda>()
60 motionToolManager.endTrace(traceId + 1) in <lambda>()
65 val traceId = motionToolManager.beginTrace(getActivityViewRootId()) in <lambda>()
66 motionToolManager.pollTrace(traceId + 1) in <lambda>()
71 motionToolManager.beginTrace("InvalidWindowId") in <lambda>()
77 val traceId = motionToolManager.beginTrace(getActivityViewRootId()) in <lambda>()
78 val result = motionToolManager.endTrace(traceId) in <lambda>()
[all …]
DDdmHandleMotionToolTest.kt44 private val motionToolManager = MotionToolManager.getInstance(windowManagerGlobal) in <lambda>() constant
45 private val ddmHandleMotionTool = DdmHandleMotionTool.getInstance(motionToolManager) in <lambda>()
/frameworks/libs/systemui/motiontoollib/src/com/android/app/motiontool/
DDdmHandleMotionTool.kt38 private val motionToolManager: MotionToolManager constant in com.android.app.motiontool.DdmHandleMotionTool
48 fun getInstance(motionToolManager: MotionToolManager): DdmHandleMotionTool { in getInstance()
49 return INSTANCE ?: DdmHandleMotionTool(motionToolManager).also { in getInstance()
102 motionToolManager.beginTrace(beginTraceRequest.window.rootWindow))) in handleBeginTraceRequest()
110 .setData(motionToolManager.pollTrace(pollTraceRequest.traceId))) in handlePollTraceRequest()
118 .setData(motionToolManager.endTrace(endTraceRequest.traceId))) in handleEndTraceRequest()
123 val status = if (motionToolManager.hasWindow(handshakeRequest.window)) in handleHandshakeRequest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/motiontool/
DMotionToolModule.kt35 fun provideDdmHandleMotionTool(motionToolManager: MotionToolManager): DdmHandleMotionTool { in provideDdmHandleMotionTool()
36 return DdmHandleMotionTool.getInstance(motionToolManager) in provideDdmHandleMotionTool()