Searched refs:context (Results 1 - 25 of 2244) sorted by relevance

1234567891011>>

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DTransactionContextTest.java33 TransactionContext context = new TransactionContext(false);
34 context.markRawContactDirtyAndChanged(1L, false);
35 context.rawContactUpdated(1L);
36 context.rawContactInserted(1L, 1L);
37 context.syncStateUpdated(1L, new Object());
39 context.clearExceptSearchIndexUpdates();
41 Set<Long> newDirty = context.getDirtyRawContactIds();
42 Set<Long> newChanged = context.getChangedRawContactIds();
43 Set<Long> newInserted = context.getInsertedRawContactIds();
44 Set<Long> newUpdated = context
[all...]
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DCallLogListItemView.java27 public CallLogListItemView(Context context) { argument
28 super(context);
31 public CallLogListItemView(Context context, AttributeSet attrs) { argument
32 super(context, attrs);
35 public CallLogListItemView(Context context, AttributeSet attrs, int defStyle) { argument
36 super(context, attrs, defStyle);
H A DCallLogNotificationsHelper.java28 public static void removeMissedCallNotifications(Context context) { argument
30 context.getSystemService(Context.TELECOM_SERVICE);
35 public static void updateVoicemailNotifications(Context context) { argument
36 Intent serviceIntent = new Intent(context, CallLogNotificationsService.class);
38 context.startService(serviceIntent);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DAnimatedListView.java25 public AnimatedListView(Context context) { argument
26 this(context, null);
29 public AnimatedListView(Context context, AttributeSet attrs) { argument
30 this(context, attrs, 0);
33 public AnimatedListView(Context context, AttributeSet attrs, int defStyle) { argument
34 super(context, attrs, defStyle);
/packages/apps/Camera2/src_pd/com/android/camera/util/
H A DGservicesHelper.java22 public static int getMaxAllowedNativeMemoryMb(Context context) { argument
26 public static boolean useCamera2ApiThroughPortabilityLayer(Context context) { argument
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
H A DFallbackAccountType.java29 private FallbackAccountType(Context context, String resPackageName) { argument
40 addDataKindStructuredName(context);
41 addDataKindDisplayName(context);
42 addDataKindPhoneticName(context);
43 addDataKindNickname(context);
44 addDataKindPhone(context);
45 addDataKindEmail(context);
46 addDataKindStructuredPostal(context);
47 addDataKindIm(context);
48 addDataKindOrganization(context);
60 FallbackAccountType(Context context) argument
70 createWithPackageNameForTest(Context context, String resPackageName) argument
[all...]
/packages/apps/Settings/src/com/android/settings/
H A DProgressCategoryBase.java24 public ProgressCategoryBase(Context context) { argument
25 this(context, null);
28 public ProgressCategoryBase(Context context, AttributeSet attrs) { argument
29 this(context, attrs, 0);
32 public ProgressCategoryBase(Context context, AttributeSet attrs, int defStyleAttr) { argument
33 super(context, attrs, defStyleAttr, 0);
36 public ProgressCategoryBase(Context context, AttributeSet attrs, int defStyleAttr, argument
38 super(context, attrs, defStyleAttr, defStyleRes);
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothProgressCategory.java29 public BluetoothProgressCategory(Context context) { argument
30 this(context, null);
33 public BluetoothProgressCategory(Context context, AttributeSet attrs) { argument
34 this(context, attrs, 0);
37 public BluetoothProgressCategory(Context context, AttributeSet attrs, int defStyleAttr) { argument
38 this(context, attrs, defStyleAttr, 0);
41 public BluetoothProgressCategory(Context context, AttributeSet attrs, int defStyleAttr, argument
43 super(context, attrs, defStyleAttr, defStyleRes);
/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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DImportantNoticeUtils.java56 private static boolean isInSystemSetupWizard(final Context context) { argument
59 context.getContentResolver(), Settings_Secure_USER_SETUP_COMPLETE);
69 static SharedPreferences getImportantNoticePreferences(final Context context) { argument
70 return context.getSharedPreferences(PREFERENCE_NAME, Context.MODE_PRIVATE);
74 static int getCurrentImportantNoticeVersion(final Context context) { argument
75 return context.getResources().getInteger(R.integer.config_important_notice_version);
79 static int getLastImportantNoticeVersion(final Context context) { argument
80 return getImportantNoticePreferences(context).getInt(KEY_IMPORTANT_NOTICE_VERSION, 0);
83 public static int getNextImportantNoticeVersion(final Context context) { argument
84 return getLastImportantNoticeVersion(context)
87 hasNewImportantNotice(final Context context) argument
93 hasTimeoutPassed(final Context context, final long currentTimeInMillis) argument
106 shouldShowImportantNotice(final Context context) argument
124 updateLastImportantNoticeVersion(final Context context) argument
132 getNextImportantNoticeTitle(final Context context) argument
142 getNextImportantNoticeContents(final Context context) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DConversationPager.java26 public ConversationPager(Context context) { argument
27 this(context, null);
30 public ConversationPager(Context context, AttributeSet attrs) { argument
31 super(context, attrs);
/packages/apps/Contacts/src/com/android/contacts/interactions/
H A DContactInteraction.java29 String getViewHeader(Context context); argument
30 String getViewBody(Context context); argument
31 String getViewFooter(Context context); argument
32 Drawable getIcon(Context context); argument
33 Drawable getBodyIcon(Context context); argument
34 Drawable getFooterIcon(Context context); argument
35 String getContentDescription(Context context); argument
/packages/apps/Launcher2/src/com/android/launcher2/
H A DHolographicImageView.java28 public HolographicImageView(Context context) { argument
29 this(context, null);
32 public HolographicImageView(Context context, AttributeSet attrs) { argument
33 this(context, attrs, 0);
36 public HolographicImageView(Context context, AttributeSet attrs, int defStyle) { argument
37 super(context, attrs, defStyle);
39 mHolographicHelper = new HolographicViewHelper(context);
/packages/apps/Browser/src/com/android/browser/view/
H A DCustomScreenLinearLayout.java27 public CustomScreenLinearLayout(Context context) { argument
28 super(context);
32 public CustomScreenLinearLayout(Context context, AttributeSet attrs) { argument
33 super(context, attrs);
37 public CustomScreenLinearLayout(Context context, AttributeSet attrs, argument
39 super(context, attrs, defStyle);
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/
H A DLinearLayoutWithMaxWidth.java26 public LinearLayoutWithMaxWidth(Context context) { argument
27 super(context);
30 public LinearLayoutWithMaxWidth(Context context, AttributeSet attrs) { argument
31 super(context, attrs);
34 public LinearLayoutWithMaxWidth(Context context, AttributeSet attrs, int defStyle) { argument
35 super(context, attrs, defStyle);
/packages/apps/Contacts/src/com/android/contacts/widget/
H A DFullHeightLinearLayout.java31 public FullHeightLinearLayout(Context context) { argument
32 super(context);
35 public FullHeightLinearLayout(Context context, AttributeSet attrs) { argument
36 super(context, attrs);
39 public FullHeightLinearLayout(Context context, AttributeSet attrs, int defStyle) { argument
40 super(context, attrs, defStyle);
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
H A DIngestGridView.java37 public IngestGridView(Context context) { argument
38 super(context);
41 public IngestGridView(Context context, AttributeSet attrs) { argument
42 super(context, attrs);
45 public IngestGridView(Context context, AttributeSet attrs, int defStyle) { argument
46 super(context, attrs, defStyle);
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
H A DAlphaDisableableButton.java28 public AlphaDisableableButton(Context context) { argument
29 this(context, null);
32 public AlphaDisableableButton(Context context, AttributeSet attrs) { argument
33 this(context, attrs, 0);
36 public AlphaDisableableButton(Context context, AttributeSet attrs, int defStyleAttr) { argument
37 super(context, attrs, defStyleAttr);
H A DWallpaperRootView.java26 public WallpaperRootView(Context context, AttributeSet attrs) { argument
27 super(context, attrs);
28 a = (WallpaperPickerActivity) context;
30 public WallpaperRootView(Context context, AttributeSet attrs, int defStyle) { argument
31 super(context, attrs, defStyle);
32 a = (WallpaperPickerActivity) context;
/packages/services/Telecomm/tests/src/com/android/server/telecom/testapps/
H A DCallServiceNotifier.java77 public void updateNotification(Context context) { argument
79 getNotificationManager(context).notify(CALL_NOTIFICATION_ID, getMainNotification(context));
80 getNotificationManager(context).notify(
81 PHONE_ACCOUNT_NOTIFICATION_ID, getPhoneAccountNotification(context));
87 public void cancelNotifications(Context context) { argument
89 getNotificationManager(context).cancel(CALL_NOTIFICATION_ID);
90 getNotificationManager(context).cancel(PHONE_ACCOUNT_NOTIFICATION_ID);
96 public void registerPhoneAccount(Context context) { argument
98 (TelecomManager) context
144 showAllPhoneAccounts(Context context) argument
155 getNotificationManager(Context context) argument
162 getPhoneAccountNotification(Context context) argument
187 getMainNotification(Context context) argument
205 createExitIntent(Context context) argument
215 createRegisterPhoneAccountIntent(Context context) argument
224 createShowAllPhoneAccountsIntent(Context context) argument
233 createIncomingVideoCall(Context context) argument
242 createIncomingAudioCall(Context context) argument
252 addAddCallAction(Notification.Builder builder, Context context) argument
259 addAddVideoCallAction(Notification.Builder builder, Context context) argument
266 addExitAction(Notification.Builder builder, Context context) argument
273 addShowAllPhoneAccountsAction(Notification.Builder builder, Context context) argument
280 addRegisterPhoneAccountAction(Notification.Builder builder, Context context) argument
[all...]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DPrivilegedCellBroadcastReceiver.java29 public void onReceive(Context context, Intent intent) { argument
32 onReceiveWithPrivilege(context, intent, true);
/packages/apps/Dialer/src/com/android/dialerbind/
H A DDatabaseHelperManager.java25 public static DialerDatabaseHelper getDatabaseHelper(Context context) { argument
26 return DialerDatabaseHelper.getInstance(context);
/packages/apps/InCallUI/src/com/android/incalluibind/
H A DObjectFactory.java25 public static Intent getUiReadyBroadcastIntent(Context context) { return null; } argument
31 public static Intent getCallStateButtonBroadcastIntent(Context context) { return null; } argument
/packages/apps/Settings/src/com/android/settings/widget/
H A DToggleSwitch.java31 public ToggleSwitch(Context context) { argument
32 super(context);
35 public ToggleSwitch(Context context, AttributeSet attrs) { argument
36 super(context, attrs);
39 public ToggleSwitch(Context context, AttributeSet attrs, int defStyleAttr) { argument
40 super(context, attrs, defStyleAttr);
43 public ToggleSwitch(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
44 super(context, attrs, defStyleAttr, defStyleRes);
/packages/apps/Camera/src/com/android/camera/
H A DCameraBackupAgent.java27 Context context = getApplicationContext();
28 String prefNames[] = ComboPreferences.getSharedPreferencesNames(context);
30 addHelper(CAMERA_BACKUP_KEY, new SharedPreferencesBackupHelper(context, prefNames));

Completed in 886 milliseconds

1234567891011>>