HomeSort by relevance Sort by last modified time
    Searched refs:context (Results 176 - 200 of 3096) sorted by null

1 2 3 4 5 6 78 91011>>

  /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/bluetooth/glib/glib/
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/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...]
ScriptState.cpp 45 ScriptState::ScriptState(v8::Handle<v8::Context> context)
46 : m_context(v8::Persistent<v8::Context>::New(context))
57 ScriptState* ScriptState::forContext(v8::Local<v8::Context> context)
59 v8::Context::Scope contextScope(context);
61 v8::Local<v8::Object> global = context->Global();
63 // an object whose lifetime consides with that of the inspected context
79 v8::Local<v8::Context> context = v8::Context::GetCurrent(); local
    [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...]
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/bluetooth/
BluetoothPermissionRequest.java 24 import android.content.Context;
44 public void onReceive(Context context, Intent intent) {
50 LocalBluetoothManager localManager = LocalBluetoothManager.getInstance(context);
55 connectionAccessIntent.setClass(context, BluetoothPermissionActivity.class);
62 (PowerManager) context.getSystemService(Context.POWER_SERVICE);
66 context.startActivity(connectionAccessIntent);
79 context.getString(R.string.bluetooth_connection_permission_request), System.currentTimeMillis());
81 notification.setLatestEventInfo(context,
    [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...]
layout.cpp 28 struct Context
50 void InitParagraph(HWND hwnd, Context *context)
54 if (context->paragraph != NULL) {
57 if (context->width > 0 && context->height > 0) {
58 context->paragraph->breakLines(context->width, context->height);
64 si.nMax = context->paragraph->getLineCount() - 1
120 Context *context; local
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/
Alarms.java 25 import android.content.Context;
100 public static long addAlarm(Context context, Alarm alarm) {
102 Uri uri = context.getContentResolver().insert(
108 clearSnoozeIfNeeded(context, timeInMillis);
110 setNextAlert(context);
118 public static void deleteAlarm(Context context, int alarmId) {
121 ContentResolver contentResolver = context.getContentResolver();
123 disableSnoozeAlert(context, alarmId)
    [all...]
AlarmReceiver.java 24 import android.content.Context;
41 public void onReceive(Context context, Intent intent) {
44 updateNotification(context, (Alarm)
49 Alarms.saveSnoozeAlert(context, -1, -1);
72 Alarms.setNextAlert(context);
77 Alarms.disableSnoozeAlert(context, alarm.id);
80 Alarms.enableAlarm(context, alarm.id, false);
84 Alarms.setNextAlert(context);
100 AlarmAlertWakeLock.acquireCpuWakeLock(context);
    [all...]
  /external/webkit/WebCore/html/canvas/
CanvasStyle.cpp 109 void CanvasStyle::applyStrokeColor(GraphicsContext* context)
111 if (!context)
117 context->setStrokeColor(c.rgb(), DeviceColorSpace);
122 context->setStrokeColor(color, DeviceColorSpace);
128 context->setStrokeColor(colorWithOverrideAlpha(c.rgb(), m_alpha), DeviceColorSpace);
133 context->setStrokeColor(colorWithOverrideAlpha(color, m_alpha), DeviceColorSpace);
140 context->setStrokeColor(Color(m_grayLevel, m_grayLevel, m_grayLevel, m_alpha), DeviceColorSpace);
143 context->setStrokeColor(Color(m_red, m_green, m_blue, m_alpha), DeviceColorSpace);
149 CGContextSetCMYKStrokeColor(context->platformContext(), m_cyan, m_magenta, m_yellow, m_black, m_alpha);
151 QPen currentPen = context->platformContext()->pen()
    [all...]
  /frameworks/base/core/java/android/app/backup/
SharedPreferencesBackupHelper.java 20 import android.content.Context;
47 * // are the same strings that are passed to {@link Context#getSharedPreferences(String, int)}.
74 private Context mContext;
81 * @param context The application {@link android.content.Context}
85 public SharedPreferencesBackupHelper(Context context, String... prefGroups) {
86 super(context);
88 mContext = context;
97 Context context = mContext local
120 Context context = mContext; local
    [all...]
  /frameworks/base/core/java/android/widget/
TwoLineListItem.java 23 import android.content.Context;
49 public TwoLineListItem(Context context) {
50 this(context, null, 0);
53 public TwoLineListItem(Context context, AttributeSet attrs) {
54 this(context, attrs, 0);
57 public TwoLineListItem(Context context, AttributeSet attrs, int defStyle) {
58 super(context, attrs, defStyle)
    [all...]
  /libcore/luni/src/main/java/org/apache/xpath/functions/
FuncNamespace.java 39 * @param xctxt The current execution context.
47 int context = getArg0AsNode(xctxt); local
50 if(context != DTM.NULL)
52 DTM dtm = xctxt.getDTM(context);
53 int t = dtm.getNodeType(context);
56 s = dtm.getNamespaceURI(context);
64 s = dtm.getNodeName(context);
68 s = dtm.getNamespaceURI(context);
  /packages/apps/VoiceDialer/src/com/android/voicedialer/
VoiceDialerReceiver.java 20 import android.content.Context;
32 public void onReceive(Context context, Intent intent) {
41 CommandRecognizerEngine.deleteCachedGrammarFiles(context);
50 CommandRecognizerEngine.deleteCachedGrammarFiles(context);
55 RecognizerLogger.enable(context);
56 Toast.makeText(context, R.string.logging_enabled, Toast.LENGTH_LONG).show();
61 RecognizerLogger.disable(context);
62 Toast.makeText(context, R.string.logging_disabled, Toast.LENGTH_LONG).show();
  /development/host/windows/usb/legacy/driver/
android_usb_pipe_file_object.cpp 393 // We rely here on the fact that we're in the context of the calling thread.
461 // Initialize our request context.
462 AndroidUsbWdfRequestContext* context = local
464 ASSERT(NULL != context);
465 if (NULL == context) {
471 context->object_type = AndroidUsbWdfObjectTypeRequest;
472 context->urb_mem = urb_mem;
473 context->transfer_mdl = transfer_mdl;
474 context->mdl = new_mdl;
475 context->length = length;
699 context = GetAndroidUsbWdfRequestContext(request); local
716 AndroidUsbWorkitemContext* context = local
    [all...]
  /external/webkit/WebCore/platform/graphics/wx/
GraphicsContextWx.cpp 93 wxGCDC* context; member in class:WebCore::GraphicsContextPlatformPrivate
95 wxWindowDC* context; member in class:WebCore::GraphicsContextPlatformPrivate
103 context(0),
115 GraphicsContext::GraphicsContext(PlatformGraphicsContext* context)
119 setPaintingDisabled(!context);
120 if (context) {
121 // Make sure the context starts in sync with our state.
126 m_data->context = (wxGCDC*)context;
128 m_data->context = (wxWindowDC*)context
    [all...]
  /frameworks/base/services/java/com/android/server/am/
LaunchWarningWindow.java 6 import android.content.Context;
13 public LaunchWarningWindow(Context context, ActivityRecord cur, ActivityRecord next) {
14 super(context, R.style.Theme_Toast);
22 setTitle(context.getText(R.string.launch_warning_title));
26 icon.setImageDrawable(next.info.applicationInfo.loadIcon(context.getPackageManager()));
28 text.setText(context.getResources().getString(R.string.launch_warning_replace,
29 next.info.applicationInfo.loadLabel(context.getPackageManager()).toString()));
31 icon.setImageDrawable(cur.info.applicationInfo.loadIcon(context.getPackageManager()));
33 text.setText(context.getResources().getString(R.string.launch_warning_original
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppReceiver.java 44 import android.content.Context;
61 public void onReceive(Context context, Intent intent) {
66 context.startService(new Intent(context, BluetoothOppService.class));
71 context.startService(new Intent(context, BluetoothOppService.class));
76 if (BluetoothOppManager.getInstance(context).mSendingFlag) {
78 BluetoothOppManager.getInstance(context).mSendingFlag = false;
90 context.startActivity(in1)
    [all...]
  /packages/apps/Mms/src/com/android/mms/transaction/
SmsRejectedReceiver.java 25 import android.content.Context;
41 public void onReceive(Context context, Intent intent) {
42 if (Settings.Secure.getInt(context.getContentResolver(),
54 context.getSystemService(Context.NOTIFICATION_SERVICE);
56 Intent viewConvIntent = new Intent(context, ConversationList.class);
62 context, 0, viewConvIntent, 0);
77 notification.tickerText = context.getString(titleId);
81 context, context.getString(titleId)
    [all...]
  /external/webkit/WebCore/bridge/jni/
jni_jsobject.mm 109 static void dispatchToJavaScriptThread(JSObjectCallContext *context)
126 context->originatingLoop = currentRunLoop;
127 CFRunLoopSourceContext sourceContext = {0, context, NULL, NULL, NULL, NULL, NULL, NULL, NULL, completedJavaScriptAccess};
184 jvalue JavaJSObject::invoke(JSObjectCallContext *context)
191 // Send the call context to the thread that is allowed to
193 dispatchToJavaScriptThread(context);
194 result = context->result;
197 jlong nativeHandle = context->nativeHandle;
202 if (context->type == CreateNative) {
208 fprintf (stderr, "%s:%d: Attempt to access JavaScript from destroyed applet, type %d.\n", __FILE__, __LINE__, context->type)
    [all...]
  /cts/tests/appsecurity-tests/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/
GrantUriPermission.java 4 import android.content.Context;
10 public void onReceive(Context context, Intent intent) {
16 context.startActivity(newIntent);
18 context.startService(newIntent);

Completed in 1919 milliseconds

1 2 3 4 5 6 78 91011>>