Home
last modified time | relevance | path

Searched refs:valueOf (Results 1 – 25 of 76) sorted by relevance

1234

/development/samples/LunarLander/src/com/example/android/lunarlander/
DLunarView.java389 map.putInt(KEY_DIFFICULTY, Integer.valueOf(mDifficulty)); in saveState()
390 map.putDouble(KEY_X, Double.valueOf(mX)); in saveState()
391 map.putDouble(KEY_Y, Double.valueOf(mY)); in saveState()
392 map.putDouble(KEY_DX, Double.valueOf(mDX)); in saveState()
393 map.putDouble(KEY_DY, Double.valueOf(mDY)); in saveState()
394 map.putDouble(KEY_HEADING, Double.valueOf(mHeading)); in saveState()
395 map.putInt(KEY_LANDER_WIDTH, Integer.valueOf(mLanderWidth)); in saveState()
397 .valueOf(mLanderHeight)); in saveState()
398 map.putInt(KEY_GOAL_X, Integer.valueOf(mGoalX)); in saveState()
399 map.putInt(KEY_GOAL_SPEED, Integer.valueOf(mGoalSpeed)); in saveState()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/view/
DDateWidgets2.java63 return String.valueOf(c); in pad()
65 return "0" + String.valueOf(c); in pad()
DDateWidgets1.java152 return String.valueOf(c); in pad()
154 return "0" + String.valueOf(c); in pad()
DTextSwitcher1.java70 mSwitcher.setText(String.valueOf(mCounter)); in updateCounter()
/development/samples/browseable/TextSwitcher/src/com.example.android.textswitcher/
DMainActivity.java76 mSwitcher.setText(String.valueOf(mCounter)); in onCreate()
82 mSwitcher.setCurrentText(String.valueOf(mCounter)); in onCreate()
/development/apps/SettingInjectorSample/src/com/example/android/injector/
DUpdatingInjectorService.java42 return String.valueOf(System.currentTimeMillis()); in onGetSummary()
/development/samples/browseable/AutoBackupForApps/src/com.example.android.autobackupsample/
DAddFileActivity.java125 mFileStorage = FileStorage.valueOf(fileStorageParamValue); in onResume()
174 createFileWithRandomDataAndFinishActivity(fileName, mFileStorage, String.valueOf(fileSize)); in onCreateFileButtonClick()
224 long size = Long.valueOf(sizeInBytes); in createFileWithRandomDataAndFinishActivity()
302 sizeInBytes = Long.valueOf(sizeInBytesParamValue); in isSizeValid()
322 mFileStorage = FileStorage.valueOf(fileStorage); in isFileStorageParamValid()
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
DAlarmStorage.java77 editor.putString(String.valueOf(alarm.id), alarm.toJson()); in saveAlarm()
108 editor.remove(String.valueOf(alarm.id)); in deleteAlarm()
/development/samples/training/device-management-policy/src/com/example/training/deviceadmin/
DPolicySetupActivity.java147 mPasswordLengthInputField.setText(String.valueOf(mPolicy.getPasswordLength())); in initPolicySetupScreen()
154 String.valueOf(mPolicy.getPasswordMinUpperCase())); in initPolicySetupScreen()
170 passwordLengthView.setText(String.valueOf(mPolicy.getPasswordLength())); in initViewPolicyScreen()
176 String.valueOf(mPolicy.getPasswordMinUpperCase())); in initViewPolicyScreen()
/development/samples/browseable/JobScheduler/src/com.example.android.jobscheduler/
DMainActivity.java128 builder.setMinimumLatency(Long.valueOf(delay) * 1000); in scheduleJob()
132 builder.setOverrideDeadline(Long.valueOf(deadline) * 1000); in scheduleJob()
150 extras.putLong(WORK_DURATION_KEY, Long.valueOf(workDuration) * 1000); in scheduleJob()
260 String jobIdText = String.valueOf(jobId); in updateParamsTextView()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DInteractiveWatchFaceService.java203 "TAP: " + String.valueOf(mTapCommandTotal), in onDraw()
209 "CANCEL: " + String.valueOf(mTouchCancelCommandTotal), in onDraw()
215 "TOUCH: " + String.valueOf(mTouchCommandTotal), in onDraw()
/development/samples/SampleSyncAdapter/tests/src/com/example/android/samplesync/client/
DUserTest.java46 User user = User.valueOf(jsonObj); in testValueOf()
/development/samples/browseable/DocumentCentricApps/src/com.example.android.documentcentricapps/
DNewDocumentActivity.java69 .setText(String.format(getString(resId), String.valueOf(mDocumentCount))); in setDocumentCounterText()
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DLayoutAnimationsByDefault.java50 newButton.setText(String.valueOf(numButtons++)); in onCreate()
/development/samples/Snake/src/com/example/android/snake/
DSnakeView.java210 map.putInt("mDirection", Integer.valueOf(mDirection)); in saveState()
211 map.putInt("mNextDirection", Integer.valueOf(mNextDirection)); in saveState()
212 map.putLong("mMoveDelay", Long.valueOf(mMoveDelay)); in saveState()
213 map.putLong("mScore", Long.valueOf(mScore)); in saveState()
/development/samples/VoiceRecognitionService/src/com/example/android/voicerecognitionservice/
DVoiceRecognitionService.java54 String.valueOf(VoiceRecognitionSettings.RESULT_TYPE_LETTERS)); in onStartListening()
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/
DCubeWallpaper2.java129 mOriginalPoints[i].x = Float.valueOf(coord[0]); in readModel()
130 mOriginalPoints[i].y = Float.valueOf(coord[1]); in readModel()
131 mOriginalPoints[i].z = Float.valueOf(coord[2]); in readModel()
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
DChatManager.java50 Log.d(TAG, "Rec:" + String.valueOf(buffer)); in run()
/development/samples/training/basic/ActivityLifecycle/
Dproguard.cfg35 public static ** valueOf(java.lang.String);
/development/samples/training/multiscreen/newsreader/
Dproguard.cfg35 public static ** valueOf(java.lang.String);
/development/samples/ToyVpn/src/com/example/android/toyvpn/
DToyVpnClient.java62 serverPort.setText(String.valueOf(serverPortPrefValue == 0 ? "" : serverPortPrefValue)); in onCreate()
66 proxyPort.setText(proxyPortPrefValue == 0 ? "" : String.valueOf(proxyPortPrefValue)); in onCreate()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceNetworkViews.java400 if (Boolean.valueOf(args.get(0))) { in query()
402 } else if (!Boolean.valueOf(args.get(0))) { in query()
440 if (Boolean.valueOf(args.get(0))) { in query()
442 } else if (!Boolean.valueOf(args.get(0))) { in query()
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/
DQuizListenerService.java185 appendColored(quizReportText, String.valueOf(numCorrect), R.color.dark_green); in onMessageReceived()
187 appendColored(quizReportText, String.valueOf(numIncorrect), R.color.dark_red); in onMessageReceived()
189 appendColored(quizReportText, String.valueOf(numSkipped), R.color.dark_yellow); in onMessageReceived()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
DMediaIDHelper.java89 return mediaID.split(String.valueOf(CATEGORY_SEPARATOR)); in getHierarchy()
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.slidingtabsbasic/
DSlidingTabsBasicFragment.java141 title.setText(String.valueOf(position + 1)); in instantiateItem()

1234