/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
D | ContentActivity.java | 22 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()
|
D | CameraActivity.java | 27 int themeId = this.getIntent().getExtras().getInt("theme"); in onCreate()
|
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/ |
D | Alarm.java | 84 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()
|
D | AlarmUtil.java | 101 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/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/ |
D | PictureDetailsActivity.java | 81 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/USB/AdbTest/src/com/android/adb/ |
D | AdbMessage.java | 74 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/LunarLander/src/com/example/android/lunarlander/ |
D | LunarView.java | 335 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/DrawableTinting/src/com.example.android.drawabletinting/ |
D | DrawableTintingFragment.java | 201 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/TicTacToeLib/src/com/example/android/tictactoe/library/ |
D | GameView.java | 404 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/WeatherListWidget/src/com/example/android/weatherlistwidget/ |
D | WeatherWidgetProvider.java | 195 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/training/device-management-policy/src/com/example/training/deviceadmin/ |
D | Policy.java | 90 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/training/multiscreen/newsreader/src/com/example/android/newsreader/ |
D | ArticleActivity.java | 47 mCatIndex = getIntent().getExtras().getInt("catIndex", 0); in onCreate() 48 mArtIndex = getIntent().getExtras().getInt("artIndex", 0); in onCreate()
|
D | NewsReaderActivity.java | 93 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/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/ |
D | QuizListenerService.java | 104 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/training/basic/FragmentBasics/src/com/example/fragments/ |
D | ArticleFragment.java | 37 mCurrentPosition = savedInstanceState.getInt(ARG_POSITION); in onCreateView() 55 updateArticleView(args.getInt(ARG_POSITION)); in onStart()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | PersistentState.java | 104 int selectionStart = prefs.getInt("selection-start", -1); in onResume() 105 int selectionEnd = prefs.getInt("selection-end", -1); in onResume()
|
D | FragmentStack.java | 60 mStackLevel = savedInstanceState.getInt("level"); in onCreate() 112 mNum = getArguments() != null ? getArguments().getInt("num") : 1; in onCreate()
|
D | FragmentCustomAnimations.java | 58 mStackLevel = savedInstanceState.getInt("level"); in onCreate() 113 mNum = getArguments() != null ? getArguments().getInt("num") : 1; in onCreate()
|
D | FragmentDialog.java | 56 mStackLevel = savedInstanceState.getInt("level"); in onCreate() 123 mNum = getArguments().getInt("num"); in onCreate()
|
D | FragmentLayout.java | 108 mCurCheckPosition = savedInstanceState.getInt("curChoice", 0); in onActivityCreated() 196 return getArguments().getInt("index", 0); in getShownIndex()
|
/development/samples/browseable/SlidingTabsColors/src/com.example.android.slidingtabscolors/ |
D | ContentFragment.java | 69 int indicatorColor = args.getInt(KEY_INDICATOR_COLOR); in onViewCreated() 74 int dividerColor = args.getInt(KEY_DIVIDER_COLOR); in onViewCreated()
|
/development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/ |
D | MainActivity.java | 235 int correctIndex = questionObject.getInt(JsonUtils.JSON_FIELD_CORRECT_INDEX); in fromJson() 343 int questionIndex = dataMap.getInt(QUESTION_INDEX); in onDataChanged() 349 int questionIndex = dataMap.getInt(QUESTION_INDEX); in onDataChanged() 499 if (!mHasQuestionBeenAsked && dataMap.getInt(QUESTION_INDEX) == 0) { in onResult() 509 dataMap.getInt(QUESTION_INDEX), dataMap.getStringArray(ANSWERS), in onResult() 510 dataMap.getInt(CORRECT_ANSWER_INDEX))); in onResult()
|
/development/samples/IntentPlayground/src/com/example/android/intentplayground/ |
D | FlagUtils.java | 57 return (flags & f.getInt(intent)) > 0; in discoverFlags() 146 return sIntentClass.getField(flagName).getInt(sIntent); 268 return (flags & f.getInt(activity)) > 0;
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/model/ |
D | MusicProvider.java | 257 int trackNumber = json.getInt(JSON_TRACK_NUMBER); in buildFromJSON() 258 int totalTrackCount = json.getInt(JSON_TOTAL_TRACK_COUNT); in buildFromJSON() 259 int duration = json.getInt(JSON_DURATION) * 1000; // ms in buildFromJSON()
|
/development/samples/ToyVpn/src/com/example/android/toyvpn/ |
D | ToyVpnService.java | 110 final int port = prefs.getInt(ToyVpnClient.Prefs.SERVER_PORT, 0); in connect() 112 final int proxyPort = prefs.getInt(ToyVpnClient.Prefs.PROXY_PORT, 0); in connect()
|