/third_party/flutter/flutter/packages/flutter/test/widgets/ |
D | animated_positioned_test.dart | 44 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 …]
|
D | sized_box_test.dart | 49 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 …]
|
D | custom_paint_test.dart | 53 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();
|
D | page_transitions_test.dart | 64 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 …]
|
D | composited_transform_test.dart | 38 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();
|
D | focus_scope_test.dart | 81 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 …]
|
D | fractionally_sized_box_test.dart | 28 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();
|
D | notification_test.dart | 35 expect(() { notification.dispatch(key.currentContext); }, isNot(throwsException)); 59 expect(() { notification.dispatch(key.currentContext); }, isNot(throwsException)); 76 expect(() { MyNotification().dispatch(key.currentContext); }, isNot(throwsException));
|
D | overflow_box_test.dart | 28 final RenderBox box = inner.currentContext.findRenderObject(); 65 final RenderBox box = inner.currentContext.findRenderObject(); 88 final RenderBox box = inner.currentContext.findRenderObject();
|
D | gesture_detector_semantics_test.dart | 35 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/ |
D | DisplayAndroid.cpp | 508 CurrentNativeContext ¤tContext = 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 ¤tContext : 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/ |
D | DisplayEGL.cpp | 723 CurrentNativeContext ¤tContext = 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/ |
D | command.js | 173 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/ |
D | DisplayWGL.cpp | 690 CurrentNativeContext ¤tContext = 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 ¤tContext = 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/ |
D | gstqsgtexture.cc | 63 if (this->dummy_tex_id_ && QOpenGLContext::currentContext ()) { in ~GstQSGTexture() 64 QOpenGLContext::currentContext ()->functions ()->glDeleteTextures (1, in ~GstQSGTexture() 171 QOpenGLContext *qglcontext = QOpenGLContext::currentContext (); in bind()
|
D | qtglrenderer.cc | 490 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/ |
D | DisplayWGL.cpp | 675 CurrentNativeContext ¤tContext = 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 ¤tContext = 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/ |
D | CreatePlatformGLTestContext_iOS.mm | 18 EAGLContext* context = [EAGLContext currentContext]; 86 if ([EAGLContext currentContext] == fEAGLContext) { 105 if ([EAGLContext currentContext] == fEAGLContext) {
|
/third_party/skia/tools/gpu/gl/iOS/ |
D | CreatePlatformGLTestContext_iOS.mm | 20 EAGLContext* context = [EAGLContext currentContext]; 87 if ([EAGLContext currentContext] == fEAGLContext.get()) { 111 if ([EAGLContext currentContext] == fEAGLContext.get()) {
|
/third_party/flutter/skia/experimental/wasm-skp-debugger/ |
D | cpu.js | 78 DebuggerView.currentContext = DebuggerView.currentContext || function() {
|
/third_party/skia/experimental/wasm-skp-debugger/ |
D | cpu.js | 79 DebuggerView.currentContext = DebuggerView.currentContext || function() {
|
/third_party/skia/experimental/skottiekit/ |
D | cpu.js | 78 SkottieKit.currentContext = SkottieKit.currentContext || function() {
|
/third_party/flutter/skia/modules/canvaskit/ |
D | cpu.js | 78 CanvasKit.currentContext = CanvasKit.currentContext || function() {
|
/third_party/skia/modules/canvaskit/ |
D | gpu.js | 206 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/ |
D | egl_stubs.cpp | 98 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()
|