Searched defs:context (Results 276 - 300 of 1208) sorted by relevance

<<11121314151617181920>>

/packages/apps/Browser/src/com/android/browser/
H A DAccountsChangedReceiver.java42 public void onReceive(Context context, Intent intent) { argument
43 new DeleteRemovedAccounts(context).start();
48 public DeleteRemovedAccounts(Context context) { argument
49 mContext = context.getApplicationContext();
H A DBrowserBookmarksAdapter.java38 public BrowserBookmarksAdapter(Context context, int defaultView) { argument
41 super(context, null, 0);
42 mInflater = LayoutInflater.from(context);
47 public void bindView(View view, Context context, Cursor cursor) { argument
49 bindListView(view, context, cursor);
51 bindGridView(view, context, cursor);
55 void bindGridView(View view, Context context, Cursor cursor) { argument
58 int padding = context.getResources()
88 void bindListView(View view, Context context, Cursor cursor) { argument
114 public View newView(Context context, Curso argument
[all...]
H A DPreloadRequestReceiver.java48 public void onReceive(Context context, Intent intent) { argument
50 if (isPreloadEnabledOnCurrentNetwork(context) &&
52 handlePreload(context, intent);
56 private boolean isPreloadEnabledOnCurrentNetwork(Context context) { argument
59 if (BrowserSettings.getPreloadAlwaysPreferenceString(context).equals(preload)) {
61 } else if (BrowserSettings.getPreloadOnWifiOnlyPreferenceString(context).equals(preload)) {
62 boolean onWifi = isOnWifi(context);
70 private boolean isOnWifi(Context context) { argument
73 context.getSystemService(Context.CONNECTIVITY_SERVICE);
96 private void handlePreload(Context context, Inten argument
[all...]
H A DWallpaperHandler.java54 public WallpaperHandler(Context context, String url) { argument
55 mContext = context;
/packages/apps/Browser/src/com/android/browser/preferences/
H A DSeekBarSummaryPreference.java35 Context context, AttributeSet attrs, int defStyle) {
36 super(context, attrs, defStyle);
40 public SeekBarSummaryPreference(Context context, AttributeSet attrs) { argument
41 super(context, attrs);
45 public SeekBarSummaryPreference(Context context) { argument
46 super(context);
34 SeekBarSummaryPreference( Context context, AttributeSet attrs, int defStyle) argument
/packages/apps/Browser/src/com/android/browser/search/
H A DSearchEngine.java43 public void startSearch(Context context, String query, Bundle appData, String extraData); argument
48 public Cursor getSuggestions(Context context, String query); argument
/packages/apps/Browser/src/com/android/browser/view/
H A DBookmarkContainer.java33 public BookmarkContainer(Context context) { argument
34 super(context);
38 public BookmarkContainer(Context context, AttributeSet attrs) { argument
39 super(context, attrs);
44 Context context, AttributeSet attrs, int defStyle) {
45 super(context, attrs, defStyle);
43 BookmarkContainer( Context context, AttributeSet attrs, int defStyle) argument
/packages/apps/Browser/src/com/android/browser/widget/
H A DBookmarkThumbnailWidgetProvider.java39 public void onReceive(Context context, Intent intent) { argument
44 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context);
45 performUpdate(context, appWidgetManager,
46 appWidgetManager.getAppWidgetIds(getComponentName(context)));
48 super.onReceive(context, intent);
53 public void onUpdate(Context context, AppWidgetManager mngr, int[] ids) { argument
54 performUpdate(context, mngr, ids);
58 public void onDeleted(Context context, int[] appWidgetIds) { argument
59 super.onDeleted(context, appWidgetIds);
61 BookmarkThumbnailWidgetService.deleteWidgetState(context, widgetI
67 onDisabled(Context context) argument
75 removeOrphanedFiles(Context context) argument
81 performUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) argument
108 getComponentName(Context context) argument
112 refreshWidgets(Context context) argument
[all...]
/packages/apps/Calculator/src/com/android/calculator2/
H A DHistoryAdapter.java35 HistoryAdapter(Context context, History history, Logic evaluator) { argument
37 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DAlertAdapter.java43 public AlertAdapter(Context context, int resource) { argument
44 super(context, resource, null);
48 public void bindView(View view, Context context, Cursor cursor) { argument
66 AgendaAdapter.updateReminder(view, context, cursor.getLong(AlertActivity.INDEX_BEGIN),
77 updateView(context, view, eventName, location, startMillis, endMillis, allDay);
80 public static void updateView(Context context, View view, String eventName, String location, argument
82 Resources res = context.getResources();
113 String tz = Utils.getTimeZone(context, null);
121 if (DateFormat.is24HourFormat(context)) {
129 Utils.formatDateRange(context, startMilli
[all...]
/packages/apps/Camera/src/com/android/camera/
H A DShutterButton.java46 public ShutterButton(Context context, AttributeSet attrs) { argument
47 super(context, attrs);
/packages/apps/Camera/src/com/android/camera/ui/
H A DCameraPicker.java38 public CameraPicker(Context context) { argument
39 super(context);
H A DOtherSettingIndicatorButton.java36 public OtherSettingIndicatorButton(Context context, int resId, argument
38 super(context);
H A DStackLayout.java28 public StackLayout(Context context, AttributeSet attrs) { argument
29 super(context, attrs);
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastAlertService.java214 static Intent createDisplayMessageIntent(Context context, argument
217 Intent intent = new Intent(context, CellBroadcastListActivity.class);
H A DCellBroadcastListItem.java47 public CellBroadcastListItem(Context context) { argument
48 super(context);
51 public CellBroadcastListItem(Context context, AttributeSet attrs) { argument
52 super(context, attrs);
/packages/apps/Contacts/src/com/android/contacts/
H A DContactListEmptyView.java39 public ContactListEmptyView(Context context, AttributeSet attrs) { argument
40 super(context, attrs);
56 Context context = getContext();
58 empty.setText(context.getText(R.string.noContactsWithPhoneNumbers));
60 empty.setText(context.getText(R.string.noFavoritesHelpText));
62 empty.setText(context.getText(R.string.noMatchingContacts));
65 empty.setText(context.getText(R.string.no_contacts_selected));
67 empty.setText(context.getText(R.string.noContactsWithPhoneNumbers));
71 (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
77 context
[all...]
H A DGroupMetaDataLoader.java51 public GroupMetaDataLoader(Context context, Uri groupUri) { argument
52 super(context, ensureIsGroupUri(groupUri), COLUMNS, Groups.ACCOUNT_TYPE + " NOT NULL AND "
/packages/apps/Contacts/src/com/android/contacts/calllog/
H A DContactInfoHelper.java36 public ContactInfoHelper(Context context, String currentCountryIso) { argument
37 mContext = context;
H A DIntentProvider.java35 public abstract Intent getIntent(Context context); argument
40 public Intent getIntent(Context context) {
59 public Intent getIntent(Context context) {
60 Intent intent = new Intent(context, CallDetailActivity.class);
77 public Intent getIntent(Context context) {
84 Intent intent = new Intent(context, CallDetailActivity.class);
/packages/apps/Contacts/src/com/android/contacts/model/
H A DGoogleAccountType.java42 public GoogleAccountType(Context context, String resPackageName) { argument
48 addDataKindStructuredName(context);
49 addDataKindDisplayName(context);
50 addDataKindPhoneticName(context);
51 addDataKindNickname(context);
52 addDataKindPhone(context);
53 addDataKindEmail(context);
54 addDataKindStructuredPostal(context);
55 addDataKindIm(context);
56 addDataKindOrganization(context);
77 addDataKindPhone(Context context) argument
100 addDataKindEmail(Context context) argument
117 addDataKindRelation(Context context) argument
152 addDataKindEvent(Context context) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/util/
H A DAccountPromptUtils.java55 private static SharedPreferences getSharedPreferences(Context context) { argument
56 return PreferenceManager.getDefaultSharedPreferences(context);
65 public static boolean shouldShowAccountPrompt(Context context) { argument
71 AccountManager.get(context).getAuthenticatorTypes();
74 return getSharedPreferences(context).getBoolean(KEY_SHOW_ACCOUNT_PROMPT, true);
84 public static void neverShowAccountPromptAgain(Context context) { argument
85 getSharedPreferences(context).edit()
H A DDateUtils.java96 public static String formatDate(Context context, String string) { argument
115 java.text.DateFormat outFormat = isMonthBeforeDate(context)
129 java.text.DateFormat outFormat = DateFormat.getDateFormat(context);
138 private static boolean isMonthBeforeDate(Context context) { argument
139 char[] dateFormatOrder = DateFormat.getDateFormatOrder(context);
H A DNameConverter.java55 * @param context Activity context.
59 public static String structuredNameToDisplayName(Context context, argument
67 return fetchDisplayName(context, builder.build());
72 * @param context Activity context.
76 public static String structuredNameToDisplayName(Context context, ContentValues values) { argument
83 return fetchDisplayName(context, builder.build());
89 private static String fetchDisplayName(Context context, Uri uri) { argument
91 Cursor cursor = context
115 displayNameToStructuredName(Context context, String displayName) argument
149 displayNameToStructuredName(Context context, String displayName, ContentValues contentValues) argument
[all...]
/packages/apps/Contacts/tests/src/com/android/contacts/model/
H A DAccountTypeTest.java118 public CharSequence getDisplayLabel(Context context) { argument

Completed in 381 milliseconds

<<11121314151617181920>>