Searched refs:context (Results 51 - 75 of 1656) sorted by relevance

1234567891011>>

/packages/apps/OneTimeInitializer/src/com/android/onetimeinitializer/
H A DOneTimeInitializerReceiver.java34 public void onReceive(Context context, Intent intent) { argument
36 context.startService(new Intent(context, OneTimeInitializerService.class));
/packages/experimental/LoaderApp/src/com/android/loaderapp/
H A DCursorFactoryListAdapter.java34 public View newView(Context context, ViewGroup parent); argument
35 public void bindView(View view, Context context, Cursor cursor); argument
49 public View newView(Context context, ViewGroup parent) { argument
50 LayoutInflater inflater = (LayoutInflater) context.getSystemService(
55 public void bindView(View view, Context context, Cursor cursor) { argument
61 public CursorFactoryListAdapter(Context context, ViewFactory factory) { argument
62 super(context, null, /* disable content observers for the cursor */0);
67 public View newView(Context context, Cursor cursor, ViewGroup parent) { argument
68 View view = mViewFactory.newView(context, parent);
69 mViewFactory.bindView(view, context, curso
74 bindView(View view, Context context, Cursor cursor) argument
[all...]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarDebugReceiver.java34 public void onReceive(Context context, Intent intent) { argument
36 i.setClass(context, CalendarDebug.class);
38 context.startActivity(i);
/packages/apps/Browser/src/com/android/browser/preferences/
H A DFontSizePreview.java36 Context context, AttributeSet attrs, int defStyle) {
37 super(context, attrs, defStyle);
40 public FontSizePreview(Context context, AttributeSet attrs) { argument
41 super(context, attrs);
44 public FontSizePreview(Context context) { argument
45 super(context);
49 protected void init(Context context) { argument
50 super.init(context);
51 Resources res = context.getResources();
35 FontSizePreview( Context context, AttributeSet attrs, int defStyle) argument
H A DNonformattingListPreference.java26 public NonformattingListPreference(Context context) { argument
27 super(context);
30 public NonformattingListPreference(Context context, AttributeSet attrs) { argument
31 super(context, attrs);
H A DInvertedContrastPreview.java47 Context context, AttributeSet attrs, int defStyle) {
48 super(context, attrs, defStyle);
51 public InvertedContrastPreview(Context context, AttributeSet attrs) { argument
52 super(context, attrs);
55 public InvertedContrastPreview(Context context) { argument
56 super(context);
60 protected void init(Context context) { argument
61 super.init(context);
46 InvertedContrastPreview( Context context, AttributeSet attrs, int defStyle) argument
/packages/apps/Camera/src/com/android/camera/ui/
H A DTwoStateImageView.java31 public TwoStateImageView(Context context, AttributeSet attrs) { argument
32 super(context, attrs);
35 public TwoStateImageView(Context context) { argument
36 this(context, null);
/packages/apps/Contacts/src/com/android/contacts/widget/
H A DNotifyingSpinner.java35 public NotifyingSpinner(Context context) { argument
36 super(context);
39 public NotifyingSpinner(Context context, AttributeSet attrs) { argument
40 super(context, attrs);
/packages/apps/Dialer/src/com/android/dialer/util/
H A DEmptyLoader.java32 public EmptyLoader(Context context) { argument
33 super(context);
43 public Callback(Context context) { argument
44 mContext = context.getApplicationContext();
/packages/apps/Email/src/com/android/email/provider/
H A DWidgetProvider.java39 public void onEnabled(final Context context) { argument
43 super.onEnabled(context);
47 public void onDisabled(Context context) { argument
51 context.stopService(new Intent(context, WidgetService.class));
52 super.onDisabled(context);
56 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { argument
60 super.onUpdate(context, appWidgetManager, appWidgetIds);
61 WidgetManager.getInstance().updateWidgets(context, appWidgetIds);
65 public void onDeleted(Context context, in argument
74 onReceive(final Context context, Intent intent) argument
[all...]
/packages/apps/Gallery2/src/com/android/camera/ui/
H A DTwoStateImageView.java31 public TwoStateImageView(Context context, AttributeSet attrs) { argument
32 super(context, attrs);
35 public TwoStateImageView(Context context) { argument
36 this(context, null);
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DRightAlignedHorizontalScrollView.java26 public RightAlignedHorizontalScrollView(Context context) { argument
27 super(context);
30 public RightAlignedHorizontalScrollView(Context context, AttributeSet attrs) { argument
31 super(context, attrs);
H A DTwoStateImageView.java32 public TwoStateImageView(Context context, AttributeSet attrs) { argument
33 super(context, attrs);
36 public TwoStateImageView(Context context) { argument
37 this(context, null);
/packages/apps/Mms/src/com/android/mms/transaction/
H A DSimFullReceiver.java38 public void onReceive(Context context, Intent intent) { argument
39 if (Settings.Global.getInt(context.getContentResolver(),
44 context.getSystemService(Context.NOTIFICATION_SERVICE);
46 Intent viewSimIntent = new Intent(context, ManageSimMessages.class);
50 context, 0, viewSimIntent, 0);
54 notification.tickerText = context.getString(R.string.sim_full_title);
58 context, context.getString(R.string.sim_full_title),
59 context.getString(R.string.sim_full_body),
/packages/apps/Mms/src/com/android/mms/util/
H A DRecycler.java65 public static boolean checkForThreadsOverLimit(Context context) { argument
69 return smsRecycler.anyThreadOverLimit(context) || mmsRecycler.anyThreadOverLimit(context);
72 public void deleteOldMessages(Context context) { argument
76 if (!isAutoDeleteEnabled(context)) {
80 Cursor cursor = getAllThreads(context);
82 int limit = getMessageLimit(context);
85 deleteMessagesForThread(context, threadId, limit);
92 public void deleteOldMessagesByThreadId(Context context, long threadId) { argument
97 if (!isAutoDeleteEnabled(context)) {
104 isAutoDeleteEnabled(Context context) argument
110 getMessageLimit(Context context) argument
112 setMessageLimit(Context context, int limit) argument
124 getAllThreads(Context context) argument
126 deleteMessagesForThread(Context context, long threadId, int keep) argument
128 dumpMessage(Cursor cursor, Context context) argument
130 anyThreadOverLimit(Context context) argument
165 getMessageLimit(Context context) argument
171 setMessageLimit(Context context, int limit) argument
182 getAllThreads(Context context) argument
191 deleteMessagesForThread(Context context, long threadId, int keep) argument
235 dumpMessage(Cursor cursor, Context context) argument
249 anyThreadOverLimit(Context context) argument
305 getMessageLimit(Context context) argument
311 setMessageLimit(Context context, int limit) argument
322 getAllThreads(Context context) argument
331 deleteOldMessagesInSameThreadAsMessage(Context context, Uri uri) argument
380 deleteMessagesForThread(Context context, long threadId, int keep) argument
422 deleteMessagesOlderThanDate(Context context, long threadId, long latestDate) argument
433 dumpMessage(Cursor cursor, Context context) argument
443 anyThreadOverLimit(Context context) argument
[all...]
/packages/apps/Stk/src/com/android/stk/
H A DStkCmdReceiver.java33 public void onReceive(Context context, Intent intent) { argument
37 handleCommandMessage(context, intent);
39 handleSessionEnd(context, intent);
43 private void handleCommandMessage(Context context, Intent intent) { argument
48 context.startService(new Intent(context, StkAppService.class)
52 private void handleSessionEnd(Context context, Intent intent) { argument
55 context.startService(new Intent(context, StkAppService.class)
/packages/apps/VideoEditor/src/com/android/videoeditor/
H A DTransitionType.java50 * @param context The context
54 public static TransitionType[] getTransitions(Context context) { argument
57 context.getString(R.string.transitions_alpha_countour),
60 context.getString(R.string.transitions_alpha_diagonal),
63 context.getString(R.string.transitions_crossfade),
66 context.getString(R.string.transitions_fade_black),
69 context.getString(R.string.transitions_sliding_right_out_left_in),
72 context.getString(R.string.transitions_sliding_left_out_right_in),
75 context
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/
H A DLauncherIconVisibilityManager.java62 public void onReceive(final Context context, final Intent intent) { argument
63 if (shouldHandleThisIntent(intent, context)) {
64 updateSetupWizardIconVisibility(context);
72 if (RichInputMethodManager.isInputMethodManagerValidForUserOfThisProcess(context)) {
73 RichInputMethodManager.init(context);
74 isCurrentImeOfCurrentUser = SetupActivity.isThisImeCurrent(context);
86 private static boolean shouldHandleThisIntent(final Intent intent, final Context context) { argument
89 Log.i(TAG, "Package has been replaced: " + context.getPackageName());
101 public static void updateSetupWizardIconVisibility(final Context context) { argument
102 final ComponentName setupWizardActivity = new ComponentName(context, SetupActivit
118 setActivityState(final Context context, final ComponentName activityComponent, final int activityState) argument
[all...]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
H A DKeyboardListPreferenceJAJP.java32 public KeyboardListPreferenceJAJP(Context context, AttributeSet attrs) { argument
33 super(context, attrs);
36 public KeyboardListPreferenceJAJP(Context context) { argument
37 this(context, null);
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DLocalBluetoothPreferences.java51 private static SharedPreferences getSharedPreferences(Context context) { argument
52 return context.getSharedPreferences(SHARED_PREFERENCES_NAME, Context.MODE_PRIVATE);
55 static long getDiscoverableEndTimestamp(Context context) { argument
56 return getSharedPreferences(context).getLong(
60 static boolean shouldShowDialogInForeground(Context context, argument
62 LocalBluetoothManager manager = LocalBluetoothManager.getInstance(context);
73 if ((context.getResources().getConfiguration().uiMode &
79 SharedPreferences sharedPreferences = getSharedPreferences(context);
115 static void persistSelectedDeviceInPicker(Context context, String deviceAddress) { argument
116 SharedPreferences.Editor editor = getSharedPreferences(context)
124 persistDiscoverableEndTimestamp(Context context, long endTimestamp) argument
130 persistDiscoveringTimestamp(final Context context) argument
144 hasDockAutoConnectSetting(Context context, String addr) argument
148 getDockAutoConnectSetting(Context context, String addr) argument
153 saveDockAutoConnectSetting(Context context, String addr, boolean autoConnect) argument
159 removeDockAutoConnectSetting(Context context, String addr) argument
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DOpenDownloadReceiver.java42 public void onReceive(final Context context, Intent intent) { argument
45 openDownloadsPage(context);
51 openDownloadsPage(context);
59 onReceiveAsync(context, id);
66 private void onReceiveAsync(Context context, long id) { argument
67 DownloadManager manager = (DownloadManager) context.getSystemService(
72 openDownloadsPage(context);
78 context.startActivity(launchIntent);
80 openDownloadsPage(context);
87 * @param context
89 openDownloadsPage(Context context) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/widget/
H A DCalendarAppWidgetProvider.java56 public void onReceive(Context context, Intent intent) { argument
62 if (Utils.getWidgetUpdateAction(context).equals(action)) {
63 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context);
64 performUpdate(context, appWidgetManager,
65 appWidgetManager.getAppWidgetIds(getComponentName(context)),
71 || action.equals(Utils.getWidgetScheduledUpdateAction(context))) {
72 Intent service = new Intent(context, CalendarAppWidgetService.class);
73 context.startService(service);
75 super.onReceive(context, intent);
83 public void onDisabled(Context context) { argument
94 onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) argument
103 getComponentName(Context context) argument
119 performUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds, long[] changedEventIds) argument
176 getUpdateIntent(Context context) argument
187 getLaunchPendingIntentTemplate(Context context) argument
206 getLaunchFillInIntent(Context context, long id, long start, long end, boolean allDay) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/
H A DRecipientAdapter.java25 public RecipientAdapter(Context context) { argument
26 super(context);
/packages/apps/Contacts/src/com/android/contacts/util/
H A DCallerInfoCacheUtils.java49 public static void sendUpdateCallerInfoCacheIntent(Context context) { argument
50 context.sendBroadcast(new Intent(UPDATE_CALLER_INFO_CACHE));
/packages/apps/ContactsCommon/src/com/android/contacts/common/
H A DGeoUtil.java31 public static final String getCurrentCountryIso(Context context) { argument
33 (CountryDetector) context.getSystemService(Context.COUNTRY_DETECTOR);

Completed in 814 milliseconds

1234567891011>>