Home
last modified time | relevance | path

Searched refs:currentContext (Results 1 – 25 of 100) sorted by relevance

1234

/third_party/flutter/flutter/packages/flutter/test/widgets/
Danimated_positioned_test.dart44 box = key.currentContext.findRenderObject();
49 box = key.currentContext.findRenderObject();
71 box = key.currentContext.findRenderObject();
76 box = key.currentContext.findRenderObject();
81 box = key.currentContext.findRenderObject();
128 box = key.currentContext.findRenderObject();
133 box = key.currentContext.findRenderObject();
157 box = key.currentContext.findRenderObject();
162 box = key.currentContext.findRenderObject();
167 box = key.currentContext.findRenderObject();
[all …]
Dsized_box_test.dart49 expect(patient.currentContext.size, equals(const Size(0.0, 0.0)));
59 expect(patient.currentContext.size, equals(const Size(0.0, 0.0)));
70 expect(patient.currentContext.size, equals(const Size(0.0, 0.0)));
81 expect(patient.currentContext.size, equals(const Size(100.0, 100.0)));
92 expect(patient.currentContext.size, equals(const Size(800.0, 600.0)));
101 expect(patient.currentContext.size, equals(const Size(800.0, 600.0)));
110 expect(patient.currentContext.size, equals(const Size(0.0, 0.0)));
124 expect(patient.currentContext.size, equals(const Size(800.0, 600.0)));
135 expect(patient.currentContext.size, equals(const Size(800.0, 0.0)));
147 expect(patient.currentContext.size, equals(const Size(0.0, 0.0)));
[all …]
Dcustom_paint_test.dart53 expect(target.currentContext.size, Size.zero);
58 expect(target.currentContext.size, const Size(800.0, 600.0));
63 expect(target.currentContext.size, const Size(20.0, 20.0));
68 expect(target.currentContext.size, const Size(800.0, 100.0));
73 expect(target.currentContext.size, const Size(800.0, 600.0));
78 expect(target.currentContext.size, Size.zero);
91 RenderCustomPaint renderCustom = target.currentContext.findRenderObject();
100 renderCustom = target.currentContext.findRenderObject();
Dpage_transitions_test.dart64 expect(Navigator.canPop(containerKey1.currentContext), isFalse);
65 Navigator.pushNamed(containerKey1.currentContext, '/settings');
66 expect(Navigator.canPop(containerKey1.currentContext), isTrue);
86 Navigator.push(containerKey2.currentContext, TestOverlayRoute());
100 expect(Navigator.canPop(containerKey2.currentContext), isTrue);
101 Navigator.pop(containerKey2.currentContext);
114 expect(Navigator.canPop(containerKey2.currentContext), isTrue);
115 Navigator.pop(containerKey2.currentContext);
129 expect(Navigator.canPop(containerKey1.currentContext), isFalse);
165 Navigator.pushNamed(containerKey1.currentContext, '/settings');
[all …]
Dcomposited_transform_test.dart38 final RenderBox box = key.currentContext.findRenderObject();
77 final RenderBox box1 = key1.currentContext.findRenderObject();
78 final RenderBox box2 = key2.currentContext.findRenderObject();
132 final RenderBox box1 = key1.currentContext.findRenderObject();
133 final RenderBox box2 = key2.currentContext.findRenderObject();
172 final RenderBox box2 = key2.currentContext.findRenderObject();
Dfocus_scope_test.dart81 FocusScope.of(key.currentContext).requestFocus(key.currentState.focusNode);
105 FocusScope.of(keyA.currentContext).requestFocus(keyA.currentState.focusNode);
114 FocusScope.of(keyB.currentContext).requestFocus(keyB.currentState.focusNode);
216 FocusScope.of(key.currentContext).requestFocus(key.currentState.focusNode);
258 final FocusAttachment childAttachment = childFocusScope.attach(key.currentContext);
459 FocusScope.of(keyA.currentContext).requestFocus(keyA.currentState.focusNode);
500 FocusScope.of(keyA.currentContext).requestFocus(keyA.currentState.focusNode);
501 expect(FocusScope.of(keyA.currentContext), equals(childFocusScope));
502 … WidgetsBinding.instance.focusManager.rootScope.setFirstFocus(FocusScope.of(keyA.currentContext));
558 FocusScope.of(keyA.currentContext).requestFocus(keyA.currentState.focusNode);
[all …]
Dfractionally_sized_box_test.dart28 final RenderBox box = inner.currentContext.findRenderObject();
44 final RenderBox box = inner.currentContext.findRenderObject();
60 final RenderBox box = inner.currentContext.findRenderObject();
86 final RenderBox box = inner.currentContext.findRenderObject();
Dnotification_test.dart35 expect(() { notification.dispatch(key.currentContext); }, isNot(throwsException));
59 expect(() { notification.dispatch(key.currentContext); }, isNot(throwsException));
76 expect(() { MyNotification().dispatch(key.currentContext); }, isNot(throwsException));
Doverflow_box_test.dart28 final RenderBox box = inner.currentContext.findRenderObject();
65 final RenderBox box = inner.currentContext.findRenderObject();
88 final RenderBox box = inner.currentContext.findRenderObject();
Dgesture_detector_semantics_test.dart35 final int detectorId = detectorKey.currentContext.findRenderObject().debugSemantics.id;
69 final int detectorId = detectorKey.currentContext.findRenderObject().debugSemantics.id;
98 final int detectorId = detectorKey.currentContext.findRenderObject().debugSemantics.id;
161 final int detectorId = detectorKey.currentContext.findRenderObject().debugSemantics.id;
304 final int detectorId = detectorKey.currentContext.findRenderObject().debugSemantics.id;
390 final int detectorId = detectorKey.currentContext.findRenderObject().debugSemantics.id;
462 final int detectorId = detectorKey.currentContext.findRenderObject().debugSemantics.id;
562 final int detectorId = detectorKey.currentContext.findRenderObject().debugSemantics.id;
653 final int detectorId = detectorKey.currentContext.findRenderObject().debugSemantics.id;
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/android/
DDisplayAndroid.cpp508 CurrentNativeContext &currentContext = mCurrentNativeContext[std::this_thread::get_id()]; in makeCurrent() local
528 ASSERT(newContext == EGL_NO_CONTEXT || currentContext.context == EGL_NO_CONTEXT || in makeCurrent()
529 newContext == currentContext.context); in makeCurrent()
538 newSurface = currentContext.surface; in makeCurrent()
550 if (newSurface != currentContext.surface || newContext != currentContext.context) in makeCurrent()
556 currentContext.surface = newSurface; in makeCurrent()
557 currentContext.context = newContext; in makeCurrent()
574 for (auto &currentContext : mCurrentNativeContext) in destroyNativeContext() local
576 if (currentContext.second.context == context) in destroyNativeContext()
578 currentContext.second.surface = EGL_NO_SURFACE; in destroyNativeContext()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/
DDisplayEGL.cpp723 CurrentNativeContext &currentContext = mCurrentNativeContexts[std::this_thread::get_id()]; in makeCurrent() local
739 if (currentContext.isExternalContext || (context && context->isExternal())) in makeCurrent()
741 ASSERT(currentContext.surface == EGL_NO_SURFACE); in makeCurrent()
742 if (!currentContext.isExternalContext) in makeCurrent()
746 ASSERT(currentContext.context == EGL_NO_CONTEXT); in makeCurrent()
747 currentContext.context = newContext; in makeCurrent()
748 currentContext.isExternalContext = true; in makeCurrent()
757 ASSERT(currentContext.context == newContext); in makeCurrent()
769 ASSERT(currentContext.context != EGL_NO_CONTEXT); in makeCurrent()
770 currentContext.context = EGL_NO_CONTEXT; in makeCurrent()
[all …]
/third_party/node/deps/npm/node_modules/yargs/lib/
Dcommand.js173 const currentContext = yargs.getContext()
174 let numFiles = currentContext.files.length
175 const parentCommands = currentContext.commands.slice()
182 currentContext.commands.push(command)
183 currentContext.fullCommands.push(commandHandler.original)
218 positionalMap = populatePositionals(commandHandler, innerArgv, currentContext, yargs)
256 currentContext.commands.pop()
257 currentContext.fullCommands.pop()
259 numFiles = currentContext.files.length - numFiles
260 if (numFiles > 0) currentContext.files.splice(numFiles * -1, numFiles)
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/
DDisplayWGL.cpp690 CurrentNativeContext &currentContext = mCurrentData[std::this_thread::get_id()]; in makeCurrent() local
692 HDC newDC = currentContext.dc; in makeCurrent()
703 HGLRC newContext = currentContext.glrc; in makeCurrent()
714 if (newDC != currentContext.dc || newContext != currentContext.glrc) in makeCurrent()
723 currentContext.dc = newDC; in makeCurrent()
724 currentContext.glrc = newContext; in makeCurrent()
923 CurrentNativeContext &currentContext = mCurrentData[std::this_thread::get_id()]; in createRenderer() local
924 currentContext.dc = mDeviceContext; in createRenderer()
925 currentContext.glrc = context; in createRenderer()
/third_party/gstreamer/gstplugins_good/ext/qt/
Dgstqsgtexture.cc63 if (this->dummy_tex_id_ && QOpenGLContext::currentContext ()) { in ~GstQSGTexture()
64 QOpenGLContext::currentContext ()->functions ()->glDeleteTextures (1, in ~GstQSGTexture()
171 QOpenGLContext *qglcontext = QOpenGLContext::currentContext (); in bind()
Dqtglrenderer.cc490 QOpenGLContext::currentContext(), m_sharedRenderData->m_context); in stopGL()
491 g_assert (QOpenGLContext::currentContext() == m_sharedRenderData->m_context); in stopGL()
566 QOpenGLContext::currentContext()); in renderGstGL()
631 GST_TRACE ("current QOpenGLContext %p", QOpenGLContext::currentContext()); in initializeGstGL()
636 GST_INFO ("current QOpenGLContext %p", QOpenGLContext::currentContext()); in initializeGstGL()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/
DDisplayWGL.cpp675 CurrentNativeContext &currentContext = mCurrentNativeContexts[std::this_thread::get_id()]; in makeCurrent() local
684 HGLRC newContext = currentContext.glrc; in makeCurrent()
695 if (newDC != currentContext.dc || newContext != currentContext.glrc) in makeCurrent()
704 currentContext.dc = newDC; in makeCurrent()
705 currentContext.glrc = newContext; in makeCurrent()
904 CurrentNativeContext &currentContext = mCurrentNativeContexts[std::this_thread::get_id()]; in createRenderer() local
905 currentContext.dc = mDeviceContext; in createRenderer()
906 currentContext.glrc = context; in createRenderer()
/third_party/flutter/skia/tools/gpu/gl/iOS/
DCreatePlatformGLTestContext_iOS.mm18 EAGLContext* context = [EAGLContext currentContext];
86 if ([EAGLContext currentContext] == fEAGLContext) {
105 if ([EAGLContext currentContext] == fEAGLContext) {
/third_party/skia/tools/gpu/gl/iOS/
DCreatePlatformGLTestContext_iOS.mm20 EAGLContext* context = [EAGLContext currentContext];
87 if ([EAGLContext currentContext] == fEAGLContext.get()) {
111 if ([EAGLContext currentContext] == fEAGLContext.get()) {
/third_party/flutter/skia/experimental/wasm-skp-debugger/
Dcpu.js78 DebuggerView.currentContext = DebuggerView.currentContext || function() {
/third_party/skia/experimental/wasm-skp-debugger/
Dcpu.js79 DebuggerView.currentContext = DebuggerView.currentContext || function() {
/third_party/skia/experimental/skottiekit/
Dcpu.js78 SkottieKit.currentContext = SkottieKit.currentContext || function() {
/third_party/flutter/skia/modules/canvaskit/
Dcpu.js78 CanvasKit.currentContext = CanvasKit.currentContext || function() {
/third_party/skia/modules/canvaskit/
Dgpu.js206 var glCtx = GL.currentContext.GLctx;
209 if (GL.currentContext.version === 2) {
240 var ctx = GL.currentContext;
/third_party/skia/third_party/externals/angle2/src/libGLESv2/
Degl_stubs.cpp98 gl::Context *currentContext = thread->getContext(); in ClientWaitSync() local
101 thread, syncObject->clientWait(display, currentContext, flags, timeout, &syncStatus), in ClientWaitSync()
248 gl::Context *currentContext = thread->getContext(); in CreateSync() local
253 ANGLE_EGL_TRY_RETURN(thread, display->createSync(currentContext, type, attributes, &syncObject), in CreateSync()
740 gl::Context *currentContext = thread->getContext(); in WaitSync() local
741 ANGLE_EGL_TRY_RETURN(thread, syncObject->serverWait(display, currentContext, flags), in WaitSync()

1234