/packages/apps/Browser/src/com/android/browser/ |
H A D | AccountsChangedReceiver.java | 42 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 D | BrowserBookmarksAdapter.java | 38 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 D | PreloadRequestReceiver.java | 48 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 D | WallpaperHandler.java | 54 public WallpaperHandler(Context context, String url) { argument 55 mContext = context;
|
/packages/apps/Browser/src/com/android/browser/preferences/ |
H A D | SeekBarSummaryPreference.java | 35 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 D | SearchEngine.java | 43 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 D | BookmarkContainer.java | 33 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 D | BookmarkThumbnailWidgetProvider.java | 39 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 D | HistoryAdapter.java | 35 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 D | AlertAdapter.java | 43 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 D | ShutterButton.java | 46 public ShutterButton(Context context, AttributeSet attrs) { argument 47 super(context, attrs);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
H A D | CameraPicker.java | 38 public CameraPicker(Context context) { argument 39 super(context);
|
H A D | OtherSettingIndicatorButton.java | 36 public OtherSettingIndicatorButton(Context context, int resId, argument 38 super(context);
|
H A D | StackLayout.java | 28 public StackLayout(Context context, AttributeSet attrs) { argument 29 super(context, attrs);
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
H A D | CellBroadcastAlertService.java | 214 static Intent createDisplayMessageIntent(Context context, argument 217 Intent intent = new Intent(context, CellBroadcastListActivity.class);
|
H A D | CellBroadcastListItem.java | 47 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 D | ContactListEmptyView.java | 39 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 D | GroupMetaDataLoader.java | 51 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 D | ContactInfoHelper.java | 36 public ContactInfoHelper(Context context, String currentCountryIso) { argument 37 mContext = context;
|
H A D | IntentProvider.java | 35 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 D | GoogleAccountType.java | 42 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 D | AccountPromptUtils.java | 55 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 D | DateUtils.java | 96 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 D | NameConverter.java | 55 * @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 D | AccountTypeTest.java | 118 public CharSequence getDisplayLabel(Context context) { argument
|