Home
last modified time | relevance | path

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

123

/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/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/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()
/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/TextSwitcher/src/com.example.android.textswitcher/
DMainActivity.java76 mSwitcher.setText(String.valueOf(mCounter)); in onCreate()
82 mSwitcher.setCurrentText(String.valueOf(mCounter)); in onCreate()
/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/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/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/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/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/apps/SettingInjectorSample/src/com/example/android/injector/
DUpdatingInjectorService.java42 return String.valueOf(System.currentTimeMillis()); in onGetSummary()
/development/tools/logblame/
Dsample.txt9 Integer.valueOf will not be optimized
17 Integer.valueOf will not be optimized
125 Integer.valueOf will not be optimized
288 Integer.valueOf will not be optimized
444 Integer.valueOf will not be optimized
450 Integer.valueOf will not be optimized
457 Integer.valueOf will not be optimized
584 Integer.valueOf will not be optimized
626 Integer.valueOf will not be optimized
1010 Integer.valueOf will not be optimized
[all …]
/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/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/app/
DDeviceAdminSample.java532 String.valueOf(DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED),
533 String.valueOf(DevicePolicyManager.PASSWORD_QUALITY_SOMETHING),
534 String.valueOf(DevicePolicyManager.PASSWORD_QUALITY_NUMERIC),
535 String.valueOf(DevicePolicyManager.PASSWORD_QUALITY_NUMERIC_COMPLEX),
536 String.valueOf(DevicePolicyManager.PASSWORD_QUALITY_ALPHABETIC),
537 String.valueOf(DevicePolicyManager.PASSWORD_QUALITY_ALPHANUMERIC),
538 String.valueOf(DevicePolicyManager.PASSWORD_QUALITY_COMPLEX)
/development/apps/Development/src/com/android/development/
DMediaScannerActivity.java78 mNumToInsert = Integer.valueOf(text); in onCreate()
130 String label = getString(R.string.insertbutton, Integer.valueOf(mNumToInsert)); in setInsertButtonText()
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DLayoutAnimationsByDefault.java50 newButton.setText(String.valueOf(numButtons++)); in onCreate()
/development/samples/training/ContactsList/src/com/example/android/contactslist/util/
DImageLoader.java81 bitmap = mImageCache.getBitmapFromMemCache(String.valueOf(data)); in loadImage()
209 final String dataString = String.valueOf(data); in doInBackground()
/development/samples/VoiceRecognitionService/src/com/example/android/voicerecognitionservice/
DVoiceRecognitionService.java54 String.valueOf(VoiceRecognitionSettings.RESULT_TYPE_LETTERS)); in onStartListening()
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
DChatManager.java50 Log.d(TAG, "Rec:" + String.valueOf(buffer)); in run()
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DSoftKeyboard.java528 getCurrentInputConnection().commitText(String.valueOf((char) keyCode), 1); in sendKey()
661 String.valueOf((char) primaryCode), 1); in handleCharacter()
703 return separators.contains(String.valueOf((char)code)); in isWordSeparator()

123