Searched refs:name (Results 151 - 175 of 1057) sorted by relevance

1234567891011>>

/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DMailObservable.java30 public MailObservable(String name) { argument
31 mName = name;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DShiftKeyState.java25 public ShiftKeyState(String name) { argument
26 super(name);
H A DKeyboardCodesSet.java32 public static int getCode(final String name) { argument
33 Integer id = sNameToIdMap.get(name);
34 if (id == null) throw new RuntimeException("Unknown key code: " + name);
/packages/inputmethods/LatinIME/tools/make-keyboard-text/res/src/com/android/inputmethod/keyboard/internal/
H A DKeyboardTextsTable.tmpl52 public static String getText(final String name, final String[] textsTable) {
53 final Integer indexObj = sNameToIndexesMap.get(name);
55 throw new RuntimeException("Unknown text name=" + name + " locale="
68 throw new RuntimeException("Illegal index=" + index + " for name=" + name
85 // /* index:histogram */ "name",
/packages/services/BuiltInPrintService/src/com/android/bips/jni/
H A DSizeD.java38 private void validate(String name, double value) { argument
40 throw new IllegalArgumentException("invalid " + name + ": " + value);
/packages/services/Car/libvehiclemonitor/native/
H A DHandlerThread.cpp38 status_t HandlerThread::start(const char* name, int32_t priority, size_t stack) { argument
39 return run(name, priority, stack);
/packages/services/Telephony/src/com/android/phone/settings/
H A DVoicemailProviderListPreference.java49 public String name; field in class:VoicemailProviderListPreference.VoicemailProvider
52 public VoicemailProvider(String name, Intent intent) { argument
53 this.name = name;
58 return "[ Name: " + name + ", Intent: " + intent + " ]";
67 * They key in this map is package name + activity name.
128 final String key = currentActivityInfo.name;
137 Log.w(LOG_TAG, "Adding voicemail provider with no name for display.");
142 providerIntent.setClassName(currentActivityInfo.packageName, currentActivityInfo.name);
[all...]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
H A DTestResolveInfo.java27 activityInfo.name = "DocsUiTestActivity";
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/
H A DFilterStackDBHelper.java32 /** The table name */
34 /** The stack name */
46 public FilterStackDBHelper(Context context, String name, int version) { argument
47 super(context, name, null, version);
50 public FilterStackDBHelper(Context context, String name) { argument
51 this(context, name, DATABASE_VERSION);
/packages/apps/Settings/src/com/android/settings/vpn2/
H A DLegacyVpnPreference.java45 final String oldLabel = (mProfile != null ? mProfile.name : null);
46 final String newLabel = (profile != null ? profile.name : null);
60 (result = mProfile.name.compareToIgnoreCase(another.mProfile.name)) == 0 &&
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
H A DUserSettingsTest.java62 final String name = "John";
64 userInfo.name = name;
70 mActivity.getString(R.string.users_summary, name));
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
H A DActionFragment.java39 public static ActionFragment newInstance(ArrayList<Action> actions, String name) { argument
41 fragment.setArguments(BaseActionFragment.buildArgs(actions, name));
51 public static ActionFragment newInstance(ArrayList<Action> actions, String name, int index) { argument
53 fragment.setArguments(BaseActionFragment.buildArgs(actions, name, index));
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/name/
H A DDeviceNameSettingsActivity.java17 package com.android.tv.settings.name;
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/
H A DPrefixFileFilter.java29 * current directory whose name starts with <code>Test</code>:
152 String name = file.getName();
154 if (caseSensitivity.checkStartsWith(name, prefixes[i])) {
165 * @param name the filename
169 public boolean accept(File file, String name) { argument
171 if (caseSensitivity.checkStartsWith(name, prefixes[i])) {
H A DSuffixFileFilter.java153 String name = file.getName();
155 if (caseSensitivity.checkEndsWith(name, suffixes[i])) {
166 * @param name the filename
170 public boolean accept(File file, String name) { argument
172 if (caseSensitivity.checkEndsWith(name, suffixes[i])) {
H A DWildcardFileFilter.java147 * @param name the filename
151 public boolean accept(File dir, String name) { argument
153 if (FilenameUtils.wildcardMatch(name, wildcards[i], caseSensitivity)) {
168 String name = file.getName();
170 if (FilenameUtils.wildcardMatch(name, wildcards[i], caseSensitivity)) {
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
H A DKeyboardTextsSetTests.java89 for (final String name : TEXT_NAMES_FROM_RESOURCE) {
90 final String text = textsSet.getText(name);
91 assertNotNull(name + " of " + locale, text);
92 assertFalse(name + " of " + locale, text.isEmpty());
/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
H A DCachedNumberLookupService.java70 void setSource(ContactSource.Type sourceType, String name, long directoryId); argument
72 void setDirectorySource(String name, long directoryId); argument
74 void setExtendedSource(String name, long directoryId); argument
/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DInputMethodAndSubtypeEnabler.java54 private String getStringExtraFromIntentOrArguments(final String name) { argument
56 final String fromIntent = intent.getStringExtra(name);
61 return (arguments == null) ? null : arguments.getString(name);
/packages/apps/TV/src/com/android/tv/util/
H A DAccountHelper.java58 if (mSelectedAccount == null || !mSelectedAccount.name.equals((accountId))) {
61 if (account.name.equals(accountId)) {
108 defaultPreferences.edit().putString(SELECTED_ACCOUNT, account.name).commit();
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/
H A DTelecomUtils.java249 String name;
251 name = context.getResources().getString(R.string.voicemail);
253 name = getContactNameFromNumber(cr, number);
256 if (name == null) {
257 name = getFormattedNumber(context, number);
259 if (name == null && gatewayOriginalAddress != null) {
260 name = gatewayOriginalAddress.getSchemeSpecificPart();
262 if (name == null) {
263 name = context.getString(R.string.unknown);
265 sDisplayNameCache.put(number, name);
[all...]
/packages/apps/Contacts/src/com/android/contacts/
H A DAppCompatContactsActivity.java56 public SharedPreferences getSharedPreferences(String name, int mode) { argument
65 return super.getSharedPreferences(name, mode);
69 public Object getSystemService(String name) { argument
70 Object service = super.getSystemService(name);
75 return getApplicationContext().getSystemService(name);
H A DContactsActivity.java55 public SharedPreferences getSharedPreferences(String name, int mode) { argument
64 return super.getSharedPreferences(name, mode);
68 public Object getSystemService(String name) { argument
69 Object service = super.getSystemService(name);
74 return getApplicationContext().getSystemService(name);
H A DContactsApplication.java73 public SharedPreferences getSharedPreferences(String name, int mode) { argument
81 return super.getSharedPreferences(name, mode);
85 public Object getSystemService(String name) { argument
87 Object service = sInjectedServices.getSystemService(name);
93 return super.getSystemService(name);
/packages/apps/Contacts/tests/src/com/android/contacts/tests/
H A DContactsMatchers.java48 public static Matcher<Cursor> hasName(final String name) { argument
52 ContactsContract.CommonDataKinds.StructuredName.DISPLAY_NAME, name)));
127 public static Matcher<SimContact> isSimContactWithNameAndPhone(final String name, argument
136 return name.equals(other.getName())
142 description.appendText("SimContact with name=" + name + " and phone=" +

Completed in 423 milliseconds

1234567891011>>