Home
last modified time | relevance | path

Searched refs:outState (Results 1 – 25 of 51) sorted by relevance

123

/development/samples/training/threadsample/src/com/example/android/threadsample/
DPhotoTask.java250 int outState; in handleDownloadState() local
255 outState = PhotoManager.DOWNLOAD_COMPLETE; in handleDownloadState()
258 outState = PhotoManager.DOWNLOAD_FAILED; in handleDownloadState()
261 outState = PhotoManager.DOWNLOAD_STARTED; in handleDownloadState()
265 handleState(outState); in handleDownloadState()
280 int outState; in handleDecodeState() local
285 outState = PhotoManager.TASK_COMPLETE; in handleDecodeState()
288 outState = PhotoManager.DOWNLOAD_FAILED; in handleDecodeState()
291 outState = PhotoManager.DECODE_STARTED; in handleDecodeState()
296 handleState(outState); in handleDecodeState()
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/
DTabCompatActivity.java45 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
46 super.onSaveInstanceState(outState); in onSaveInstanceState()
47 mTabHelper.onSaveInstanceState(outState); in onSaveInstanceState()
DTabHelperHoneycomb.java72 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
74 outState.putInt("tab_position", position); in onSaveInstanceState()
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DContentActivity.java44 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
45 super.onSaveInstanceState(outState); in onSaveInstanceState()
46 outState.putInt("theme", mThemeId); in onSaveInstanceState()
DTitlesFragment.java178 public void onSaveInstanceState (Bundle outState) { in onSaveInstanceState() argument
179 super.onSaveInstanceState(outState); in onSaveInstanceState()
180 outState.putInt("listPosition", mCurPosition); in onSaveInstanceState()
181 outState.putInt("category", mCategory); in onSaveInstanceState()
/development/samples/training/basic/FragmentBasics/src/com/example/fragments/
DArticleFragment.java69 public void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
70 super.onSaveInstanceState(outState); in onSaveInstanceState()
73 outState.putInt(ARG_POSITION, mCurrentPosition); in onSaveInstanceState()
/development/samples/MultiResolution/src/com/example/android/multires/
DMultiRes.java54 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
55 outState.putInt("photo_index", mCurrentPhotoIndex); in onSaveInstanceState()
56 super.onSaveInstanceState(outState); in onSaveInstanceState()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DFragmentStackFragment.java70 public void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
71 super.onSaveInstanceState(outState); in onSaveInstanceState()
72 outState.putInt("level", mStackLevel); in onSaveInstanceState()
DFragmentNestingTabs.java65 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
66 super.onSaveInstanceState(outState); in onSaveInstanceState()
67 outState.putInt("tab", getActionBar().getSelectedNavigationIndex()); in onSaveInstanceState()
DFragmentStack.java65 public void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
66 super.onSaveInstanceState(outState); in onSaveInstanceState()
67 outState.putInt("level", mStackLevel); in onSaveInstanceState()
DFragmentCustomAnimations.java63 public void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
64 super.onSaveInstanceState(outState); in onSaveInstanceState()
65 outState.putInt("level", mStackLevel); in onSaveInstanceState()
DFragmentTabsFragment.java76 public void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
77 super.onSaveInstanceState(outState); in onSaveInstanceState()
78 mTabManager.handleSaveInstanceState(outState); in onSaveInstanceState()
199 public void handleSaveInstanceState(Bundle outState) { in handleSaveInstanceState() argument
200 outState.putString("tab", mTabHost != null in handleSaveInstanceState()
DFragmentTabs.java65 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
66 super.onSaveInstanceState(outState); in onSaveInstanceState()
67 outState.putInt("tab", getActionBar().getSelectedNavigationIndex()); in onSaveInstanceState()
DFragmentHideShow.java94 public void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
95 super.onSaveInstanceState(outState); in onSaveInstanceState()
98 outState.putCharSequence("text", mTextView.getText()); in onSaveInstanceState()
DFragmentDialog.java61 public void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
62 super.onSaveInstanceState(outState); in onSaveInstanceState()
63 outState.putInt("level", mStackLevel); in onSaveInstanceState()
DFragmentLayout.java120 public void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
121 super.onSaveInstanceState(outState); in onSaveInstanceState()
122 outState.putInt("curChoice", mCurCheckPosition); in onSaveInstanceState()
/development/samples/browseable/CustomTransition/src/com.example.android.customtransition/
DCustomTransitionFragment.java77 public void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
78 super.onSaveInstanceState(outState); in onSaveInstanceState()
79 outState.putInt(STATE_CURRENT_SCENE, mCurrentScene); in onSaveInstanceState()
/development/samples/browseable/DrawableTinting/src/com.example.android.drawabletinting/
DDrawableTintingFragment.java215 public void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
216 super.onSaveInstanceState(outState); in onSaveInstanceState()
218 outState.putInt(STATE_BLEND, mBlendSpinner.getSelectedItemPosition()); in onSaveInstanceState()
219 outState.putInt(STATE_ALPHA, mAlphaBar.getProgress()); in onSaveInstanceState()
220 outState.putInt(STATE_RED, mRedBar.getProgress()); in onSaveInstanceState()
221 outState.putInt(STATE_GREEN, mGreenBar.getProgress()); in onSaveInstanceState()
222 outState.putInt(STATE_BLUE, mBlueBar.getProgress()); in onSaveInstanceState()
/development/samples/LunarLander/src/com/example/android/lunarlander/
DLunarLander.java163 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
165 super.onSaveInstanceState(outState); in onSaveInstanceState()
166 mLunarThread.saveState(outState); in onSaveInstanceState()
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
DNewsReaderActivity.java229 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
230 outState.putInt("catIndex", mCatIndex); in onSaveInstanceState()
231 outState.putInt("artIndex", mArtIndex); in onSaveInstanceState()
232 super.onSaveInstanceState(outState); in onSaveInstanceState()
/development/apps/GestureBuilder/src/com/android/gesture/builder/
DCreateGestureActivity.java51 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
52 super.onSaveInstanceState(outState); in onSaveInstanceState()
55 outState.putParcelable("gesture", mGesture); in onSaveInstanceState()
/development/samples/browseable/DocumentCentricApps/src/com.example.android.documentcentricapps/
DDocumentCentricActivity.java68 public void onSaveInstanceState(Bundle outState, PersistableBundle outPersistentState) { in onSaveInstanceState() argument
78 super.onSaveInstanceState(outState, outPersistentState); in onSaveInstanceState()
/development/samples/MySampleRss/src/com/example/codelab/rssexample/
DMyRssReader.java50 protected void onSaveInstanceState(Bundle outState){ in onSaveInstanceState() argument
53 outState.putInteger("lastIndexItem", index); in onSaveInstanceState()
/development/samples/browseable/ScreenCapture/src/com.example.android.screencapture/
DScreenCaptureFragment.java99 public void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
100 super.onSaveInstanceState(outState); in onSaveInstanceState()
102 outState.putInt(STATE_RESULT_CODE, mResultCode); in onSaveInstanceState()
103 outState.putParcelable(STATE_RESULT_DATA, mResultData); in onSaveInstanceState()
/development/samples/RSSReader/src/com/example/android/rssreader/
DRssReader.java402 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
403 super.onSaveInstanceState(outState); in onSaveInstanceState()
419 outState.putSerializable(STRINGS_KEY, strings); in onSaveInstanceState()
423outState.putInt(SELECTION_KEY, Integer.valueOf(getListView().getSelectedItemPosition())); in onSaveInstanceState()
427 outState.putString(URL_KEY, mUrlText.getText().toString()); in onSaveInstanceState()
430 outState.putCharSequence(STATUS_KEY, mStatusText.getText()); in onSaveInstanceState()

123