Searched refs:context (Results 176 - 200 of 1656) sorted by relevance

1234567891011>>

/packages/apps/Launcher2/src/com/android/launcher2/
H A DPackageChangedReceiver.java9 public void onReceive(final Context context, Intent intent) { argument
16 LauncherApplication app = (LauncherApplication) context.getApplicationContext();
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DExpandedGridView.java24 public ExpandedGridView(Context context, AttributeSet attrs) { argument
25 super(context, attrs);
/packages/apps/Mms/src/com/android/mms/transaction/
H A DMmsSystemEventReceiver.java47 public static void wakeUpService(Context context) { argument
52 context.startService(new Intent(context, TransactionService.class));
56 public void onReceive(Context context, Intent intent) { argument
67 mConnMgr = (ConnectivityManager) context
82 wakeUpService(context);
89 context, MessagingNotification.THREAD_NONE, false);
93 wakeUpService(context);
H A DMessagingNotification.java149 public void onReceive(Context context, Intent intent) { argument
154 Conversation.markAllConversationsAsSeen(context);
180 public static void init(Context context) { argument
186 context.registerReceiver(sNotificationDeletedReceiver, intentFilter);
187 sPduPersister = PduPersister.getPduPersister(context);
192 sScreenDensity = context.getResources().getDisplayMetrics().density;
218 * @param context the context to use
220 public static void nonBlockingUpdateNewMessageIndicator(final Context context, argument
231 blockingUpdateNewMessageIndicator(context, newMsgThreadI
246 blockingUpdateNewMessageIndicator(Context context, long newMsgThreadId, boolean isStatusMessage) argument
301 playInConversationNotificationSound(Context context) argument
327 blockingUpdateAllNotifications(final Context context, long threadId) argument
347 deliver(Context context, boolean isStatusMessage) argument
403 formatBigMessage(Context context) argument
432 formatInboxMessage(Context context) argument
480 formatPictureMessage(Context context) argument
503 formatSenders(Context context, ArrayList<NotificationInfo> senders) argument
524 getAttachmentTypeString(Context context, int attachmentType) argument
557 addMmsNotificationInfos( Context context, Set<Long> threads, SortedSet<NotificationInfo> notificationSet) argument
670 getSmsNewDeliveryInfo(Context context) argument
699 addSmsNotificationInfos( Context context, Set<Long> threads, SortedSet<NotificationInfo> notificationSet) argument
746 getNewMessageNotificationInfo( Context context, boolean isSms, String address, String message, String subject, long threadId, long timeMillis, Bitmap attachmentBitmap, Contact contact, int attachmentType) argument
774 cancelNotification(Context context, int notificationId) argument
782 updateDeliveryNotification(final Context context, boolean isStatusMessage, final CharSequence message, final long timeMillis) argument
811 updateNotification( Context context, boolean isNew, int uniqueThreadCount, SortedSet<NotificationInfo> notificationSet) argument
1040 buildTickerMessage( Context context, String address, String subject, String body) argument
1074 notifyDownloadFailed(Context context, long threadId) argument
1078 notifySendFailed(Context context) argument
1082 notifySendFailed(Context context, boolean noisy) argument
1086 notifyFailed(Context context, boolean isDownload, long threadId, boolean noisy) argument
1184 getUndeliveredMessageCount(Context context, long[] threadIdResult) argument
1213 nonBlockingUpdateSendFailedNotification(final Context context) argument
1233 updateSendFailedNotificationForThread(Context context, long threadId) argument
1242 getDownloadFailedMessageCount(Context context) argument
1262 updateDownloadFailedNotification(Context context) argument
1282 getSmsThreadId(Context context, Uri uri) argument
1325 getThreadId(Context context, Uri uri) argument
[all...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DContactsSource.java30 public ContactsSource(Context context, SearchableInfo searchable, Handler uiThread, argument
32 super(context, searchable, uiThread, iconLoader);
H A DTextAppearanceFactory.java28 public TextAppearanceFactory(Context context) { argument
29 mContext = context;
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
H A DContactSuggestionView.java41 public ContactSuggestionView(Context context, AttributeSet attrs, int defStyle) { argument
42 super(context, attrs, defStyle);
45 public ContactSuggestionView(Context context, AttributeSet attrs) { argument
46 super(context, attrs);
49 public ContactSuggestionView(Context context) { argument
50 super(context);
73 public Factory(Context context) { argument
74 super(VIEW_ID, ContactSuggestionView.class, R.layout.contact_suggestion, context);
/packages/apps/Settings/src/com/android/settings/
H A DBrightnessPreference.java27 public BrightnessPreference(Context context, AttributeSet attrs) { argument
28 super(context, attrs);
H A DHelpUtils.java64 public static boolean prepareHelpMenuItem(Context context, MenuItem helpMenuItem, argument
66 String helpUrlString = context.getResources().getString(helpUrlResourceId);
67 return prepareHelpMenuItem(context, helpMenuItem, helpUrlString);
78 public static boolean prepareHelpMenuItem(Context context, MenuItem helpMenuItem, argument
88 final Uri fullUri = uriWithAddedParameters(context, Uri.parse(helpUrlString));
109 * of the app's package as gotten via the context.
112 private static Uri uriWithAddedParameters(Context context, Uri baseUri) { argument
123 PackageInfo info = context.getPackageManager().getPackageInfo(
124 context.getPackageName(), 0);
132 Log.wtf(TAG, "Invalid package name for context",
[all...]
/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DInputMethodDialogReceiver.java26 public void onReceive(Context context, Intent intent) { argument
28 ((InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE))
/packages/apps/Settings/src/com/android/settings/wifi/
H A DAccessPointCategoryForSetupWizardXL.java26 public AccessPointCategoryForSetupWizardXL(Context context, AttributeSet attrs) { argument
27 super(context, attrs);
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DGroupsListLoader.java35 public GroupsListLoader(Context context) { argument
36 super(context, Groups.CONTENT_URI, COLUMNS, null, null, Groups.TITLE);
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/
H A DContactPresenceIconUtil.java32 public static Drawable getPresenceIcon (Context context, int status) { argument
40 return context.getResources().getDrawable(
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DOpenWnnSQLiteOpenHelper.java33 public OpenWnnSQLiteOpenHelper(Context context, String dbname) { argument
34 super(context, dbname, null, DATABASE_VERSION);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsUpgradeReceiver.java47 public void onReceive(Context context, Intent intent) { argument
55 SharedPreferences prefs = context.getSharedPreferences(TAG, Context.MODE_PRIVATE);
75 ContactsDatabaseHelper helper = ContactsDatabaseHelper.getInstance(context);
76 ProfileDatabaseHelper profileHelper = ProfileDatabaseHelper.getInstance(context);
80 context.getText(R.string.upgrade_msg), true);
86 ContactsProvider2.updateLocaleOffline(context, helper, profileHelper);
95 context.getPackageManager().setComponentEnabledSetting(
96 new ComponentName(context, getClass()),
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DSynchronousProfileProvider.java35 protected ProfileDatabaseHelper getDatabaseHelper(final Context context) { argument
37 sDbHelper = ProfileDatabaseHelper.getNewInstanceForTest(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/view/
H A DEventRedirectingFrameLayout.java30 public EventRedirectingFrameLayout(Context context) { argument
31 super(context);
34 public EventRedirectingFrameLayout(Context context, AttributeSet attrs) { argument
35 super(context, attrs);
39 Context context, AttributeSet attrs, int defStyle) {
40 super(context, attrs, defStyle);
38 EventRedirectingFrameLayout( Context context, AttributeSet attrs, int defStyle) argument
/packages/apps/Camera/src/com/android/camera/
H A DDisableCameraReceiver.java38 public void onReceive(Context context, Intent intent) { argument
47 disableComponent(context, ACTIVITIES[i]);
52 disableComponent(context, "com.android.camera.DisableCameraReceiver");
75 private void disableComponent(Context context, String klass) { argument
76 ComponentName name = new ComponentName(context, klass);
77 PackageManager pm = context.getPackageManager();
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastReceiver.java47 public void onReceive(Context context, Intent intent) { argument
48 onReceiveWithPrivilege(context, intent, false);
51 protected void onReceiveWithPrivilege(Context context, Intent intent, boolean privileged) { argument
58 TelephonyManager tm = (TelephonyManager) context.getSystemService(
60 tm.listen(new ServiceStateListener(context.getApplicationContext()),
66 startConfigService(context);
75 intent.setClass(context, CellBroadcastAlertService.class);
76 context.startService(intent);
86 handleCdmaSmsCbProgramData(context, programDataList);
100 context
118 handleCdmaSmsCbProgramData(Context context, CdmaSmsCbProgramData[] programDataList) argument
147 tryCdmaSetCategory(Context context, int category, boolean enable) argument
183 startConfigService(Context context) argument
209 ServiceStateListener(Context context) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/detail/
H A DTransformableImageView.java29 public TransformableImageView(Context context) { argument
30 super(context);
33 public TransformableImageView(Context context, AttributeSet attrs) { argument
34 super(context, attrs);
37 public TransformableImageView(Context context, AttributeSet attrs, int defStyle) { argument
38 super(context, attrs, defStyle);
/packages/apps/Contacts/src/com/android/contacts/group/
H A DGroupDetailDisplayUtils.java35 public static View getNewGroupSourceView(Context context) { argument
36 LayoutInflater inflater = (LayoutInflater)context.getSystemService(
41 public static void bindGroupSourceView(Context context, View view, String accountTypeString, argument
43 AccountTypeManager accountTypeManager = AccountTypeManager.getInstance(context);
51 label.setText(accountType.getViewGroupLabel(context));
58 accountIcon.setImageDrawable(accountType.getDisplayIcon(context));
/packages/apps/Contacts/src/com/android/contacts/widget/
H A DTransitionAnimationView.java33 public TransitionAnimationView(Context context) { argument
34 this(context, null, 0);
37 public TransitionAnimationView(Context context, AttributeSet attrs) { argument
38 this(context, attrs, 0);
41 public TransitionAnimationView(Context context, AttributeSet attrs, int defStyle) { argument
42 super(context, attrs, defStyle);
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DAutoScrollListView.java38 public AutoScrollListView(Context context) { argument
39 super(context);
42 public AutoScrollListView(Context context, AttributeSet attrs) { argument
43 super(context, attrs);
46 public AutoScrollListView(Context context, AttributeSet attrs, int defStyle) { argument
47 super(context, attrs, defStyle);
/packages/apps/DeskClock/src/com/android/deskclock/
H A DAlarmInitReceiver.java38 public void onReceive(final Context context, Intent intent) { argument
43 final WakeLock wl = AlarmAlertWakeLock.createPartialWakeLock(context);
49 Alarms.saveSnoozeAlert(context, Alarms.INVALID_ALARM_ID, -1);
50 Alarms.disableExpiredAlarms(context);
54 PreferenceManager.getDefaultSharedPreferences(context);
65 Alarms.setNextAlert(context);

Completed in 773 milliseconds

1234567891011>>