Home
last modified time | relevance | path

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

123

/external/apache-xml/src/main/java/org/apache/xml/utils/
DNamespaceSupport2.java51 private Context2 currentContext; // Current point on the double-linked stack field in NamespaceSupport2
99 currentContext = new Context2(null); in reset()
100 currentContext.declarePrefix("xml", XMLNS); in reset()
125 Context2 parentContext=currentContext; in pushContext()
126 currentContext = parentContext.getChild(); in pushContext()
127 if (currentContext == null){ in pushContext()
128 currentContext = new Context2(parentContext); in pushContext()
133 currentContext.setParent(parentContext); in pushContext()
153 Context2 parentContext=currentContext.getParent(); in popContext()
157 currentContext = parentContext; in popContext()
[all …]
/external/webkit/Tools/TestWebKitAPI/mac/
DPlatformWebViewMac.mm75 context:[NSGraphicsContext currentContext]
88 context:[NSGraphicsContext currentContext]
104 context:[NSGraphicsContext currentContext]
117 context:[NSGraphicsContext currentContext]
/external/webkit/Source/WebCore/platform/graphics/openvg/
DEGLDisplayOpenVG.cpp403 EGLContext currentContext = eglGetCurrentContext(); in contextForSurface() local
415 if (currentContext != EGL_NO_CONTEXT) { in contextForSurface()
416 … eglMakeCurrent(currentDisplay, currentReadSurface, currentDrawSurface, currentContext); in contextForSurface()
425 if (currentContext != EGL_NO_CONTEXT) { in contextForSurface()
426 eglMakeCurrent(currentDisplay, currentReadSurface, currentDrawSurface, currentContext); in contextForSurface()
/external/webkit/Source/WebCore/platform/mac/
DLocalCurrentGraphicsContext.mm33 if (graphicsContext->platformContext() == [[NSGraphicsContext currentContext] graphicsPort]) {
38 m_savedNSGraphicsContext = [[NSGraphicsContext currentContext] retain];
DWidgetMac.mm245 NSGraphicsContext *currentContext = [NSGraphicsContext currentContext];
246 if (currentContext == [[view window] graphicsContext] || ![currentContext isDrawingToScreen]) {
250 CGContextRef context = (CGContextRef)[currentContext graphicsPort];
287 ASSERT(cgContext == [currentContext graphicsPort]);
DDragImageMac.mm136 currentRenderer = Font(f, ![[NSGraphicsContext currentContext] isDrawingToScreen]);
159 …eFont(FontPlatformData(font, [font pointSize]), ![[NSGraphicsContext currentContext] isDrawingToSc…
188 NSGraphicsContext *nsContext = [NSGraphicsContext currentContext];
/external/webkit/Source/WebKit2/UIProcess/API/mac/
DWKPrintingView.mm409 NSGraphicsContext *nsGraphicsContext = [NSGraphicsContext currentContext];
497 NSGraphicsContext *currentContext = [NSGraphicsContext currentContext];
506 [NSGraphicsContext setCurrentContext:currentContext];
536 NSGraphicsContext *currentContext = [NSGraphicsContext currentContext];
537 [currentContext saveGraphicsState];
540 [currentContext restoreGraphicsState];
542 [currentContext saveGraphicsState];
545 [currentContext restoreGraphicsState];
/external/chromium/chrome/browser/ui/cocoa/
Danimation_utils.h26 [[NSAnimationContext currentContext] setDuration:0.0]; in WithNoAnimation()
Dprofile_menu_button.mm221 [[NSGraphicsContext currentContext] saveGraphicsState];
235 [[NSGraphicsContext currentContext] restoreGraphicsState];
260 [[NSGraphicsContext currentContext] saveGraphicsState];
282 [[NSGraphicsContext currentContext] restoreGraphicsState];
Dbackground_tile_view.mm19 [[NSGraphicsContext currentContext] setPatternPhase:phase];
Dinfo_bubble_window.mm151 [[NSAnimationContext currentContext]
169 [[NSAnimationContext currentContext] setDuration:kMinimumTimeInterval];
200 [[NSAnimationContext currentContext]
Dgradient_button_cell.mm384 [[NSGraphicsContext currentContext]
582 (CGContextRef)([[NSGraphicsContext currentContext] graphicsPort]);
663 [[NSGraphicsContext currentContext] saveGraphicsState];
679 [[NSGraphicsContext currentContext] restoreGraphicsState];
683 [[NSGraphicsContext currentContext] saveGraphicsState];
686 [[NSGraphicsContext currentContext] graphicsPort]);
706 [[NSGraphicsContext currentContext] restoreGraphicsState];
Dimage_utils.mm18 if (neverFlipped && [[NSGraphicsContext currentContext] isFlipped]) {
Dstyled_text_field_cell.mm75 : context_([NSGraphicsContext currentContext]) {
163 [[NSGraphicsContext currentContext] setPatternPhase:midPoint];
/external/webkit/Source/WebCore/platform/graphics/mac/
DGraphicsContextMac.mm173 // FIXME: This code should not use NSGraphicsContext currentContext
180 NSGraphicsContext *currentContext = [NSGraphicsContext currentContext];
181 CGContextRef context = (CGContextRef)[currentContext graphicsPort];
/external/webkit/Source/WebKit/mac/WebInspector/
DWebNodeHighlightView.mm73 ASSERT([[NSGraphicsContext currentContext] isFlipped]);
75 …GraphicsContext context((PlatformGraphicsContext*)[[NSGraphicsContext currentContext] graphicsPort…
/external/webkit/Source/WebKit/chromium/src/
DWebBindings.cpp245 … WebCore::DOMWindow* window = WebCore::V8Proxy::retrieveWindow(WebCore::V8Proxy::currentContext()); in makeIntArrayImpl()
256 … WebCore::DOMWindow* window = WebCore::V8Proxy::retrieveWindow(WebCore::V8Proxy::currentContext()); in makeStringArrayImpl()
266 … WebCore::DOMWindow* window = WebCore::V8Proxy::retrieveWindow(WebCore::V8Proxy::currentContext()); in makeNodeImpl()
/external/chromium/chrome/browser/ui/cocoa/toolbar/
Dtoolbar_view.mm23 [[NSGraphicsContext currentContext] setPatternPhase:phase];
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_bar_toolbar_view.mm42 [[NSGraphicsContext currentContext] setPatternPhase:phase];
58 NSGraphicsContext* context = [NSGraphicsContext currentContext];
/external/webkit/Source/WebCore/bindings/v8/
DDateExtension.cpp78 v8::Local<v8::Value> result = V8Proxy::currentContext()->Global()->Get(v8::String::New("Date")); in setAllowSleep()
DV8NPUtils.cpp71 DOMWindow* window = V8Proxy::retrieveWindow(V8Proxy::currentContext()); in convertV8ObjectToNPVariant()
/external/chromium/chrome/browser/notifications/
Dballoon_collection_mac.mm41 [[NSAnimationContext currentContext] setDuration:0.1f];
/external/chromium/chrome/browser/ui/cocoa/download/
Ddownload_shelf_view.mm36 [[NSGraphicsContext currentContext] setPatternPhase:phase];
/external/webkit/Source/WebKit/mac/Plugins/
DWebNetscapePluginView.mm384 … CGContextRef currentContext = (CGContextRef)[[NSGraphicsContext currentContext] graphicsPort];
385 if (currentContext && WKCGContextIsBitmapContext(currentContext)) {
390 void* offscreenData = CGBitmapContextGetData(currentContext);
396 offscreenBounds.right = CGBitmapContextGetWidth(currentContext);
397 offscreenBounds.bottom = CGBitmapContextGetHeight(currentContext);
400 getQDPixelFormatForBitmapContext(currentContext), &offscreenBounds, 0, 0, 0,
401 … static_cast<char*>(offscreenData), CGBitmapContextGetBytesPerRow(currentContext));
416 … // Generate a QD origin based on the current affine transform for currentContext.
417 CGAffineTransform offscreenMatrix = CGContextGetCTM(currentContext);
435 …getNPRect(CGRectOffset(CGContextGetClipBoundingBox(currentContext), -origin.x, origin.y), window.c…
[all …]
/external/webkit/Tools/DumpRenderTree/mac/
DEventSendingController.mm329 context:[NSGraphicsContext currentContext]
394 context:[NSGraphicsContext currentContext]
452 context:[NSGraphicsContext currentContext]
515 context:[NSGraphicsContext currentContext]
702 context:[NSGraphicsContext currentContext]
715 context:[NSGraphicsContext currentContext]

123