/external/chromium/net/base/ |
network_config_watcher_mac.cc | 91 SCDynamicStoreContext context = { local 99 NULL, CFSTR("org.chromium"), DynamicStoreCallback, &context));
|
/external/chromium/net/proxy/ |
proxy_resolver_mac.cc | 103 CFStreamClientContext context = { 0, &result, NULL, NULL, NULL }; local 108 &context));
|
/external/llvm/tools/llvm-diff/ |
DifferenceEngine.h | 37 /// A RAII object for recording the current context. 38 struct Context { 39 Context(DifferenceEngine &Engine, Value *L, Value *R) : Engine(Engine) { 43 ~Context() { 60 DifferenceEngine(LLVMContext &context, Consumer &consumer) 61 : context(context), consumer(consumer), globalValueOracle(0) {} 85 LLVMContext &context; member in class:llvm::DifferenceEngine
|
/external/webkit/Source/WebCore/bindings/js/ |
JSHTMLCanvasElementCustom.cpp | 85 CanvasRenderingContext* context = canvas->getContext(ustringToString(contextId), attrs.get()); local 86 if (!context) 88 return toJS(exec, globalObject(), WTF::getPtr(context));
|
/external/webkit/Source/WebCore/bindings/v8/ |
ScriptState.cpp | 49 ScriptState::ScriptState(v8::Handle<v8::Context> context) 50 : m_context(v8::Persistent<v8::Context>::New(context)) 61 ScriptState* ScriptState::forContext(v8::Local<v8::Context> context) 63 v8::Context::Scope contextScope(context); 65 v8::Local<v8::Object> global = context->Global(); 67 // an object whose lifetime consides with that of the inspected context 83 v8::Local<v8::Context> context = v8::Context::GetCurrent(); local 126 v8::Local<v8::Context> context = proxy->context(); local [all...] |
ScriptState.h | 56 v8::Local<v8::Context> context() const function in class:WebCore::ScriptState 58 return v8::Local<v8::Context>::New(m_context); 61 static ScriptState* forContext(v8::Local<v8::Context>); 70 explicit ScriptState(v8::Handle<v8::Context>); 75 v8::Persistent<v8::Context> m_context; 91 // Keep the context from being GC'ed. ScriptState is guaranteed to be live while the context is live. 92 m_context = v8::Persistent<v8::Context>::New(scriptState->context()); [all...] |
/external/webkit/Source/WebCore/html/canvas/ |
WebGLObject.h | 56 WebGLRenderingContext* context() const { return m_context; } function in class:WebCore::WebGLObject
|
/external/webkit/Source/WebCore/page/win/ |
FrameCGWin.cpp | 66 CGContextRef context = CGBitmapContextCreate(static_cast<void*>(bits), w, h, local 68 CGContextSaveGState(context); 70 GraphicsContext gc(context); 74 CGContextRelease(context);
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
DoubleBufferedTexture.cpp | 89 LOGV("AquireContext has previously generated a context.\n"); 93 // check to see if a context already exists on this thread 94 EGLContext context = eglGetCurrentContext(); local 96 // if no context exists then create one 97 if (context == EGL_NO_CONTEXT) { 99 context = GLUtils::createBackgroundContext(sharedContext); 102 if (context == EGL_NO_CONTEXT) { 123 m_pContext = context; 124 return context;
|
/external/webkit/Source/WebCore/platform/graphics/chromium/cc/ |
CCVideoLayerImpl.cpp | 106 GraphicsContext3D* context = layerRenderer()->context(); local 111 GLC(context, context->activeTexture(GraphicsContext3D::TEXTURE1)); 112 GLC(context, context->bindTexture(GraphicsContext3D::TEXTURE_2D, yTexture.id)); 113 GLC(context, context->activeTexture(GraphicsContext3D::TEXTURE2)); 114 GLC(context, context->bindTexture(GraphicsContext3D::TEXTURE_2D, uTexture.id)) 144 GraphicsContext3D* context = layerRenderer()->context(); local [all...] |
/external/webkit/Source/WebCore/platform/graphics/win/ |
GraphicsContextCairoWin.cpp | 61 cairo_t* context = cairo_create(surface); local 64 return context; 84 // Make sure the context starts in sync with our state. 96 static void drawBitmapToContext(GraphicsContextPlatformPrivate* context, cairo_t* cr, const DIBPixelData& pixelData, const IntSize& translate) 99 // it into our context. 113 if (context->layers.size()) 114 cairo_paint_with_alpha(cr, context->layers.last()); 139 // If this context does not support alpha blending, then it may have
|
/external/webkit/Source/WebCore/platform/graphics/wx/ |
ImageBufferWx.cpp | 57 GraphicsContext* ImageBuffer::context() const function in class:WebCore::ImageBuffer 107 void ImageBuffer::draw(GraphicsContext* context, ColorSpace styleColorSpace, const FloatRect& destRect, const FloatRect& srcRect, 111 context->drawImage(imageCopy.get(), styleColorSpace, destRect, srcRect, op, useLowQualityScale); 114 void ImageBuffer::drawPattern(GraphicsContext* context, const FloatRect& srcRect, const AffineTransform& patternTransform, 118 imageCopy->drawPattern(context, srcRect, patternTransform, phase, styleColorSpace, op, destRect);
|
/external/webkit/Source/WebCore/rendering/ |
EllipsisBox.cpp | 34 GraphicsContext* context = paintInfo.context; local 37 if (textColor != context->fillColor()) 38 context->setFillColor(textColor, style->colorSpace()); 41 context->setShadow(IntSize(style->textShadow()->x(), style->textShadow()->y()), 47 paintSelection(context, tx, ty, style, style->font()); 52 context->setFillColor(foreground, style->colorSpace()); 56 context->drawText(style->font(), TextRun(str.characters(), str.length(), false, 0, 0, TextRun::AllowTrailingExpansion, false, style->visuallyOrdered()), IntPoint(m_x + tx, m_y + ty + style->fontMetrics().ascent())); 59 if (textColor != context->fillColor()) 60 context->setFillColor(textColor, style->colorSpace()) [all...] |
/external/webkit/Source/WebCore/webaudio/ |
AudioNodeOutput.h | 49 AudioContext* context() { return m_node->context(); } function in class:WebCore::AudioNodeOutput 53 // Called from context's audio thread. 57 // Called from context's audio thread. 62 // It must be called with the context's graph lock. 69 // It must be called with the context's graph lock. 78 // They must be called with the context's graph lock. 83 // It must be called with the context's graph lock. 92 // They must be called with the context's graph lock. 97 // It is called in the constructor or in the audio thread with the context's graph lock [all...] |
/external/webkit/Source/WebKit/gtk/WebCoreSupport/ |
DragClientGtk.cpp | 48 RefPtr<cairo_t> context = adoptRef(gdk_cairo_create(event->window)); local 49 client->drawDragIconWindow(widget, context.get()); 53 static gboolean dragIconWindowDrawEventCallback(GtkWidget* widget, cairo_t* context, DragClient* client) 55 if (!gdk_cairo_get_clip_rectangle(context, 0)) 57 client->drawDragIconWindow(widget, context); 109 GdkDragContext* context = gtk_drag_begin(GTK_WIDGET(m_webView), targetList.get(), dragOperationToGdkDragActions(clipboard->sourceOperation()), 1, currentEvent.get()); local 110 webView->priv->draggingDataObjects.set(context, dataObject); 138 gtk_drag_set_icon_widget(context, m_dragIconWindow, 141 gtk_drag_set_icon_default(context); 144 void DragClient::drawDragIconWindow(GtkWidget* widget, cairo_t* context) [all...] |
/frameworks/base/services/java/com/android/server/am/ |
LaunchWarningWindow.java | 22 import android.content.Context; 30 public LaunchWarningWindow(Context context, ActivityRecord cur, ActivityRecord next) { 31 super(context, R.style.Theme_Toast); 39 setTitle(context.getText(R.string.launch_warning_title)); 46 icon.setImageDrawable(next.info.applicationInfo.loadIcon(context.getPackageManager())); 48 text.setText(context.getResources().getString(R.string.launch_warning_replace, 49 next.info.applicationInfo.loadLabel(context.getPackageManager()).toString())); 51 icon.setImageDrawable(cur.info.applicationInfo.loadIcon(context.getPackageManager())); 53 text.setText(context.getResources().getString(R.string.launch_warning_original [all...] |
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/ |
InputMethodSettingsFragment.java | 19 import android.content.Context; 34 final Context context = getActivity(); local 35 setPreferenceScreen(getPreferenceManager().createPreferenceScreen(context)); 36 mSettings.init(context, getPreferenceScreen());
|
/libcore/luni/src/test/java/libcore/xml/ |
JaxenXPathTestSuite.java | 74 * <context .../> 75 * <context .../> 76 * <context .../> 79 * <context .../> 92 for (final Element context : elementsOf(document.getElementsByTagName("context"))) { 93 contextToTestSuite(result, url, inputSource, context); 101 * Populates the test suite with tests from the given XML context element. 107 * Each context element has this structure: 109 * <context select="..." 120 Context context = new Context(inputSource, url, select); local [all...] |
/packages/apps/Contacts/src/com/android/contacts/socialwidget/ |
SocialWidgetConfigureActivity.java | 49 final SocialWidgetConfigureActivity context = SocialWidgetConfigureActivity.this; local 50 SocialWidgetSettings.getInstance().setContactUri(context, widgetId, data.getData()); 54 context, AppWidgetManager.getInstance(this), widgetId, true);
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
DuplicateAccountDialogFragment.java | 24 import android.content.Context; 50 Context context = getActivity(); local 53 return new AlertDialog.Builder(context) 56 .setMessage(context.getString(
|
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/ |
LoadScreennailTask.java | 19 import android.content.Context; 44 private final Context context; field in class:LoadScreennailTask 47 public LoadScreennailTask(Context context, Callback callback) { 48 this.context = context; 60 return new BitmapUtils(context).getBitmap(params[0], SCREENNAIL_WIDTH, SCREENNAIL_HEIGHT); 66 Toast toast = Toast.makeText(context, R.string.loading_failure, Toast.LENGTH_SHORT);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
HandleView.java | 21 import android.content.Context; 36 public HandleView(Context context) { 37 super(context); 40 public HandleView(Context context, AttributeSet attrs) { 41 this(context, attrs, 0); 44 public HandleView(Context context, AttributeSet attrs, int defStyle) { 45 super(context, attrs, defStyle) [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
DeliveryReportListItem.java | 23 import android.content.Context; 39 DeliveryReportListItem(Context context) { 40 super(context); 52 public DeliveryReportListItem(Context context, AttributeSet attrs) { 53 super(context, attrs); 67 Context context = getContext(); local 68 String receivedStr = context.getString(R.string.status_received) [all...] |
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
Utils.java | 19 import android.content.Context; 34 * @param context the application context 38 public static String formatElapsedTime(Context context, double millis) { 56 sb.append(context.getString(R.string.battery_history_days, 59 sb.append(context.getString(R.string.battery_history_hours, hours, minutes, seconds)); 61 sb.append(context.getString(R.string.battery_history_minutes, minutes, seconds)); 63 sb.append(context.getString(R.string.battery_history_seconds, seconds)); 70 * @param context the application contex [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/p2p/ |
WifiP2pPeer.java | 21 import android.content.Context; 42 public WifiP2pPeer(Context context, WifiP2pDevice dev) { 43 super(context); 98 Context context = getContext(); local 100 String[] statusArray = context.getResources().getStringArray(R.array.wifi_p2p_status);
|