Home
last modified time | relevance | path

Searched refs:newContext (Results 1 - 5 of 5) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/gestures/
H A Dpinch_gesture.cpp25 auto newContext = context.Upgrade(); in CreateRecognizer() local
26 if (!newContext) { in CreateRecognizer()
31 double distance = newContext->NormalizeToPx(Dimension(distance_, DimensionUnit::VP)); in CreateRecognizer()
H A Dslide_gesture.cpp24 auto newContext = context.Upgrade(); in CreateRecognizer() local
25 if (!newContext) { in CreateRecognizer()
29 double speed = newContext->NormalizeToPx(Dimension(speed_, DimensionUnit::VP)); in CreateRecognizer()
H A Dpan_gesture.cpp24 auto newContext = context.Upgrade(); in CreateRecognizer() local
25 if (!newContext) { in CreateRecognizer()
29 double distance = newContext->NormalizeToPx(Dimension(distance_, DimensionUnit::VP)); in CreateRecognizer()
H A Dpan_recognizer.h49 auto newContext = context.Upgrade(); in PanRecognizer() local
50 if (!newContext) { in PanRecognizer()
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Degl_state.cpp839 ContextState newContext; in SetContext() local
841 newContext.display = plat_.display; in SetContext()
842 newContext.context = plat_.context; in SetContext()
843 newContext.drawSurface = (EGLSurface)plat.surface; in SetContext()
844 newContext.readSurface = (EGLSurface)plat.surface; in SetContext()
845 SetContext(newContext, false); in SetContext()

Completed in 3 milliseconds