Home
last modified time | relevance | path

Searched defs:context (Results 1 – 25 of 1277) sorted by relevance

12345678910>>...52

/packages/apps/Contacts/src/com/android/contacts/model/account/
DExchangeAccountType.java47 public ExchangeAccountType(Context context, String authenticatorPackageName, String type) { in ExchangeAccountType()
79 protected DataKind addDataKindStructuredName(Context context) throws DefinitionException { in addDataKindStructuredName()
108 protected DataKind addDataKindDisplayName(Context context) throws DefinitionException { in addDataKindDisplayName()
141 protected DataKind addDataKindPhoneticName(Context context) throws DefinitionException { in addDataKindPhoneticName()
159 protected DataKind addDataKindNickname(Context context) throws DefinitionException { in addDataKindNickname()
172 protected DataKind addDataKindPhone(Context context) throws DefinitionException { in addDataKindPhone()
202 protected DataKind addDataKindEmail(Context context) throws DefinitionException { in addDataKindEmail()
214 protected DataKind addDataKindStructuredPostal(Context context) throws DefinitionException { in addDataKindStructuredPostal()
254 protected DataKind addDataKindIm(Context context) throws DefinitionException { in addDataKindIm()
270 protected DataKind addDataKindOrganization(Context context) throws DefinitionException { in addDataKindOrganization()
[all …]
DGoogleAccountType.java42 public GoogleAccountType(Context context, String authenticatorPackageName) { in GoogleAccountType()
77 protected DataKind addDataKindPhone(Context context) throws DefinitionException { in addDataKindPhone()
100 protected DataKind addDataKindEmail(Context context) throws DefinitionException { in addDataKindEmail()
117 private DataKind addDataKindRelation(Context context) throws DefinitionException { in addDataKindRelation()
152 private DataKind addDataKindEvent(Context context) throws DefinitionException { in addDataKindEvent()
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DGoogleSource.java52 protected void inflate(Context context, int inflateLevel) { in inflate()
73 protected DataKind inflateStructuredName(Context context, int inflateLevel) { in inflateStructuredName()
78 protected DataKind inflateNickname(Context context, int inflateLevel) { in inflateNickname()
83 protected DataKind inflatePhone(Context context, int inflateLevel) { in inflatePhone()
107 protected DataKind inflateEmail(Context context, int inflateLevel) { in inflateEmail()
127 protected DataKind inflateStructuredPostal(Context context, int inflateLevel) { in inflateStructuredPostal()
132 protected DataKind inflateIm(Context context, int inflateLevel) { in inflateIm()
137 protected DataKind inflateOrganization(Context context, int inflateLevel) { in inflateOrganization()
142 protected DataKind inflatePhoto(Context context, int inflateLevel) { in inflatePhoto()
147 protected DataKind inflateNote(Context context, int inflateLevel) { in inflateNote()
[all …]
DExchangeSource.java48 protected void inflate(Context context, int inflateLevel) { in inflate()
65 protected DataKind inflateStructuredName(Context context, int inflateLevel) { in inflateStructuredName()
109 protected DataKind inflateNickname(Context context, int inflateLevel) { in inflateNickname()
124 protected DataKind inflatePhone(Context context, int inflateLevel) { in inflatePhone()
156 protected DataKind inflateEmail(Context context, int inflateLevel) { in inflateEmail()
170 protected DataKind inflateStructuredPostal(Context context, int inflateLevel) { in inflateStructuredPostal()
212 protected DataKind inflateIm(Context context, int inflateLevel) { in inflateIm()
245 protected DataKind inflateOrganization(Context context, int inflateLevel) { in inflateOrganization()
268 protected DataKind inflatePhoto(Context context, int inflateLevel) { in inflatePhoto()
282 protected DataKind inflateNote(Context context, int inflateLevel) { in inflateNote()
[all …]
DFallbackSource.java67 protected void inflate(Context context, int inflateLevel) { in inflate()
105 protected DataKind inflateStructuredName(Context context, int inflateLevel) { in inflateStructuredName()
155 protected DataKind inflateNickname(Context context, int inflateLevel) { in inflateNickname()
178 protected DataKind inflatePhone(Context context, int inflateLevel) { in inflatePhone()
223 protected DataKind inflateEmail(Context context, int inflateLevel) { in inflateEmail()
249 protected DataKind inflateStructuredPostal(Context context, int inflateLevel) { in inflateStructuredPostal()
307 protected DataKind inflateIm(Context context, int inflateLevel) { in inflateIm()
344 protected DataKind inflateOrganization(Context context, int inflateLevel) { in inflateOrganization()
371 protected DataKind inflatePhoto(Context context, int inflateLevel) { in inflatePhoto()
385 protected DataKind inflateNote(Context context, int inflateLevel) { in inflateNote()
[all …]
/packages/apps/Contacts/src/com/android/contacts/util/
DPhoneCapabilityTester.java44 public static boolean isIntentRegistered(Context context, Intent intent) { in isIntentRegistered()
54 public static boolean isPhone(Context context) { in isPhone()
60 private static void initialize(Context context) { in initialize()
70 public static boolean isSipPhone(Context context) { in isSipPhone()
78 public static boolean isSmsIntentRegistered(Context context) { in isSmsIntentRegistered()
89 public static boolean isUsingTwoPanes(Context context) { in isUsingTwoPanes()
96 public static boolean isUsingTwoPanesInFavorites(Context context) { in isUsingTwoPanesInFavorites()
DAccountSelectionUtil.java59 public AccountSelectedListener(Context context, List<AccountWithDataSet> accountList, in AccountSelectedListener()
75 public static Dialog getSelectAccountDialog(Context context, int resId) { in getSelectAccountDialog()
79 public static Dialog getSelectAccountDialog(Context context, int resId, in getSelectAccountDialog()
88 public static Dialog getSelectAccountDialog(Context context, int resId, in getSelectAccountDialog()
152 public static void doImport(Context context, int resId, AccountWithDataSet account) { in doImport()
165 public static void doImportFromSim(Context context, AccountWithDataSet account) { in doImportFromSim()
177 public static void doImportFromSdCard(Context context, AccountWithDataSet account) { in doImportFromSdCard()
/packages/apps/Browser/src/com/android/browser/widget/
DBookmarkThumbnailWidgetProvider.java39 public void onReceive(Context context, Intent intent) { in onReceive()
53 public void onUpdate(Context context, AppWidgetManager mngr, int[] ids) { in onUpdate()
58 public void onDeleted(Context context, int[] appWidgetIds) { in onDeleted()
67 public void onDisabled(Context context) { in onDisabled()
75 void removeOrphanedFiles(Context context) { in removeOrphanedFiles()
81 private void performUpdate(Context context, in performUpdate()
108 static ComponentName getComponentName(Context context) { in getComponentName()
112 public static void refreshWidgets(Context context) { in refreshWidgets()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DLocalBluetoothPreferences.java51 private static SharedPreferences getSharedPreferences(Context context) { in getSharedPreferences()
55 static long getDiscoverableEndTimestamp(Context context) { in getDiscoverableEndTimestamp()
60 static boolean shouldShowDialogInForeground(Context context, in shouldShowDialogInForeground()
115 static void persistSelectedDeviceInPicker(Context context, String deviceAddress) { in persistSelectedDeviceInPicker()
124 static void persistDiscoverableEndTimestamp(Context context, long endTimestamp) { in persistDiscoverableEndTimestamp()
130 static void persistDiscoveringTimestamp(final Context context) { in persistDiscoveringTimestamp()
144 static boolean hasDockAutoConnectSetting(Context context, String addr) { in hasDockAutoConnectSetting()
148 static boolean getDockAutoConnectSetting(Context context, String addr) { in getDockAutoConnectSetting()
153 static void saveDockAutoConnectSetting(Context context, String addr, boolean autoConnect) { in saveDockAutoConnectSetting()
159 static void removeDockAutoConnectSetting(Context context, String addr) { in removeDockAutoConnectSetting()
DBluetoothEventManager.java56 void onReceive(Context context, Intent intent, BluetoothDevice device); in onReceive()
75 CachedBluetoothDeviceManager deviceManager, Context context) { in BluetoothEventManager()
126 private static String getDockedDeviceAddress(Context context) { in getDockedDeviceAddress()
156 public void onReceive(Context context, Intent intent, in onReceive()
179 public void onReceive(Context context, Intent intent, in onReceive()
192 public void onReceive(Context context, Intent intent, in onReceive()
223 public void onReceive(Context context, Intent intent, in onReceive()
241 public void onReceive(Context context, Intent intent, in onReceive()
248 public void onReceive(Context context, Intent intent, in onReceive()
304 private void showUnbondMessage(Context context, String name, int reason) { in showUnbondMessage()
[all …]
/packages/apps/Settings/src/com/android/settings/widget/
DSettingsAppWidgetProvider.java134 public final void toggleState(Context context) { in toggleState()
198 public final void setImageViewResources(Context context, RemoteViews views) { in setImageViewResources()
245 private final String getContentDescription(Context context, int stateResId) { in getContentDescription()
254 public abstract void onActualStateChange(Context context, Intent intent); in onActualStateChange()
262 protected final void setCurrentState(Context context, int newState) { in setCurrentState()
313 public final int getTriState(Context context) { in getTriState()
341 public abstract int getActualState(Context context); in getActualState()
347 protected abstract void requestStateChange(Context context, boolean desiredState); in requestStateChange()
367 public int getActualState(Context context) { in getActualState()
376 protected void requestStateChange(Context context, final boolean desiredState) { in requestStateChange()
[all …]
/packages/apps/Mms/src/com/android/mms/util/
DRecycler.java65 public static boolean checkForThreadsOverLimit(Context context) { in checkForThreadsOverLimit()
72 public void deleteOldMessages(Context context) { in deleteOldMessages()
92 public void deleteOldMessagesByThreadId(Context context, long threadId) { in deleteOldMessagesByThreadId()
104 public static boolean isAutoDeleteEnabled(Context context) { in isAutoDeleteEnabled()
110 abstract public int getMessageLimit(Context context); in getMessageLimit()
112 abstract public void setMessageLimit(Context context, int limit); in setMessageLimit()
124 abstract protected Cursor getAllThreads(Context context); in getAllThreads()
126 abstract protected void deleteMessagesForThread(Context context, long threadId, int keep); in deleteMessagesForThread()
128 abstract protected void dumpMessage(Cursor cursor, Context context); in dumpMessage()
130 abstract protected boolean anyThreadOverLimit(Context context); in anyThreadOverLimit()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DImfUtils.java39 public static InputMethodManager getInputMethodManager(Context context) { in getInputMethodManager()
49 public static InputMethodInfo getInputMethodInfoOfThisIme(Context context) { in getInputMethodInfoOfThisIme()
62 public static String getInputMethodIdOfThisIme(Context context) { in getInputMethodIdOfThisIme()
66 public static boolean checkIfSubtypeBelongsToThisImeAndEnabled(Context context, in checkIfSubtypeBelongsToThisImeAndEnabled()
80 public static boolean checkIfSubtypeBelongsToThisIme(Context context, in checkIfSubtypeBelongsToThisIme()
93 public static InputMethodSubtype getCurrentInputMethodSubtype(Context context, in getCurrentInputMethodSubtype()
100 public static boolean hasMultipleEnabledIMEsOrSubtypes(Context context, in hasMultipleEnabledIMEsOrSubtypes()
107 public static boolean hasMultipleEnabledSubtypesInThisIme(Context context, in hasMultipleEnabledSubtypesInThisIme()
114 private static boolean hasMultipleEnabledSubtypes(Context context, in hasMultipleEnabledSubtypes()
166 Context context, String localeString, String keyboardLayoutSetName) { in findSubtypeByLocaleAndKeyboardLayoutSet()
[all …]
/packages/experimental/LoaderApp/src/com/android/loaderapp/
DCursorFactoryListAdapter.java34 public View newView(Context context, ViewGroup parent); in newView()
35 public void bindView(View view, Context context, Cursor cursor); in bindView()
49 public View newView(Context context, ViewGroup parent) { in newView()
55 public void bindView(View view, Context context, Cursor cursor) { in bindView()
61 public CursorFactoryListAdapter(Context context, ViewFactory factory) { in CursorFactoryListAdapter()
67 public View newView(Context context, Cursor cursor, ViewGroup parent) { in newView()
74 public void bindView(View view, Context context, Cursor cursor) { in bindView()
/packages/apps/Phone/src/com/android/phone/
DSpecialCharSequenceMgr.java68 static boolean handleChars(Context context, String input) { in handleChars()
94 static boolean handleChars(Context context, in handleChars()
119 static boolean handleCharsForLockedDevice(Context context, in handleCharsForLockedDevice()
147 static private boolean handleSecretCode(Context context, String input) { in handleSecretCode()
160 static private boolean handleAdnEntry(Context context, String input) { in handleAdnEntry()
189 static private boolean handlePinEntry(Context context, String input, in handlePinEntry()
212 static private boolean handleIMEIDisplay(Context context, in handleIMEIDisplay()
222 static private void showDeviceIdPanel(Context context) { in showDeviceIdPanel()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSearchWidgetProvider.java63 public void onReceive(Context context, Intent intent) { in onReceive()
75 private static SearchWidgetState[] getSearchWidgetStates(Context context) { in getSearchWidgetStates()
89 public static void updateSearchWidgets(Context context) { in updateSearchWidgets()
101 private static ComponentName myComponentName(Context context) { in myComponentName()
107 private static Intent createQsbActivityIntent(Context context, String action, in createQsbActivityIntent()
118 private static SearchWidgetState getSearchWidgetState(Context context, int appWidgetId) { in getSearchWidgetState()
139 private static Intent getVoiceSearchIntent(Context context, Bundle widgetAppData) { in getVoiceSearchIntent()
161 public void updateWidget(Context context,AppWidgetManager appWidgetMgr) { in updateWidget()
179 private void setOnClickActivityIntent(Context context, RemoteViews views, int viewId, in setOnClickActivityIntent()
/packages/apps/Email/src/com/android/email/widget/
DWidgetManager.java54 public synchronized void createWidgets(Context context, int[] widgetIds) { in createWidgets()
60 public synchronized void deleteWidgets(Context context, int[] widgetIds) { in deleteWidgets()
72 public synchronized void updateWidgets(Context context, int[] widgetIds) { in updateWidgets()
84 public synchronized EmailWidget getOrCreateWidget(Context context, int widgetId) { in getOrCreateWidget()
105 private void remove(Context context, int widgetId) { in remove()
119 static void saveWidgetPrefs(Context context, int appWidgetId, long accountId, long mailboxId) { in saveWidgetPrefs()
128 static void removeWidgetPrefs(Context context, int appWidgetId) { in removeWidgetPrefs()
143 static long loadAccountIdPref(Context context, int appWidgetId) { in loadAccountIdPref()
153 static long loadMailboxIdPref(Context context, int appWidgetId) { in loadMailboxIdPref()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/
DDataExporter.java54 public static Uri exportData(Context context) throws IOException { in exportData()
84 private static File getOutputDirectory(Context context) { in getOutputDirectory()
88 private static void ensureOutputDirectory(Context context) { in ensureOutputDirectory()
95 public static File getOutputFile(Context context, String fileName) { in getOutputFile()
99 public static boolean dumpFileExists(Context context) { in dumpFileExists()
103 public static void removeDumpFiles(Context context) { in removeDumpFiles()
128 private static void addDirectory(Context context, ZipOutputStream os, File current, in addDirectory()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DConfig.java36 public static synchronized AlbumSetPage get(Context context) { in get()
43 private AlbumSetPage(Context context) { in AlbumSetPage()
87 public static synchronized AlbumPage get(Context context) { in get()
94 private AlbumPage(Context context) { in AlbumPage()
112 public static synchronized ManageCachePage get(Context context) { in get()
119 public ManageCachePage(Context context) { in ManageCachePage()
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetProvider.java56 public void onReceive(Context context, Intent intent) { in onReceive()
83 public void onDisabled(Context context) { in onDisabled()
94 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate()
103 static ComponentName getComponentName(Context context) { in getComponentName()
119 private void performUpdate(Context context, in performUpdate()
176 static PendingIntent getUpdateIntent(Context context) { in getUpdateIntent()
187 static PendingIntent getLaunchPendingIntentTemplate(Context context) { in getLaunchPendingIntentTemplate()
206 static Intent getLaunchFillInIntent(Context context, long id, long start, long end, in getLaunchFillInIntent()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarms.java112 public static long addAlarm(Context context, Alarm alarm) { in addAlarm()
130 public static void deleteAlarm(Context context, int alarmId) { in deleteAlarm()
144 public static CursorLoader getAlarmsCursorLoader(Context context) { in getAlarmsCursorLoader()
196 private static void clearSnoozeIfNeeded(Context context, long alarmTime) { in clearSnoozeIfNeeded()
237 public static long setAlarm(Context context, Alarm alarm) { in setAlarm()
276 final Context context, final int id, boolean enabled) { in enableAlarm()
281 private static void enableAlarmInternal(final Context context, in enableAlarmInternal()
287 private static void enableAlarmInternal(final Context context, in enableAlarmInternal()
314 private static Alarm calculateNextAlert(final Context context) { in calculateNextAlert()
379 public static void disableExpiredAlarms(final Context context) { in disableExpiredAlarms()
[all …]
/packages/apps/Mms/src/com/android/mms/transaction/
DMmsSystemEventReceiver.java48 private static void wakeUpService(Context context) { in wakeUpService()
57 public void onReceive(Context context, Intent intent) { in onReceive()
85 public static void registerForConnectionStateChanges(Context context) { in registerForConnectionStateChanges()
100 public static void unRegisterForConnectionStateChanges(Context context) { in unRegisterForConnectionStateChanges()
/packages/apps/Gallery2/src_pd/com/android/gallery3d/picasasource/
DPicasaSource.java85 public static MediaItem getFaceItem(Context context, MediaItem item, int faceIndex) { in getFaceItem()
125 public static String getUserAccount(Context context, MediaObject image) { in getUserAccount()
129 public static ParcelFileDescriptor openFile(Context context, MediaObject image, String mode) in openFile()
134 public static void initialize(Context context) {/*do nothing*/} in initialize()
136 public static void requestSync(Context context) {/*do nothing*/} in requestSync()
138 public static void showSignInReminder(Activity context) {/*do nothing*/} in showSignInReminder()
140 public static void onPackageAdded(Context context, String packageName) {/*do nothing*/} in onPackageAdded()
142 public static void onPackageRemoved(Context context, String packageName) {/*do nothing*/} in onPackageRemoved()
144 public static void onPackageChanged(Context context, String packageName) {/*do nothing*/} in onPackageChanged()
/packages/apps/Browser/src/com/android/browser/search/
DSearchEngines.java32 public static SearchEngine getDefaultSearchEngine(Context context) { in getDefaultSearchEngine()
36 public static List<SearchEngineInfo> getSearchEngineInfos(Context context) { in getSearchEngineInfos()
48 public static SearchEngine get(Context context, String name) { in get()
60 public static SearchEngineInfo getSearchEngineInfo(Context context, String name) { in getSearchEngineInfo()
/packages/apps/Browser/src/com/android/browser/preferences/
DInvertedContrastPreview.java46 Context context, AttributeSet attrs, int defStyle) { in InvertedContrastPreview()
50 public InvertedContrastPreview(Context context, AttributeSet attrs) { in InvertedContrastPreview()
54 public InvertedContrastPreview(Context context) { in InvertedContrastPreview()
59 protected void init(Context context) { in init()

12345678910>>...52