/frameworks/support/compat/api21/android/support/v4/graphics/drawable/ |
H A D | DrawableWrapperApi21.java | 40 DrawableWrapperApi21(DrawableWrapperState state, Resources resources) { argument 41 super(state, resources); 95 // on a state change
|
/frameworks/support/core-ui/java/android/support/v4/view/ |
H A D | PagerAdapter.java | 239 * Save any instance state associated with this adapter and its pages that should be 240 * restored if the current UI state needs to be reconstructed. 242 * @return Saved state for this adapter 249 * Restore any instance state associated with this adapter and its pages 252 * @param state State previously saved by a call to {@link #saveState()} 255 public void restoreState(Parcelable state, ClassLoader loader) { argument
|
/frameworks/support/core-ui/tests/java/android/support/v4/view/ |
H A D | ViewPagerActions.java | 38 * registered callback when the view pager gets to STATE_IDLE state. 78 public void onPageScrollStateChanged(int state) { argument 79 mCurrState = state; 121 // leave the system (Espesso) in a good state. 124 // wrapped action results in the view pager getting to the STATE_IDLE state
|
/frameworks/support/design/lollipop/android/support/design/widget/ |
H A D | FloatingActionButtonLollipop.java | 175 void onDrawableStateChanged(int[] state) { argument 215 * LayerDrawable on L+ caches its isStateful() state and doesn't refresh it, 217 * stateful and the tint doesn't work for state changes. We workaround it by saying that we
|
/frameworks/support/fragment/java/android/support/v4/app/ |
H A D | FragmentPagerAdapter.java | 35 * arbitrary amount of state. For larger sets of pages, consider 161 public void restoreState(Parcelable state, ClassLoader loader) { argument
|
/frameworks/support/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/app/ |
H A D | FragmentNestingPagerSupport.java | 137 public void onPageScrollStateChanged(int state) { argument
|
H A D | FragmentNestingStatePagerSupport.java | 137 public void onPageScrollStateChanged(int state) { argument
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
H A D | QueueFragment.java | 105 // Receive callbacks from the MediaController. Here we update our state such as which queue 115 public void onPlaybackStateChanged(PlaybackStateCompat state) { 116 if (state == null) { 119 Log.d(TAG, "Received playback state change to state " + state.getState()); 120 mPlaybackState = state; 121 QueueFragment.this.onPlaybackStateChanged(state); 197 private void onPlaybackStateChanged(PlaybackStateCompat state) { argument 198 Log.d(TAG, "onPlaybackStateChanged " + state); [all...] |
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
H A D | RecyclerViewActivity.java | 107 public void onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) { argument 122 final int count = state.getItemCount(); 145 RecyclerView.State state) { 181 if (scrolled < dy && state.getItemCount() > mFirstPosition + getChildCount()) { 199 RecyclerView.Recycler recycler, RecyclerView.State state) { 227 while (mFirstPosition + getChildCount() < state.getItemCount() && 144 scrollVerticallyBy(int dy, RecyclerView.Recycler recycler, RecyclerView.State state) argument 198 onFocusSearchFailed(View focused, int direction, RecyclerView.Recycler recycler, RecyclerView.State state) argument
|
/frameworks/support/media-compat/api21/android/support/v4/media/session/ |
H A D | PlaybackStateCompatApi21.java | 63 public static Object newInstance(int state, long position, long bufferedPosition, argument 68 stateObj.setState(state, position, speed, updateTime);
|
/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/app/ |
H A D | FragmentNestingPagerSupport.java | 137 public void onPageScrollStateChanged(int state) { argument
|
H A D | FragmentNestingStatePagerSupport.java | 137 public void onPageScrollStateChanged(int state) { argument
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
H A D | QueueFragment.java | 105 // Receive callbacks from the MediaController. Here we update our state such as which queue 115 public void onPlaybackStateChanged(PlaybackStateCompat state) { 116 if (state == null) { 119 Log.d(TAG, "Received playback state change to state " + state.getState()); 120 mPlaybackState = state; 121 QueueFragment.this.onPlaybackStateChanged(state); 197 private void onPlaybackStateChanged(PlaybackStateCompat state) { argument 198 Log.d(TAG, "onPlaybackStateChanged " + state); [all...] |
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
H A D | RecyclerViewActivity.java | 107 public void onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) { argument 122 final int count = state.getItemCount(); 145 RecyclerView.State state) { 181 if (scrolled < dy && state.getItemCount() > mFirstPosition + getChildCount()) { 199 RecyclerView.Recycler recycler, RecyclerView.State state) { 227 while (mFirstPosition + getChildCount() < state.getItemCount() && 144 scrollVerticallyBy(int dy, RecyclerView.Recycler recycler, RecyclerView.State state) argument 198 onFocusSearchFailed(View focused, int direction, RecyclerView.Recycler recycler, RecyclerView.State state) argument
|
/frameworks/support/v13/java/android/support/v13/app/ |
H A D | FragmentPagerAdapter.java | 39 * arbitrary amount of state. For larger sets of pages, consider 166 public void restoreState(Parcelable state, ClassLoader loader) { argument
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | DetailsBackgroundVideoHelper.java | 116 private void updateState(int state) { argument 117 if (state == mCurrentState) { 120 mCurrentState = state;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | PersistentFocusWrapper.java | 172 protected void onRestoreInstanceState(Parcelable state) { argument 173 if (!(state instanceof SavedState)) { 174 super.onRestoreInstanceState(state); 177 SavedState savedState = (SavedState) state; 178 mSelectedPosition = ((SavedState) state).mSelectedPosition;
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
H A D | MenuPresenter.java | 48 * of menu state so that it does not attempt to hide the action bar 141 * Returns an ID for determining how to save/restore instance state. 147 * Returns a Parcelable describing the current state of the presenter. 150 * @return The saved instance state 155 * Supplies the previously saved instance state to be restored. 156 * @param state The previously saved instance state 158 void onRestoreInstanceState(Parcelable state); argument
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/ |
H A D | DrawerLayoutActions.java | 34 * callback when the drawer gets to STATE_IDLE state. 86 public void onDrawerStateChanged(int state) { argument 87 mCurrState = state; 88 if (state == DrawerLayout.STATE_IDLE) { 125 // leave the system (Espesso) in a good state. 128 // wrapped action results in the drawer getting to the STATE_IDLE state
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
H A D | EditTextPreference.java | 104 // No need to save instance state since it's persistent 114 protected void onRestoreInstanceState(Parcelable state) { argument 115 if (state == null || !state.getClass().equals(SavedState.class)) { 116 // Didn't save state for us in onSaveInstanceState 117 super.onRestoreInstanceState(state); 121 SavedState myState = (SavedState) state;
|
/frameworks/wilhelm/src/desktop/ |
H A D | SndFile.cpp | 22 /** \brief Called by SndFile.c:audioPlayerTransportUpdate after a play state change or seek, 30 SLuint32 state = thisAP->mPlay.mState; local 32 if (SL_PLAYSTATE_PLAYING != state) { 186 /** \brief Called with mutex unlocked for marker and position updates, and play state change */ 195 // FIXME a made-up number that should depend on player state and prefetch status 227 // FIXME only on seek or play state change (STOPPED, PAUSED) -> PLAYING
|
/frameworks/wilhelm/src/itf/ |
H A D | IAndroidBufferQueue.cpp | 26 * Determine the state of the audio player or media player associated with a buffer queue. 32 SLuint32 state; local 35 state = ((CMediaPlayer *) thiz->mThis)->mPlay.mState; 38 state = ((CAudioPlayer *) thiz->mThis)->mPlay.mState; 43 state = SL_PLAYSTATE_STOPPED; 46 return state; 244 // verify pre-condition that media object is in the SL_PLAYSTATE_STOPPED state 272 // reset the queue state 383 // set enqueue attribute if state is PLAYING and the first buffer is enqueued
|
H A D | IDynamicInterfaceManagement.cpp | 41 // check interface state 43 SLuint8 state = *interfaceStateP; local 44 switch (state) { 48 // change state to indicate we are now adding the interface 64 // re-lock mutex to update state 69 state = INTERFACE_ADDED; 71 state = INTERFACE_INITIALIZED; 78 state = INTERFACE_INITIALIZED; 88 // mutex is locked, update state 89 *interfaceStateP = state; 299 SLuint8 state = *interfaceStateP; local [all...] |
H A D | IEffectSend.cpp | 70 SLuint32 state = outputMix->mObject.mInterfaceStates[index]; local 73 switch (state) { 86 SL_LOGE("EffectSend invalid interface state %u", state);
|
H A D | IPlay.cpp | 22 static SLresult IPlay_SetPlayState(SLPlayItf self, SLuint32 state) argument 26 switch (state) { 40 if (state != oldState) { 44 // We are comparing the old state (left) vs. new state (right). 45 // Note that the old state is 3 bits wide, but new state is only 2 bits wide. 46 // That is why the old state is on the left and new state is on the right. 47 switch ((oldState << 2) | state) { 126 SLuint32 state = thiz->mState; local [all...] |