Home
last modified time | relevance | path

Searched refs:getInt (Results 1 – 25 of 104) sorted by relevance

12345

/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DContentActivity.java22 mThemeId = extras.getInt("theme"); in onCreate()
25 mThemeId = savedInstanceState.getInt("theme"); in onCreate()
36 int category = extras.getInt("category"); in onCreate()
37 int position = extras.getInt("position"); in onCreate()
DCameraActivity.java27 int themeId = this.getIntent().getExtras().getInt("theme"); in onCreate()
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
DAlarm.java84 alarm.id = jsonObject.getInt("id"); in fromJson()
85 alarm.month = jsonObject.getInt("month"); in fromJson()
86 alarm.date = jsonObject.getInt("date"); in fromJson()
87 alarm.hour = jsonObject.getInt("hour"); in fromJson()
88 alarm.minute = jsonObject.getInt("minute"); in fromJson()
DAlarmUtil.java101 int id = extras.getInt(AlarmIntentService.KEY_ALARM_ID); in readAlarm()
102 int month = extras.getInt(AlarmIntentService.KEY_ALARM_MONTH); in readAlarm()
103 int date = extras.getInt(AlarmIntentService.KEY_ALARM_DATE); in readAlarm()
104 int hour = extras.getInt(AlarmIntentService.KEY_ALARM_HOUR); in readAlarm()
105 int minute = extras.getInt(AlarmIntentService.KEY_ALARM_MINUTE); in readAlarm()
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
DArticleActivity.java47 mCatIndex = getIntent().getExtras().getInt("catIndex", 0); in onCreate()
48 mArtIndex = getIntent().getExtras().getInt("artIndex", 0); in onCreate()
DNewsReaderActivity.java93 int catIndex = savedInstanceState == null ? 0 : savedInstanceState.getInt("catIndex", 0); in onCreate()
110 setNewsCategory(savedInstanceState.getInt("catIndex", 0)); in restoreSelection()
112 int artIndex = savedInstanceState.getInt("artIndex", 0); in restoreSelection()
/development/samples/USB/AdbTest/src/com/android/adb/
DAdbMessage.java74 return mMessageBuffer.getInt(0); in getCommand()
79 return mMessageBuffer.getInt(4); in getArg0()
84 return mMessageBuffer.getInt(8); in getArg1()
94 return mMessageBuffer.getInt(12); in getDataLength()
/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/
DPictureDetailsActivity.java81 bundle.getInt(PACKAGE_NAME + ".resourceId")); in onCreate()
83 final int thumbnailTop = bundle.getInt(PACKAGE_NAME + ".top"); in onCreate()
84 final int thumbnailLeft = bundle.getInt(PACKAGE_NAME + ".left"); in onCreate()
85 final int thumbnailWidth = bundle.getInt(PACKAGE_NAME + ".width"); in onCreate()
86 final int thumbnailHeight = bundle.getInt(PACKAGE_NAME + ".height"); in onCreate()
87 mOriginalOrientation = bundle.getInt(PACKAGE_NAME + ".orientation"); in onCreate()
/development/samples/training/basic/FragmentBasics/src/com/example/fragments/
DArticleFragment.java37 mCurrentPosition = savedInstanceState.getInt(ARG_POSITION); in onCreateView()
55 updateArticleView(args.getInt(ARG_POSITION)); in onStart()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DPersistentState.java104 int selectionStart = prefs.getInt("selection-start", -1); in onResume()
105 int selectionEnd = prefs.getInt("selection-end", -1); in onResume()
DFragmentStack.java60 mStackLevel = savedInstanceState.getInt("level"); in onCreate()
112 mNum = getArguments() != null ? getArguments().getInt("num") : 1; in onCreate()
DFragmentCustomAnimations.java58 mStackLevel = savedInstanceState.getInt("level"); in onCreate()
113 mNum = getArguments() != null ? getArguments().getInt("num") : 1; in onCreate()
DFragmentDialog.java56 mStackLevel = savedInstanceState.getInt("level"); in onCreate()
123 mNum = getArguments().getInt("num"); in onCreate()
/development/samples/training/device-management-policy/src/com/example/training/deviceadmin/
DPolicy.java90 mPasswordQuality = prefs.getInt(KEY_PASSWORD_QUALITY, -1); in readFromLocal()
91 mPasswordLength = prefs.getInt(KEY_PASSWORD_LENGTH, -1); in readFromLocal()
92 mPasswordMinUpperCase = prefs.getInt(KEY_PASSWORD_MIN_UPPERCASE, -1); in readFromLocal()
/development/samples/browseable/SlidingTabsColors/src/com.example.android.slidingtabscolors/
DContentFragment.java69 int indicatorColor = args.getInt(KEY_INDICATOR_COLOR); in onViewCreated()
74 int dividerColor = args.getInt(KEY_DIVIDER_COLOR); in onViewCreated()
/development/samples/browseable/DrawableTinting/src/com.example.android.drawabletinting/
DDrawableTintingFragment.java201 mBlendSpinner.setSelection(savedInstanceState.getInt(STATE_BLEND)); in onCreateView()
202 mAlphaBar.setProgress(savedInstanceState.getInt(STATE_ALPHA)); in onCreateView()
203 mRedBar.setProgress(savedInstanceState.getInt(STATE_RED)); in onCreateView()
204 mGreenBar.setProgress(savedInstanceState.getInt(STATE_GREEN)); in onCreateView()
205 mBlueBar.setProgress(savedInstanceState.getInt(STATE_BLUE)); in onCreateView()
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/
DWeatherWidgetProvider.java195 int temp = c.getInt(tempColIndex); in buildLayout()
220 int minWidth = newOptions.getInt(AppWidgetManager.OPTION_APPWIDGET_MIN_WIDTH); in onAppWidgetOptionsChanged()
221 int maxWidth = newOptions.getInt(AppWidgetManager.OPTION_APPWIDGET_MAX_WIDTH); in onAppWidgetOptionsChanged()
222 int minHeight = newOptions.getInt(AppWidgetManager.OPTION_APPWIDGET_MIN_HEIGHT); in onAppWidgetOptionsChanged()
223 int maxHeight = newOptions.getInt(AppWidgetManager.OPTION_APPWIDGET_MAX_HEIGHT); in onAppWidgetOptionsChanged()
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/
DGameView.java404 mSelectedCell = b.getInt("gv_sel_cell", -1);
405 mSelectedValue = State.fromInt(b.getInt("gv_sel_val", State.EMPTY.getValue()));
406 mCurrentPlayer = State.fromInt(b.getInt("gv_curr_play", State.EMPTY.getValue()));
407 mWinner = State.fromInt(b.getInt("gv_winner", State.EMPTY.getValue()));
409 mWinCol = b.getInt("gv_win_col", -1);
410 mWinRow = b.getInt("gv_win_row", -1);
411 mWinDiag = b.getInt("gv_win_diag", -1);
/development/samples/LunarLander/src/com/example/android/lunarlander/
DLunarView.java335 mDifficulty = savedState.getInt(KEY_DIFFICULTY); in restoreState()
342 mLanderWidth = savedState.getInt(KEY_LANDER_WIDTH); in restoreState()
343 mLanderHeight = savedState.getInt(KEY_LANDER_HEIGHT); in restoreState()
344 mGoalX = savedState.getInt(KEY_GOAL_X); in restoreState()
345 mGoalSpeed = savedState.getInt(KEY_GOAL_SPEED); in restoreState()
346 mGoalAngle = savedState.getInt(KEY_GOAL_ANGLE); in restoreState()
347 mGoalWidth = savedState.getInt(KEY_GOAL_WIDTH); in restoreState()
348 mWinsInARow = savedState.getInt(KEY_WINS); in restoreState()
810 mStatusText.setVisibility(m.getData().getInt("viz")); in LunarView()
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/
DQuizListenerService.java104 int questionIndex = dataMap.getInt(QUESTION_INDEX); in onDataChanged()
107 int correctAnswerIndex = dataMap.getInt(CORRECT_ANSWER_INDEX); in onDataChanged()
176 int numCorrect = dataMap.getInt(NUM_CORRECT); in onMessageReceived()
177 int numIncorrect = dataMap.getInt(NUM_INCORRECT); in onMessageReceived()
178 int numSkipped = dataMap.getInt(NUM_SKIPPED); in onMessageReceived()
/development/samples/browseable/JumpingJack/src/com.example.android.wearable.jumpingjack/
DUtils.java64 return pref.getInt(PREF_KEY_COUNTER, 0); in getCounterFromPreference()
/development/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/
DMessageDialogFragment.java46 .setMessage(getArguments().getInt(ARG_MESSAGE_RES_ID)) in onCreateDialog()
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
DScreenSlidePageFragment.java61 mPageNumber = getArguments().getInt(ARG_PAGE); in onCreate()
/development/samples/browseable/BasicNetworking/src/com.example.android.basicnetworking/
DSimpleTextFragment.java94 mTextId = args.getInt(TEXT_ID_KEY); in processArguments()
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
DMessageDialogFragment.java51 builder.setMessage(args.getInt(ARG_MESSAGE_INT)); in onCreateDialog()

12345