/development/samples/training/basic/ActivityLifecycle/src/com/example/android/lifecycle/ |
D | ActivityC.java | 42 mActivityName = getString(R.string.activity_c_label); in onCreate() 45 mStatusTracker.setStatus(mActivityName, getString(R.string.on_create)); in onCreate() 52 mStatusTracker.setStatus(mActivityName, getString(R.string.on_start)); in onStart() 59 mStatusTracker.setStatus(mActivityName, getString(R.string.on_restart)); in onRestart() 66 mStatusTracker.setStatus(mActivityName, getString(R.string.on_resume)); in onResume() 73 mStatusTracker.setStatus(mActivityName, getString(R.string.on_pause)); in onPause() 80 mStatusTracker.setStatus(mActivityName, getString(R.string.on_stop)); in onStop() 86 mStatusTracker.setStatus(mActivityName, getString(R.string.on_destroy)); in onDestroy()
|
D | ActivityA.java | 42 mActivityName = getString(R.string.activity_a); in onCreate() 45 mStatusTracker.setStatus(mActivityName, getString(R.string.on_create)); in onCreate() 52 mStatusTracker.setStatus(mActivityName, getString(R.string.on_start)); in onStart() 59 mStatusTracker.setStatus(mActivityName, getString(R.string.on_restart)); in onRestart() 66 mStatusTracker.setStatus(mActivityName, getString(R.string.on_resume)); in onResume() 73 mStatusTracker.setStatus(mActivityName, getString(R.string.on_pause)); in onPause() 80 mStatusTracker.setStatus(mActivityName, getString(R.string.on_stop)); in onStop() 86 mStatusTracker.setStatus(mActivityName, getString(R.string.on_destroy)); in onDestroy()
|
D | ActivityB.java | 42 mActivityName = getString(R.string.activity_b_label); in onCreate() 45 mStatusTracker.setStatus(mActivityName, getString(R.string.on_create)); in onCreate() 52 mStatusTracker.setStatus(mActivityName, getString(R.string.on_start)); in onStart() 59 mStatusTracker.setStatus(mActivityName, getString(R.string.on_restart)); in onRestart() 66 mStatusTracker.setStatus(mActivityName, getString(R.string.on_resume)); in onResume() 73 mStatusTracker.setStatus(mActivityName, getString(R.string.on_pause)); in onPause() 80 mStatusTracker.setStatus(mActivityName, getString(R.string.on_stop)); in onStop() 86 mStatusTracker.setStatus(mActivityName, getString(R.string.on_destroy)); in onDestroy()
|
/development/samples/training/notify-user/src/com/example/android/pingme/ |
D | PingService.java | 60 Log.d(CommonConstants.DEBUG_TAG, getString(R.string.snoozing)); in onHandleIntent() 62 issueNotification(intent, getString(R.string.done_snoozing)); in onHandleIntent() 87 .setContentTitle(getString(R.string.notification)) in issueNotification() 88 .setContentText(getString(R.string.ping)) in issueNotification() 100 getString(R.string.dismiss), piDismiss) in issueNotification() 102 getString(R.string.snooze), piSnooze); in issueNotification() 136 Log.d(CommonConstants.DEBUG_TAG, getString(R.string.timer_start)); in startTimer() 141 Log.d(CommonConstants.DEBUG_TAG, getString(R.string.sleep_error)); in startTimer() 143 Log.d(CommonConstants.DEBUG_TAG, getString(R.string.timer_finished)); in startTimer()
|
/development/samples/browseable/BasicContactables/src/com.example.android.basiccontactables/ |
D | ContactablesLoaderCallbacks.java | 55 String query = args.getString(QUERY_KEY); in onCreateLoader() 113 String currentLookupKey = cursor.getString(lookupColumnIndex); in onLoadFinished() 115 String displayName = cursor.getString(nameColumnIndex); in onLoadFinished() 123 String mimeType = cursor.getString(typeColumnIndex); in onLoadFinished() 125 tv.append("\tPhone Number: " + cursor.getString(phoneColumnIndex) + "\n"); in onLoadFinished() 127 tv.append("\tEmail Address: " + cursor.getString(emailColumnIndex) + "\n"); in onLoadFinished() 135 cursor.getString(cursor.getColumnIndex(column)) + "\n"); in onLoadFinished()
|
/development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/ |
D | MyCloudFragment.java | 80 Log.i(TAG, getString(mLoggedIn ? R.string.logged_in_info : R.string.logged_out_info)); in toggleLogin() 88 getActivity().getSharedPreferences(getString(R.string.app_name), in writeLoginValue() 90 sharedPreferences.edit().putBoolean(getString(R.string.key_logged_in), loggedIn).commit(); in writeLoginValue() 98 getActivity().getSharedPreferences(getString(R.string.app_name), in readLoginValue() 100 return sharedPreferences.getBoolean(getString(R.string.key_logged_in), false); in readLoginValue()
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/ |
D | RawContact.java | 208 final String userName = !contact.isNull("u") ? contact.getString("u") : null; in valueOf() 217 final String firstName = !contact.isNull("f") ? contact.getString("f") : null; in valueOf() 218 final String lastName = !contact.isNull("l") ? contact.getString("l") : null; in valueOf() 219 final String cellPhone = !contact.isNull("m") ? contact.getString("m") : null; in valueOf() 220 final String officePhone = !contact.isNull("o") ? contact.getString("o") : null; in valueOf() 221 final String homePhone = !contact.isNull("h") ? contact.getString("h") : null; in valueOf() 222 final String email = !contact.isNull("e") ? contact.getString("e") : null; in valueOf() 223 final String status = !contact.isNull("s") ? contact.getString("s") : null; in valueOf() 224 final String avatarUrl = !contact.isNull("a") ? contact.getString("a") : null; in valueOf()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | SeekBar1.java | 50 getString(R.string.seekbar_from_touch) + "=" + fromTouch); in onProgressChanged() 54 mTrackingText.setText(getString(R.string.seekbar_tracking_on)); in onStartTrackingTouch() 58 mTrackingText.setText(getString(R.string.seekbar_tracking_off)); in onStopTrackingTouch()
|
D | RadioGroup1.java | 54 String selection = getString(R.string.radio_group_selection); in onCreate() 65 String selection = getString(R.string.radio_group_selection); in onCheckedChanged() 66 String none = getString(R.string.radio_group_none); in onCheckedChanged()
|
D | HoverInterceptorView.java | 59 textView.setText(getResources().getString( in onHoverEvent() 63 textView.setText(getResources().getString( in onHoverEvent()
|
D | Hover.java | 80 mMessageTextView.setText(Hover.this.getResources().getString( in onCreate() 85 mMessageTextView.setText(Hover.this.getResources().getString( in onCreate() 90 mMessageTextView.setText(Hover.this.getResources().getString( in onCreate()
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
D | TriggerSensors.java | 61 mTextView.append(mContext.getString(R.string.sig_motion) + "\n"); in onTrigger() 62 mTextView.append(mContext.getString(R.string.sig_motion_auto_disabled) + "\n"); in onTrigger() 78 mTextView.append(getString(R.string.sig_motion_enabled) + "\n"); in onResume() 104 mTextView.append(getString(R.string.no_sig_motion) + "\n"); in onCreate()
|
D | SmsReceivedDialog.java | 53 mFromAddress = getIntent().getExtras().getString(SMS_FROM_ADDRESS_EXTRA); in onCreate() 54 mFromDisplayName = getIntent().getExtras().getString(SMS_FROM_DISPLAY_NAME_EXTRA); in onCreate() 55 mMessage = getIntent().getExtras().getString(SMS_MESSAGE_EXTRA); in onCreate() 58 getResources().getString(R.string.sms_speak_string_format), in onCreate()
|
/development/samples/browseable/NetworkConnect/src/com.example.android.networkconnect/ |
D | SimpleTextFragment.java | 76 getTextView().setText(getActivity().getString(stringId)); in setText() 90 mText = args.getString(TEXT_KEY); in processArguments() 94 mText = getString(mTextId); in processArguments()
|
/development/samples/browseable/BasicNetworking/src/com.example.android.basicnetworking/ |
D | SimpleTextFragment.java | 77 getTextView().setText(getActivity().getString(stringId)); in setText() 91 mText = args.getString(TEXT_KEY); in processArguments() 95 mText = getString(mTextId); in processArguments()
|
/development/apps/Development/src/com/android/development/ |
D | SyncAdapterDriver.java | 165 getString(R.string.status_starting_sync_format, accountName)); in startSync() 173 getString(R.string.status_remote_exception_while_starting_sync)); in startSync() 189 mStatusTextView.setText(getString(R.string.status_canceled_sync)); in cancelSync() 193 getString(R.string.status_remote_exception_while_canceling_sync)); in cancelSync() 235 mBoundAdapterTextView.setText(getString(R.string.binding_connected_format, in onServiceConnected() 241 mBoundAdapterTextView.setText(getString(R.string.binding_not_connected)); in onServiceDisconnected() 255 mStatusTextView.setText(getString(R.string.status_received_heartbeat)); in uiThreadSendHeartbeat() 261 getString(R.string.status_sync_failed_format, result.toString())); in uiThreadOnFinished() 264 getString(R.string.status_sync_succeeded_format, result.toString())); in uiThreadOnFinished() 283 mStatusTextView.setText(getString(R.string.status_already_bound)); in initiateBind() [all …]
|
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/ |
D | Notepadv3.java | 119 i.putExtra(NotesDbAdapter.KEY_TITLE, c.getString( in onListItemClick() 121 i.putExtra(NotesDbAdapter.KEY_BODY, c.getString( in onListItemClick() 132 String title = extras.getString(NotesDbAdapter.KEY_TITLE); in onActivityResult() 133 String body = extras.getString(NotesDbAdapter.KEY_BODY); in onActivityResult() 140 String editTitle = extras.getString(NotesDbAdapter.KEY_TITLE); in onActivityResult() 141 String editBody = extras.getString(NotesDbAdapter.KEY_BODY); in onActivityResult()
|
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/ |
D | Notepadv2.java | 119 i.putExtra(NotesDbAdapter.KEY_TITLE, c.getString( in onListItemClick() 121 i.putExtra(NotesDbAdapter.KEY_BODY, c.getString( in onListItemClick() 132 String title = extras.getString(NotesDbAdapter.KEY_TITLE); in onActivityResult() 133 String body = extras.getString(NotesDbAdapter.KEY_BODY); in onActivityResult() 140 String editTitle = extras.getString(NotesDbAdapter.KEY_TITLE); in onActivityResult() 141 String editBody = extras.getString(NotesDbAdapter.KEY_BODY); in onActivityResult()
|
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/ |
D | ExpandingCells.java | 50 getResources().getString(R.string.short_lorem_ipsum)), in onCreate() 52 getResources().getString(R.string.medium_lorem_ipsum)), in onCreate() 54 getResources().getString(R.string.long_lorem_ipsum)), in onCreate()
|
/development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/ |
D | MainActivity.java | 94 getString(R.string.na); in onResume() 100 mRestrictionsBundle.getString(GetRestrictionsReceiver.KEY_CHOICE) : in onResume() 101 getString(R.string.na); in onResume() 108 mMultiEntryValue.setText(getString(R.string.na)); in onResume()
|
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
D | MusicRetriever.java | 90 Log.i(TAG, "ID: " + cur.getString(idColumn) + " Title: " + cur.getString(titleColumn)); in prepare() 93 cur.getString(artistColumn), in prepare() 94 cur.getString(titleColumn), in prepare() 95 cur.getString(albumColumn), in prepare()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | DeviceAdminSample.java | 229 String message = mActivity.getString(R.string.reset_password_warning, newPassword); in doResetPassword() 239 return getString(R.string.status_local_global, local, global); in localGlobalSummary() 306 mActivity.getString(R.string.add_admin_extra_app_text)); in onPreferenceChange() 330 String cameraSummary = getString(mDPM.getCameraDisabled(mDeviceAdminSample) in reloadSummaries() 336 String keyguardWidgetSummary = getString( in reloadSummaries() 341 String keyguardSecureCameraSummary = getString( in reloadSummaries() 476 String warning = mActivity.getString(R.string.number_format_warning, valueString); in onPreferenceChange() 578 String warning = mActivity.getString(R.string.number_format_warning, valueString); in onPreferenceChange() 616 local = mActivity.getString(R.string.expiration_status_none); in getExpirationStatus() 621 local = mActivity.getString(R.string.expiration_status_future, dms); in getExpirationStatus() [all …]
|
/development/samples/browseable/BasicMediaRouter/src/com.example.android.basicmediarouter/ |
D | SamplePresentation.java | 62 smallText.setText(getResources().getString(R.string.display_name, name)); in onCreate() 74 String s = getResources().getString(R.string.display_color, color); in setColor()
|
/development/samples/BusinessCard/src/com/example/android/businesscard/ |
D | ContactAccessorSdk3_4.java | 61 contactInfo.setDisplayName(cursor.getString(0)); in loadContact() 73 contactInfo.setPhoneNumber(cursor.getString(0)); in loadContact()
|
D | ContactAccessorSdk5.java | 68 contactInfo.setDisplayName(cursor.getString(1)); in loadContact() 80 contactInfo.setPhoneNumber(cursor.getString(0)); in loadContact()
|