/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountSettingsUtils.java | 27 import android.content.Context; 40 * @param context the context of the caller 43 public static void commitSettings(Context context, EmailContent.Account account) { 45 account.save(context); 56 account.update(context, cv); 59 AccountBackupRestore.backupAccounts(context); 73 public static Provider findProviderForDomain(Context context, String domain) [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SearchWidgetProvider.java | 30 import android.content.Context; 115 public void onReceive(Context context, Intent intent) { 119 scheduleVoiceHintUpdates(context); 121 updateSearchWidgets(context); 123 considerShowingVoiceSearchHints(context); 125 getHintsFromVoiceSearch(context); 127 hideVoiceSearchHint(context); 129 showVoiceSearchHintNow(context); 130 resetVoiceSearchHintFirstSeenTime(context); [all...] |
/cts/tests/src/android/content/cts/ |
HighPriorityBroadcastReceiver.java | 19 import android.content.Context; 25 public void onReceive(Context context, Intent intent) { 26 super.onReceive(context, intent);
|
/cts/tests/src/android/text/format/cts/ |
LocaleUtils.java | 19 import android.content.Context; 26 public static boolean isCurrentLocale(Context context, Locale locale) { 28 Locale currentLocale = context.getResources().getConfiguration().locale;
|
/development/samples/BrowserPlugin/src/com/android/sampleplugin/ |
BackgroundSurface.java | 3 import android.content.Context; 9 public BackgroundSurface(Context context) { 10 super(context);
|
/development/samples/CrossCompatibility/src/com/example/android/touchexample/ |
TouchExampleView.java | 18 import android.content.Context; 33 public TouchExampleView(Context context) { 34 this(context, null, 0); 37 public TouchExampleView(Context context, AttributeSet attrs) { 38 this(context, attrs, 0); 41 public TouchExampleView(Context context, AttributeSet attrs, int defStyle) { 42 super(context, attrs, defStyle) [all...] |
/external/apache-http/src/org/apache/http/ |
HttpResponseFactory.java | 53 * @param context the context from which to determine the locale 60 HttpContext context); 66 * @param context the context from which to determine the locale 74 HttpContext context);
|
/external/apache-http/src/org/apache/http/impl/ |
NoConnectionReuseStrategy.java | 54 public boolean keepAlive(final HttpResponse response, final HttpContext context) { 58 if (context == null) { 59 throw new IllegalArgumentException("HTTP context may not be null");
|
/external/chromium/net/url_request/ |
view_cache_helper.h | 16 URLRequestContext* context, 20 static void GetStatisticsHTML(URLRequestContext* context,
|
/external/webkit/JavaScriptCore/wtf/ |
MainThread.h | 39 void callOnMainThread(MainThreadFunction*, void* context); 42 void callOnMainThreadAndWait(MainThreadFunction*, void* context);
|
/external/webkit/WebCore/html/canvas/ |
WebGLFramebuffer.cpp | 43 setObject(context()->graphicsContext3D()->createFramebuffer()); 48 context()->graphicsContext3D()->deleteFramebuffer(object);
|
WebGLProgram.cpp | 43 setObject(context()->graphicsContext3D()->createProgram()); 48 context()->graphicsContext3D()->deleteProgram(object);
|
/frameworks/base/core/java/android/app/ |
Application.java | 20 import android.content.Context; 33 * more modular way. If your singleton needs a global context (for example 35 * given a {@link android.content.Context} which internally uses 36 * {@link android.content.Context#getApplicationContext() Context.getApplicationContext()} 76 /* package */ final void attach(Context context) { 77 attachBaseContext(context);
|
/frameworks/base/core/java/android/nfc/ |
NfcManager.java | 19 import android.content.Context; 24 * Use {@link android.content.Context#getSystemService(java.lang.String)} 25 * with {@link Context#NFC_SERVICE} to create an {@link NfcManager}, 29 * {@link NfcAdapter#getDefaultAdapter(android.content.Context)}. 31 * @see Context#getSystemService 32 * @see NfcAdapter#getDefaultAdapter(android.content.Context) 40 public NfcManager(Context context) { 43 adapter = new NfcAdapter(context);
|
/frameworks/base/core/java/android/widget/ |
ResourceCursorAdapter.java | 19 import android.content.Context; 40 * @param context The context where the ListView associated with this 46 public ResourceCursorAdapter(Context context, int layout, Cursor c) { 47 super(context, c); 49 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); 55 * @param context The context where the ListView associated with thi [all...] |
/frameworks/base/core/java/com/android/internal/policy/ |
IPolicy.java | 19 import android.content.Context; 31 public Window makeNewWindow(Context context); 33 public LayoutInflater makeNewLayoutInflater(Context context);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
NotificationLinearLayout.java | 19 import android.content.Context; 25 public NotificationLinearLayout(Context context, AttributeSet attrs) { 26 super(context, attrs);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
RestoreSettingsItem.java | 20 import android.content.Context; 43 private static void initializeStaticVariables(Context context) { 46 sLeftPadding = dpToPixel(context, LEFT_PADDING); 47 sRightPadding = dpToPixel(context, RIGHT_PADDING); 48 sTopPadding = dpToPixel(context, TOP_PADDING); 49 sBottomPadding = dpToPixel(context, BOTTOM_PADDING); 50 sFontSize = dpToPixel(context, FONT_SIZE); 53 public RestoreSettingsItem(Context context, String title) [all...] |
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
PrivilegedCellBroadcastReceiver.java | 20 import android.content.Context; 30 public void onReceive(Context context, Intent intent) { 33 onReceiveWithPrivilege(context, intent, true);
|
/packages/apps/Contacts/src/com/android/contacts/ |
ContactsSearchManager.java | 31 * An extra that provides context for search UI and defines the scope for 37 * An extra that provides context for search UI and defines the scope for 45 public static void startSearch(Activity context, String initialQuery) { 46 context.startActivity(buildIntent(context, initialQuery)); 49 public static void startSearchForResult(Activity context, String initialQuery, 51 context.startActivityForResult(buildIntent(context, initialQuery), requestCode); 54 private static Intent buildIntent(Activity context, String initialQuery) { 59 Intent originalIntent = context.getIntent() [all...] |
/packages/apps/Email/src/com/android/email/service/ |
EmailBroadcastReceiver.java | 20 import android.content.Context; 28 public void onReceive(Context context, Intent intent) { 29 EmailBroadcastProcessorService.processBroadcastIntent(context, intent);
|
/packages/apps/Mms/src/com/android/mms/model/ |
RegionMediaModel.java | 24 import android.content.Context; 33 public RegionMediaModel(Context context, String tag, Uri uri, 35 this(context, tag, null, null, uri, region); 38 public RegionMediaModel(Context context, String tag, String contentType, 40 super(context, tag, contentType, src, uri); 44 public RegionMediaModel(Context context, String tag, String contentType, 46 super(context, tag, contentType, src, data) [all...] |
/packages/apps/Mms/src/com/android/mms/transaction/ |
PrivilegedSmsReceiver.java | 20 import android.content.Context; 30 public void onReceive(Context context, Intent intent) { 33 onReceiveWithPrivilege(context, intent, true);
|
SmsReceiver.java | 23 import android.content.Context; 44 public void onReceive(Context context, Intent intent) { 45 onReceiveWithPrivilege(context, intent, false); 48 protected void onReceiveWithPrivilege(Context context, Intent intent, boolean privileged) { 57 intent.setClass(context, SmsReceiverService.class); 59 beginStartingService(context, intent); 72 public static void beginStartingService(Context context, Intent intent) [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
UserDictionaryToolsListFocus.java | 20 import android.content.Context; 35 * @param context The context 37 public UserDictionaryToolsListFocus(Context context) { 38 super(context);
|