HomeSort by relevance Sort by last modified time
    Searched refs:context (Results 151 - 175 of 3035) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/webkit/WebCore/websockets/
WorkerThreadableWebSocketChannel.cpp 52 WorkerThreadableWebSocketChannel::WorkerThreadableWebSocketChannel(WorkerContext* context, WebSocketChannelClient* client, const String& taskMode, const KURL& url, const String& protocol)
53 : m_workerContext(context)
97 WorkerThreadableWebSocketChannel::Peer::Peer(RefPtr<ThreadableWebSocketChannelClientWrapper> clientWrapper, WorkerLoaderProxy& loaderProxy, ScriptExecutionContext* context, const String& taskMode, const KURL& url, const String& protocol)
100 , m_mainWebSocketChannel(WebSocketChannel::create(context, this, url, protocol))
121 static void workerContextDidSend(ScriptExecutionContext* context, RefPtr<ThreadableWebSocketChannelClientWrapper> workerClientWrapper, bool sent)
123 ASSERT_UNUSED(context, context->isWorkerContext());
136 static void workerContextDidGetBufferedAmount(ScriptExecutionContext* context, RefPtr<ThreadableWebSocketChannelClientWrapper> workerClientWrapper, unsigned long bufferedAmount)
138 ASSERT_UNUSED(context, context->isWorkerContext())
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
DelegatedTask.java 32 private final AccessControlContext context; field in class:DelegatedTask
38 * @param context
40 public DelegatedTask(PrivilegedExceptionAction<Void> action, HandshakeProtocol handshaker, AccessControlContext context) {
43 this.context = context;
52 AccessController.doPrivileged(action, context);
  /libcore/luni/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) : "";
  /packages/apps/DeskClock/src/com/android/alarmclock/
AnalogAppWidgetProvider.java 25 import android.content.Context;
35 public void onReceive(Context context, Intent intent) {
39 RemoteViews views = new RemoteViews(context.getPackageName(),
43 PendingIntent.getActivity(context, 0,
44 new Intent(context, AlarmClock.class),
50 AppWidgetManager gm = AppWidgetManager.getInstance(context);
  /packages/apps/Email/tests/src/com/android/exchange/
SyncManagerTest.java 19 import android.content.Context;
29 public MyContext(Context base) {
41 final MyContext context = new MyContext(getContext()); local
43 final String id = SyncManager.getDeviceId(context);
51 context.isGetFileStreamPathCalled = false;
52 final String cachedId = SyncManager.getDeviceId(context);
57 assertFalse(context.isGetFileStreamPathCalled);
  /packages/apps/Launcher2/src/com/android/launcher2/
ClippedImageView.java 19 import android.content.Context;
29 public ClippedImageView(Context context, AttributeSet attrs) {
30 this(context, attrs, 0);
33 public ClippedImageView(Context context, AttributeSet attrs, int defStyle) {
34 super(context, attrs, defStyle);
36 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.ClippedImageView, defStyle, 0);
  /packages/apps/Phone/src/com/android/phone/
SpecialCharSequenceMgr.java 21 import android.content.Context;
52 * @param context input Context for the events we handle.
55 static boolean handleChars(Context context, String input) {
56 return handleChars(context, input, null);
72 * @param context input Context for the events we handle.
81 static boolean handleChars(Context context,
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
CorporaUpdateReceiver.java 21 import android.content.Context;
34 public void onReceive(Context context, Intent intent) {
39 updateCorpora(context);
40 SearchWidgetProvider.updateSearchWidgets(context);
44 private void updateCorpora(Context context) {
45 QsbApplication.get(context).updateCorpora();
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
ClearUserDictionaryDialogPreferenceEN.java 19 import android.content.Context;
31 /** The context */
32 protected Context mContext = null;
37 * @param context The context
40 public ClearUserDictionaryDialogPreferenceEN(Context context, AttributeSet attrs) {
41 super(context, attrs);
42 mContext = context;
48 * @param context The contex
    [all...]
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
ClearLearnDictionaryDialogPreferenceJAJP.java 19 import android.content.Context;
31 /** The context */
32 protected Context mContext = null;
37 * @param context The context
40 public ClearLearnDictionaryDialogPreferenceJAJP(Context context, AttributeSet attrs) {
41 super(context, attrs);
42 mContext = context;
48 * @param context The contex
    [all...]
ClearUserDictionaryDialogPreferenceJAJP.java 19 import android.content.Context;
31 /** The context */
32 protected Context mContext = null;
37 * @param context The context
40 public ClearUserDictionaryDialogPreferenceJAJP(Context context, AttributeSet attrs) {
41 super(context, attrs);
42 mContext = context;
48 * @param context The contex
    [all...]
  /packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
SoundManager.java 19 import android.content.Context;
27 private Context mContext;
33 private SoundManager(Context context) {
34 mContext = context;
41 .getSystemService(Context.AUDIO_SERVICE);
46 public static SoundManager getInstance(Context context) {
48 if (null != context) {
49 mInstance = new SoundManager(context);
    [all...]
  /external/webkit/WebCore/platform/graphics/cairo/
FontCairo.cpp 44 void Font::drawGlyphs(GraphicsContext* context, const SimpleFontData* font, const GlyphBuffer& glyphBuffer,
47 cairo_t* cr = context->platformContext();
61 Color fillColor = context->fillColor();
75 bool hasShadow = context->textDrawingMode() == cTextFill &&
76 context->getShadow(shadowSize, shadowBlur, shadowColor);
80 // Disable graphics context shadows (not yet implemented) and paint them manually
81 context->clearShadow();
101 GraphicsContext* shadowContext = shadowBuffer->context();
115 context->createPlatformShadow(shadowBuffer.release(), shadowColor, shadowRect, kernelSize);
130 if (context->textDrawingMode() & cTextFill)
    [all...]
  /external/webkit/JavaScriptCore/wtf/
MainThread.cpp 41 void* context; member in struct:WTF::FunctionWithContext
44 FunctionWithContext(MainThreadFunction* function = 0, void* context = 0, ThreadCondition* syncFlag = 0)
46 , context(context)
96 invocation.function(invocation.context);
111 void callOnMainThread(MainThreadFunction* function, void* context)
118 functionQueue().append(FunctionWithContext(function, context));
124 void callOnMainThreadAndWait(MainThreadFunction* function, void* context)
129 function(context);
136 functionQueue().append(FunctionWithContext(function, context, &syncFlag))
    [all...]
  /external/webkit/WebKitTools/DumpRenderTree/
GCController.cpp 45 static JSValueRef collectCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
49 return JSValueMakeUndefined(context);
52 static JSValueRef collectOnAlternateThreadCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
56 waitUntilDone = JSValueToBoolean(context, arguments[0]);
61 return JSValueMakeUndefined(context);
64 static JSValueRef getJSObjectCountCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
69 return JSValueMakeNumber(context, jsObjectCount);
74 void GCController::makeWindowObject(JSContextRef context, JSObjectRef windowObject, JSValueRef* exception)
79 JSValueRef gcControllerObject = JSObjectMake(context, classRef, this);
82 JSObjectSetProperty(context, windowObject, gcControllerStr.get(), gcControllerObject, kJSPropertyAttributeReadOnly | kJSProper (…)
    [all...]
  /external/bluetooth/glib/glib/
goption.c 122 static void free_changes_list (GOptionContext *context,
124 static void free_pending_nulls (GOptionContext *context,
182 return g_quark_from_static_string ("g-option-context-error-quark");
192 * Creates a new option context.
221 GOptionContext *context; local
223 context = g_new0 (GOptionContext, 1);
225 context->parameter_string = g_strdup (parameter_string);
226 context->help_enabled = TRUE;
227 context->ignore_unknown = FALSE;
229 return context;
    [all...]
goption.h 66 typedef gboolean (*GOptionParseFunc) (GOptionContext *context,
71 typedef void (*GOptionErrorFunc) (GOptionContext *context,
104 void g_option_context_set_summary (GOptionContext *context,
106 G_CONST_RETURN gchar *g_option_context_get_summary (GOptionContext *context);
107 void g_option_context_set_description (GOptionContext *context,
109 G_CONST_RETURN gchar *g_option_context_get_description (GOptionContext *context);
110 void g_option_context_free (GOptionContext *context);
111 void g_option_context_set_help_enabled (GOptionContext *context,
113 gboolean g_option_context_get_help_enabled (GOptionContext *context);
114 void g_option_context_set_ignore_unknown_options (GOptionContext *context,
    [all...]
  /external/webkit/WebKitTools/DumpRenderTree/win/
EventSender.cpp 63 static JSValueRef getDragModeCallback(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception)
65 return JSValueMakeBoolean(context, dragMode);
68 static bool setDragModeCallback(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef value, JSValueRef* exception)
70 dragMode = JSValueToBoolean(context, value);
74 static JSValueRef getConstantCallback(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception)
77 return JSValueMakeNumber(context, WM_KEYDOWN);
79 return JSValueMakeNumber(context, WM_KEYUP);
81 return JSValueMakeNumber(context, WM_CHAR);
83 return JSValueMakeNumber(context, WM_DEADCHAR);
85 return JSValueMakeNumber(context, WM_SYSKEYDOWN)
    [all...]
  /external/webkit/WebCore/loader/
WorkerThreadableLoader.cpp 104 void WorkerThreadableLoader::MainThreadBridge::mainThreadCreateLoader(ScriptExecutionContext* context, MainThreadBridge* thisPtr, auto_ptr<CrossThreadResourceRequestData> requestData, ThreadableLoaderOptions options)
107 ASSERT(context->isDocument());
116 thisPtr->m_mainThreadLoader = ThreadableLoader::create(context, thisPtr, *request, options);
120 void WorkerThreadableLoader::MainThreadBridge::mainThreadDestroy(ScriptExecutionContext* context, MainThreadBridge* thisPtr)
123 ASSERT_UNUSED(context, context->isDocument());
129 // Ensure that no more client callbacks are done in the worker context's thread.
136 void WorkerThreadableLoader::MainThreadBridge::mainThreadCancel(ScriptExecutionContext* context, MainThreadBridge* thisPtr)
139 ASSERT_UNUSED(context, context->isDocument())
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/
SpecialCharSequenceMgr.java 26 import android.content.Context;
57 static boolean handleChars(Context context, String input, EditText textField) {
58 return handleChars(context, input, false, textField);
61 static boolean handleChars(Context context, String input) {
62 return handleChars(context, input, false, null);
65 static boolean handleChars(Context context, String input, boolean useSystemWindow,
71 if (handleIMEIDisplay(context, dialString, useSystemWindow
328 Context context = sc.progressDialog.getContext(); local
    [all...]
  /external/webkit/WebCore/bindings/v8/
V8WorkerContextEventListener.cpp 45 static WorkerContextExecutionProxy* workerProxy(ScriptExecutionContext* context)
47 ASSERT(context->isWorkerContext());
48 WorkerContext* workerContext = static_cast<WorkerContext*>(context);
57 void V8WorkerContextEventListener::handleEvent(ScriptExecutionContext* context, Event* event)
59 if (!context)
68 WorkerContextExecutionProxy* proxy = workerProxy(context);
72 v8::Handle<v8::Context> v8Context = proxy->context();
76 // Enter the V8 context in which to perform the event handling.
77 v8::Context::Scope scope(v8Context)
    [all...]
  /packages/apps/Email/src/com/android/email/
AccountBackupRestore.java 24 import android.content.Context;
43 public static void backupAccounts(final Context context) {
51 doBackupAccounts(context, Preferences.getPreferences(context));
60 public static void restoreAccountsIfNeeded(final Context context) {
62 boolean restored = doRestoreAccounts(context, Preferences.getPreferences(context));
67 SecurityPolicy.getInstance(context).updatePolicies(-1)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/appwidget/
ExampleAppWidgetProvider.java 22 import android.content.Context;
52 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) {
61 String titlePrefix = ExampleAppWidgetConfigure.loadTitlePref(context, appWidgetId);
62 updateAppWidget(context, appWidgetManager, appWidgetId, titlePrefix);
67 public void onDeleted(Context context, int[] appWidgetIds) {
72 ExampleAppWidgetConfigure.deleteTitlePref(context, appWidgetIds[i]);
77 public void onEnabled(Context context) {
    [all...]
  /packages/apps/Mms/src/com/android/mms/ui/
NumberPickerDialog.java 20 import android.content.Context;
55 * @param context Parent.
59 public NumberPickerDialog(Context context,
65 this(context, com.android.internal.R.style.Theme_Dialog_Alert,
70 * @param context Parent.
75 public NumberPickerDialog(Context context,
82 super(context, theme);
88 setButton(DialogInterface.BUTTON_POSITIVE, context.getText(R.string.set), this)
    [all...]
  /external/icu4c/samples/layout/
clayout.c 27 struct Context
34 typedef struct Context Context;
51 void InitParagraph(HWND hwnd, Context *context)
55 if (context->paragraph != NULL) {
58 if (context->width > 0 && context->height > 0) {
59 pf_breakLines(context->paragraph, context->width, context->height)
121 Context *context; local
    [all...]

Completed in 855 milliseconds

1 2 3 4 5 67 8 91011>>