/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
Utils.java | 56 sb.append(context.getString(R.string.battery_history_days, 59 sb.append(context.getString(R.string.battery_history_hours, hours, minutes, seconds)); 61 sb.append(context.getString(R.string.battery_history_minutes, minutes, seconds)); 63 sb.append(context.getString(R.string.battery_history_seconds, seconds));
|
/tools/motodev/src/plugins/logger.collector/src/com/motorola/studio/android/logger/collector/ui/wizard/ |
LoggerCollectorWizard.java | 45 setWindowTitle(LoggerCollectorMessages.getInstance().getString( 94 LoggerCollectorMessages.getInstance().getString( 96 LoggerCollectorMessages.getInstance().getString( 104 .getString("logger.collector.wizard.page.title"), //$NON-NLS-1$
|
/tools/motodev/src/plugins/logger.collector/src/com/motorola/studio/android/logger/collector/util/ |
LoggerCollectorMessages.java | 89 public String getString(String key)
94 .getString(((this.clazz == null) ? "" : (this.clazz.getName() + ".")) + key); //$NON-NLS-1$ //$NON-NLS-2$
110 public String getString(String key, Object... arguments)
115 bundle.getString(((this.clazz == null) ? "" : (this.clazz.getName() + ".")) + key); //$NON-NLS-1$ //$NON-NLS-2$
|
/packages/apps/Mms/src/com/android/mms/ui/ |
AttachmentTypeSelectorAdapter.java | 54 addItem(data, context.getString(R.string.attach_image), 57 addItem(data, context.getString(R.string.attach_take_photo), 60 addItem(data, context.getString(R.string.attach_video), 63 addItem(data, context.getString(R.string.attach_record_video), 67 addItem(data, context.getString(R.string.attach_sound), 71 addItem(data, context.getString(R.string.attach_record_sound), 75 addItem(data, context.getString(R.string.attach_slideshow),
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
ConnectReqTestCase.java | 96 mReason = mContext.getString(R.string.p2p_discover_peers_error); 102 mReason = mContext.getString(R.string.p2p_target_not_found_error); 108 mReason = mContext.getString(R.string.p2p_target_invalid_role_error); 112 mReason = mContext.getString(R.string.p2p_target_invalid_role_error2); 130 mReason = mContext.getString(R.string.p2p_connect_error); 139 mReason = mContext.getString(R.string.p2p_connection_error); 148 mReason = mContext.getString(R.string.p2p_connection_error); 157 mReason = mContext.getString(R.string.p2p_remove_group_error); 168 mReason = mContext.getString(R.string.p2p_connection_error); 175 mReason = mContext.getString(R.string.p2p_detect_disconnection_error) [all...] |
GoTestCase.java | 54 mReason = mContext.getString(R.string.p2p_add_local_service_error); 64 mReason = mContext.getString(R.string.p2p_add_local_service_error); 74 mReason = mContext.getString(R.string.p2p_add_local_service_error); 83 mReason = mContext.getString(R.string.p2p_ceate_group_error); 92 mReason = mContext.getString(R.string.p2p_ceate_group_error);
|
ServReqRemoveRequestTestCase.java | 57 mReason = mContext.getString(R.string.p2p_add_service_request_error); 62 mReason = mContext.getString(R.string.p2p_add_service_request_error); 67 mReason = mContext.getString(R.string.p2p_add_service_request_error); 72 mReason = mContext.getString(R.string.p2p_add_service_request_error); 81 mReason = mContext.getString(R.string.p2p_remove_service_request_error); 86 mReason = mContext.getString(R.string.p2p_remove_service_request_error); 91 mReason = mContext.getString(R.string.p2p_remove_service_request_error); 113 mReason = mContext.getString(R.string.p2p_discover_services_error);
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
StreamItemEntry.java | 87 mText = getString(cursor, StreamItems.TEXT); 88 mComments = getString(cursor, StreamItems.COMMENTS); 90 mAccountType = getString(cursor, StreamItems.ACCOUNT_TYPE); 91 mAccountName = getString(cursor, StreamItems.ACCOUNT_NAME); 92 mDataSet = getString(cursor, StreamItems.DATA_SET); 93 mResPackage = getString(cursor, StreamItems.RES_PACKAGE); 94 mIconRes = getString(cursor, StreamItems.RES_ICON); 95 mLabelRes = getString(cursor, StreamItems.RES_LABEL); 186 private static String getString(Cursor cursor, String columnName) { 187 return cursor.getString(cursor.getColumnIndex(columnName)) [all...] |
/cts/tests/tests/preference2/src/android/preference2/cts/ |
DialogPreferenceTest.java | 45 String titleExp = mActivity.getResources().getString(R.string.title_dialog_preference); 51 String titleExp = mActivity.getResources().getString( 64 CharSequence dialogMessageExp = mActivity.getResources().getString( 71 CharSequence postiveButtonTextExp = mActivity.getResources().getString( 78 CharSequence negativeButtonTextExp = mActivity.getResources().getString(
|
SwitchPreferenceTest.java | 47 String titleExp = mResources.getString(R.string.title_switch_preference); 53 String summaryExp = mResources.getString(R.string.summary_switch_preference); 59 String summaryOnExp = mResources.getString( 66 String summaryOffExp = mResources.getString( 83 final CharSequence switchOffExp = mResources.getString( 101 final CharSequence switchOnExp = mResources.getString(
|
/packages/apps/Calendar/src/com/android/calendar/ |
EventRecurrenceFormatter.java | 32 return r.getString(R.string.daily); 35 return r.getString(R.string.every_weekday); 37 String format = r.getString(R.string.weekly); 66 return r.getString(R.string.monthly); 69 return r.getString(R.string.yearly_plain);
|
/packages/apps/Phone/src/com/android/phone/sip/ |
SipSharedPreferences.java | 58 return mPreferences.getString(KEY_PRIMARY_ACCOUNT, null); 63 mPreferences.getString(KEY_PRIMARY_ACCOUNT, null)); 68 mPreferences.getString(KEY_PRIMARY_ACCOUNT, null)); 87 String option = Settings.System.getString(mContext.getContentResolver(), 90 : mContext.getString(R.string.sip_address_only);
|
/packages/apps/Settings/src/com/android/settings/ |
BatteryInfo.java | 88 + getString(R.string.battery_info_voltage_units)); 90 + getString(R.string.battery_info_temperature_units)); 97 mPower.setText(getString(R.string.battery_info_power_unplugged)); 100 mPower.setText(getString(R.string.battery_info_power_ac)); 103 mPower.setText(getString(R.string.battery_info_power_usb)); 106 mPower.setText(getString(R.string.battery_info_power_wireless)); 109 mPower.setText(getString(R.string.battery_info_power_ac_usb)); 112 mPower.setText(getString(R.string.battery_info_power_unknown)); 119 healthString = getString(R.string.battery_info_health_good); 121 healthString = getString(R.string.battery_info_health_overheat) [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_bugzilla/org/eclipse/releng/services/bugzilla/ |
UpdateBugStateTask.java | 246 throw new BuildException(Messages.getString("UpdateBugStateTask.invalidStatus") + "!" + SP + //$NON-NLS-1$ //$NON-NLS-2$ 247 Messages.getString("UpdateBugStateTask.expectedOne") + SP + BZ_UC + CS + BZ_NEW + CS + BZ_AS + CSO + BZ_RE); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ 269 System.err.println(Messages.getString("UpdateBugStateTask.invalidResolution") + "!" + SP + //$NON-NLS-1$ //$NON-NLS-2$ 270 Messages.getString("UpdateBugStateTask.expected") //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ 272 + "(" + Messages.getString("UpdateBugStateTask.default") + COLON + SP + BZ_FX + ")"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ 286 throw new BuildException(Messages.getString("UpdateBugStateTask.invalidTimestamp") + COLON + SP + t + "!"); //$NON-NLS-1$ //$NON-NLS-2$ 300 throw new BuildException(Messages.getString("UpdateBugStateTask.invalidBuildID") + COLON + SP + t + "!"); //$NON-NLS-1$ //$NON-NLS-2$ 318 throw new BuildException(Messages.getString("UpdateBugStateTask.expectingLogin") + "!"); //$NON-NLS-1$ //$NON-NLS-2$ 322 throw new BuildException(Messages.getString("UpdateBugStateTask.expectingLogincookie") + "!"); //$NON-NLS-1$ //$NON-NLS-2$ 326 throw new BuildException(Messages.getString("UpdateBugStateTask.expectingStatus") + "!"); //$NON-NLS-1$ //$NON-NLS-2 [all...] |
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityFocusAndInputFocusSyncTest.java | 57 .findAccessibilityNodeInfoByTextFromRoot(getString(R.string.firstEditText)); 87 .findAccessibilityNodeInfoByTextFromRoot(getString(R.string.rootLinearLayout)); 97 .findAccessibilityNodeInfoByTextFromRoot(getString(R.string.rootLinearLayout)); 108 .findAccessibilityNodeInfoByTextFromRoot(getString(R.string.rootLinearLayout)); 117 .findAccessibilityNodeInfoByTextFromRoot(getString(R.string.rootLinearLayout)); 129 .findAccessibilityNodeInfoByTextFromRoot(getString(R.string.rootLinearLayout)); 139 .findAccessibilityNodeInfoByTextFromRoot(getString(R.string.firstEditText)); 154 .findAccessibilityNodeInfoByTextFromRoot(getString(R.string.secondEditText)); 169 .findAccessibilityNodeInfoByTextFromRoot(getString(R.string.secondEditText));
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_rss/org/eclipse/releng/generators/rss/ |
RSSFeedCreateFeedTask.java | 59 { System.err.println(Messages.getString("RSSFeedCommon.FileError")); } //$NON-NLS-1$ 65 { System.err.println(Messages.getString("RSSFeedCommon.ProjectError")); } //$NON-NLS-1$ 71 { System.err.println(Messages.getString("RSSFeedCommon.FeedURLError")); } //$NON-NLS-1$ 79 System.out.println(Messages.getString("RSSFeedCreateFeedTask.Creating") + project + SP + Messages.getString("RSSFeedCommon.RSSFeedFile") + SP + file.toString() + ", " + Messages.getString("RSSFeedCommon.ToBePublishedAt") + feedURL); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ 91 sb.append(" <title>" + project + SP + Messages.getString("RSSFeedCreateFeedTask.Builds") + "</title>" + NL); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ 95 sb.append(" <name>" + (!isNullString(project)?project + SP : NS) + Messages.getString("RSSFeedCreateFeedTask.BuildTeam") + "</name>" + NL); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ 109 System.out.println(Messages.getString("RSSFeedCreateFeedTask.UnableToWriteToFile")+file); //$NON-NLS-1$
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppTransferActivity.java | 215 mPara.mTitle = getString(R.string.download_title); 218 mPara.mPositiveButtonText = getString(R.string.download_ok); 220 mPara.mNegativeButtonText = getString(R.string.download_cancel); 223 mPara.mPositiveButtonText = getString(R.string.download_succ_ok); 227 mPara.mPositiveButtonText = getString(R.string.download_fail_ok); 230 mPara.mPositiveButtonText = getString(R.string.upload_succ_ok); 234 mPara.mPositiveButtonText = getString(R.string.upload_fail_ok); 236 mPara.mNegativeButtonText = getString(R.string.upload_fail_cancel); 268 tmp = getString(R.string.download_line1, mTransInfo.mDeviceName); 271 tmp = getString(R.string.download_line2, mTransInfo.mFileName) [all...] |
BluetoothOppUtility.java | 84 info.mDestAddr = cursor.getString(cursor 87 info.mFileName = cursor.getString(cursor 90 info.mFileName = cursor.getString(cursor 94 info.mFileName = context.getString(R.string.unknown_file); 97 info.mFileUri = cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare.URI)); 107 info.mFileType = cursor.getString(cursor 150 String fileName = metadataCursor.getString(0); 178 in.putExtra("title", context.getString(R.string.not_exist_file)); 179 in.putExtra("content", context.getString(R.string.not_exist_file_desc)); 209 in.putExtra("title", context.getString(R.string.unknown_file)) [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
UserDictionary_WordsTest.java | 73 cursor.getString(ID_INDEX))); 76 assertEquals(word, cursor.getString(WORD_INDEX)); 78 assertNull(cursor.getString(LOCALE_INDEX)); 97 cursor.getString(ID_INDEX))); 100 assertEquals(word, cursor.getString(WORD_INDEX)); 102 assertEquals(locale.toString(), cursor.getString(LOCALE_INDEX));
|
/frameworks/base/core/java/android/preference/ |
SwitchPreference.java | 70 setSummaryOn(a.getString(com.android.internal.R.styleable.SwitchPreference_summaryOn)); 71 setSummaryOff(a.getString(com.android.internal.R.styleable.SwitchPreference_summaryOff)); 72 setSwitchTextOn(a.getString( 74 setSwitchTextOff(a.getString( 150 setSwitchTextOn(getContext().getString(resId)); 160 setSwitchTextOff(getContext().getString(resId));
|
/sdk/monkeyrunner/src/com/android/monkeyrunner/ |
MonkeyDevice.java | 103 return impl.getProperty(ap.getString(0)); 114 return impl.getSystemProperty(ap.getString(0)); 129 TouchPressType type = TouchPressType.fromIdentifier(ap.getString(2)); 132 ap.getString(2))); 183 String name = ap.getString(0); 184 String touchType = ap.getString(1, DOWN_AND_UP); 204 String message = ap.getString(0); 216 String cmd = ap.getString(0); 227 String into = ap.getString(0, null); 241 String path = ap.getString(0) [all...] |
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
BiDiTestView.java | 74 NORMAL_TEXT = context.getString(R.string.normal_text); 75 NORMAL_LONG_TEXT = context.getString(R.string.normal_long_text); 76 NORMAL_LONG_TEXT_2 = context.getString(R.string.normal_long_text_2); 77 NORMAL_LONG_TEXT_3 = context.getString(R.string.normal_long_text_3); 78 ITALIC_TEXT = context.getString(R.string.italic_text); 79 BOLD_TEXT = context.getString(R.string.bold_text); 80 BOLD_ITALIC_TEXT = context.getString(R.string.bold_italic_text); 81 ARABIC_TEXT = context.getString(R.string.arabic_text); 82 CHINESE_TEXT = context.getString(R.string.chinese_text); 83 MIXED_TEXT_1 = context.getString(R.string.mixed_text_1) [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
AccessPoint.java | 101 return concise ? context.getString(R.string.wifi_security_short_eap) : 102 context.getString(R.string.wifi_security_eap); 106 return concise ? context.getString(R.string.wifi_security_short_wpa) : 107 context.getString(R.string.wifi_security_wpa); 109 return concise ? context.getString(R.string.wifi_security_short_wpa2) : 110 context.getString(R.string.wifi_security_wpa2); 112 return concise ? context.getString(R.string.wifi_security_short_wpa_wpa2) : 113 context.getString(R.string.wifi_security_wpa_wpa2); 116 return concise ? context.getString(R.string.wifi_security_short_psk_generic) 117 : context.getString(R.string.wifi_security_psk_generic) [all...] |
/cts/tests/tests/holo/src/android/holo/cts/modifiers/ |
SearchViewModifier.java | 43 searchView.setQueryHint(context.getString(R.string.searchview_query_hint)); 47 searchView.setQuery(context.getString(R.string.searchview_query), false);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
HoverInterceptorView.java | 59 textView.setText(getResources().getString( 63 textView.setText(getResources().getString(
|