Home
last modified time | relevance | path

Searched refs:myState (Results 1 – 1 of 1) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/preference/
DMyPreference.java111 final SavedState myState = new SavedState(superState); in onSaveInstanceState() local
112 myState.clickCounter = mClickCounter; in onSaveInstanceState()
113 return myState; in onSaveInstanceState()
125 SavedState myState = (SavedState) state; in onRestoreInstanceState() local
126 super.onRestoreInstanceState(myState.getSuperState()); in onRestoreInstanceState()
127 mClickCounter = myState.clickCounter; in onRestoreInstanceState()