HomeSort by relevance Sort by last modified time
    Searched defs:context (Results 26 - 50 of 1017) sorted by null

12 3 4 5 6 7 8 91011>>

  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
NfcDialogs.java 22 import android.content.Context;
30 static AlertDialog createNotEnabledDialog(final Context context) {
31 return new AlertDialog.Builder(context)
39 context.startActivity(intent);
  /cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityEndToEndTestActivity.java 22 import android.content.Context;
38 final Context context = this; field in class:AccessibilityEndToEndTestActivity
48 .inflate(context, R.layout.list_view_row, null);
59 return context.getString(R.string.first_list_item);
61 return context.getString(R.string.second_list_item);
  /development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
MusicIntentReceiver.java 20 import android.content.Context;
34 public void onReceive(Context context, Intent intent) {
36 Toast.makeText(context, "Headphones disconnected.", Toast.LENGTH_SHORT).show();
39 context.startService(new Intent(MusicService.ACTION_PAUSE));
49 context.startService(new Intent(MusicService.ACTION_TOGGLE_PLAYBACK));
52 context.startService(new Intent(MusicService.ACTION_PLAY));
55 context.startService(new Intent(MusicService.ACTION_PAUSE));
58 context.startService(new Intent(MusicService.ACTION_STOP));
61 context.startService(new Intent(MusicService.ACTION_SKIP))
    [all...]
  /development/samples/XmlAdapters/src/com/example/android/xmladapters/
UrlIntentListener.java 19 import android.content.Context;
36 final Context context = parent.getContext(); local
37 context.startActivity(intent);
  /external/apache-xml/src/main/java/org/apache/xpath/functions/
FuncLocalPart.java 39 * @param xctxt The current execution context.
47 int context = getArg0AsNode(xctxt); local
48 if(DTM.NULL == context)
50 DTM dtm = xctxt.getDTM(context);
51 String s = (context != DTM.NULL) ? dtm.getLocalName(context) : "";
  /external/chromium/chrome/browser/net/
preconnect.cc 52 net::URLRequestContext* context = getter->GetURLRequestContext(); local
53 net::HttpTransactionFactory* factory = context->http_transaction_factory();
60 context->GetUserAgent(url));
sdch_dictionary_fetcher.cc 56 net::URLRequestContextGetter* context = Profile::GetDefaultRequestContext(); local
57 if (!context) {
68 current_fetch_->set_request_context(context);
  /external/chromium/net/socket_stream/
socket_stream_job.h 37 const URLRequestContext& context);
47 URLRequestContext* context() const { function in class:net::SocketStreamJob
48 return socket_->context();
50 void set_context(URLRequestContext* context) {
51 socket_->set_context(context);
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter3/
codegen.ml 9 let context = global_context () var
10 let the_module = create_module context "my cool jit"
11 let builder = builder context
13 let double_type = double_type context
85 let bb = append_block context "entry" the_function in
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter4/
codegen.ml 9 let context = global_context () var
10 let the_module = create_module context "my cool jit"
11 let builder = builder context
13 let double_type = double_type context
85 let bb = append_block context "entry" the_function in
  /external/llvm/test/Bindings/Ocaml/
analysis.ml 12 let context = global_context () var
21 let fty = function_type (void_type context) [| |] in
22 let m = create_module context "valid_m" in
24 let at_entry = builder_at_end context (entry_block fn) in
scalar_opts.ml 14 let context = global_context () var
15 let void_type = Llvm.void_type context
29 let m = create_module context filename
39 ignore (build_ret_void (builder_at_end context (entry_block fn)));
target.ml 14 let context = global_context () var
15 let i32_type = Llvm.i32_type context
16 let i64_type = Llvm.i64_type context
30 let m = create_module context filename
37 let sty = struct_type context [| i32_type; i64_type |] in
  /external/skia/include/utils/
SkEGLContext.h 22 * Create an offscreen opengl context
33 OSMesaContext context; member in class:SkEGLContext
36 AGLContext context; member in class:SkEGLContext
40 GLXContext context; member in class:SkEGLContext
  /external/srec/srec/crec/
c47mulsp.c 93 srec_context* context = grammar; local
95 context->max_searchable_nodes = recm->max_fsm_nodes;
96 context->max_searchable_arcs = recm->max_fsm_arcs;
98 if (context->max_searchable_nodes < context->num_nodes || context->max_searchable_arcs < context->num_arcs)
100 PLogError(L("Error: context switch failed due to search limitations [arcs max=%d, actual=%d], [nodes max=%d, actual=%d]\n"),
101 context->max_searchable_arcs, context->num_arcs
    [all...]
  /external/webkit/Source/JavaScriptCore/wtf/
Threading.cpp 52 NewThreadContext* context = reinterpret_cast<NewThreadContext*>(contextData); local
57 MutexLocker locker(context->creationMutex);
60 initializeCurrentThreadInternal(context->name);
62 // Grab the info that we need out of the context, then deallocate it.
63 ThreadFunction entryPoint = context->entryPoint;
64 void* data = context->data;
65 delete context;
79 NewThreadContext* context = new NewThreadContext(entryPoint, data, name); local
82 MutexLocker locker(context->creationMutex);
84 return createThreadInternal(threadEntryPoint, context, name)
    [all...]
  /external/webkit/Source/WebCore/bindings/js/
JSCallbackData.cpp 40 void JSCallbackData::deleteData(void* context)
42 delete static_cast<JSCallbackData*>(context);
63 ScriptExecutionContext* context = globalObject()->scriptExecutionContext(); local
64 // We will fail to get the context if the frame has been detached.
65 if (!context)
68 bool contextIsDocument = context->isDocument();
  /external/webkit/Source/WebCore/bindings/v8/
V8IsolatedContext.cpp 47 // Our context is going away. Time to clean up the world.
48 V8IsolatedContext* context = static_cast<V8IsolatedContext*>(isolatedContext); local
49 delete context;
56 // FIXME: We should be creating a new V8DOMWindowShell here instead of riping out the context.
57 m_context = SharedPersistent<v8::Context>::create(proxy->windowShell()->createNewContext(v8::Handle<v8::Object>(), extensionGroup));
61 // Run code in the new context.
62 v8::Context::Scope contextScope(m_context->get());
V8IsolatedContext.h 60 // This will delete the isolated world when the context it owns is GC'd.
65 // after this call, once all script references to the world's context
70 // v8::Context::GetEntered(). Because worlds are isolated, the entire
72 // Returns 0 if the entered context is from the main world.
81 // V8 team to add a real property to v8::Context for isolated worlds.
86 if (!v8::Context::InContext())
88 return reinterpret_cast<V8IsolatedContext*>(getGlobalObject(v8::Context::GetEntered())->GetPointerFromInternalField(V8DOMWindow::enteredIsolatedWorldIndex));
91 v8::Handle<v8::Context> context() { return m_context->get(); } function in class:WebCore::V8IsolatedContext
92 PassRefPtr<SharedPersistent<v8::Context> > sharedContext() { return m_context;
    [all...]
  /external/webkit/Source/WebCore/bindings/v8/custom/
V8CustomApplicationInstalledCallback.cpp 51 v8::Handle<v8::Context> context = V8Proxy::context(m_frame.get()); local
52 if (context.IsEmpty())
55 v8::Context::Scope scope(context);
V8NotificationCenterCustom.cpp 84 ScriptExecutionContext* context = notificationCenter->scriptExecutionContext(); local
86 // Make sure that script execution context is valid.
87 if (!context)
90 // Requesting permission is only valid from a page context.
91 if (context->isWorkerContext())
99 callback = V8CustomVoidCallback::create(args[0], context);
  /external/webkit/Source/WebCore/platform/graphics/chromium/cc/
CCCanvasLayerImpl.cpp 55 GraphicsContext3D* context = layerRenderer()->context(); local
56 GLC(context, context->activeTexture(GraphicsContext3D::TEXTURE0));
57 GLC(context, context->bindTexture(GraphicsContext3D::TEXTURE_2D, m_textureId));
59 GLC(context, context->blendFunc(sfactor, GraphicsContext3D::ONE_MINUS_SRC_ALPHA));
61 GLC(context, context->uniform1i(program->fragmentShader().samplerLocation(), 0))
    [all...]
CCPluginLayerImpl.cpp 54 GraphicsContext3D* context = layerRenderer()->context(); local
55 GLC(context, context->activeTexture(GraphicsContext3D::TEXTURE0));
56 GLC(context, context->bindTexture(GraphicsContext3D::TEXTURE_2D, m_textureId));
60 GLC(context, context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MIN_FILTER, GraphicsContext3D::LINEAR));
61 GLC(context, context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MAG_FILTER, GraphicsConte (…)
    [all...]
  /external/webkit/Tools/DumpRenderTree/gtk/
PixelDumpSupportGtk.cpp 52 cairo_t* context = cairo_create(imageSurface); local
55 gdk_cairo_set_source_pixmap(context, pixmap, 0, 0);
56 cairo_paint(context);
59 gtk_widget_draw(viewContainer, context);
66 cairo_set_line_width(context, 1.0);
67 cairo_rectangle(context, rectangle.x, rectangle.y, rectangle.width, rectangle.height);
68 cairo_set_source_rgba(context, 1.0, 0.0, 0.0, 1.0);
69 cairo_stroke(context);
72 return BitmapContext::createByAdoptingBitmapAndContext(0, context);
  /external/webkit/Tools/DumpRenderTree/win/
PixelDumpSupportWin.cpp 75 CGContextRef context = CGBitmapContextCreate(info.bmBits, info.bmWidth, info.bmHeight, 8, local
80 cairo_t* context = cairo_create(image); local
84 return BitmapContext::createByAdoptingBitmapAndContext(bitmap, context);

Completed in 1717 milliseconds

12 3 4 5 6 7 8 91011>>