Home
last modified time | relevance | path

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

12

/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/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/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()
263 passwordLength = Integer.valueOf(mPasswordLengthInputField.getText().toString()); in writePolicy()
269 Integer.valueOf(mPasswordMinUppercaseInputField.getText().toString()); in writePolicy()
/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/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()
141 mLines[i].startPoint = Integer.valueOf(idx[0]); in readModel()
142 mLines[i].endPoint = Integer.valueOf(idx[1]); in readModel()
/development/samples/SampleSyncAdapter/tests/src/com/example/android/samplesync/client/
DUserTest.java46 User user = User.valueOf(jsonObj); in testValueOf()
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DLayoutAnimationsByDefault.java50 newButton.setText(String.valueOf(numButtons++)); in onCreate()
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
DMusicRetriever.java85 Log.i(TAG, "Title column index: " + String.valueOf(titleColumn)); in prepare()
86 Log.i(TAG, "ID column index: " + String.valueOf(titleColumn)); in prepare()
/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/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/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/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceNetworkViews.java399 if (Boolean.valueOf(args.get(0))) { in query()
401 } else if (!Boolean.valueOf(args.get(0))) { in query()
439 if (Boolean.valueOf(args.get(0))) { in query()
441 } else if (!Boolean.valueOf(args.get(0))) { in query()
/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/preference/
DMyPreference.java51 myTextView.setText(String.valueOf(mClickCounter)); in onBindView()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DPurgeableBitmapView.java105 canvas.drawText(String.valueOf(mDecodingCount), WIDTH / 2 - 20, in onDraw()
/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/training/multiscreen/newsreader/src/com/example/android/newsreader/
DNonsenseGenerator.java79 words.set(0, String.valueOf(Character.toUpperCase(words.get(0).charAt(0))) + in makeSentence()
/development/samples/training/bitmapfun/BitmapFun/src/main/java/com/example/android/bitmapfun/util/
DImageWorker.java83 value = mImageCache.getBitmapFromMemCache(String.valueOf(data)); in loadImage()
252 final String dataString = String.valueOf(data); in doInBackground()
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DSoftKeyboard.java489 getCurrentInputConnection().commitText(String.valueOf((char) keyCode), 1); in sendKey()
622 String.valueOf((char) primaryCode), 1); in handleCharacter()
648 return separators.contains(String.valueOf((char)code)); in isWordSeparator()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DDeviceAdminSample.java375 String.valueOf(DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED),
376 String.valueOf(DevicePolicyManager.PASSWORD_QUALITY_SOMETHING),
377 String.valueOf(DevicePolicyManager.PASSWORD_QUALITY_NUMERIC),
378 String.valueOf(DevicePolicyManager.PASSWORD_QUALITY_ALPHABETIC),
379 String.valueOf(DevicePolicyManager.PASSWORD_QUALITY_ALPHANUMERIC),
380 String.valueOf(DevicePolicyManager.PASSWORD_QUALITY_COMPLEX)

12