Searched defs:state (Results 301 - 325 of 340) sorted by path

<<11121314

/frameworks/rs/
H A DrsProgramFragment.cpp47 if (mHal.state.constants[0] == NULL) {
56 void *p = rsc->mHal.funcs.allocation.lock1D(rsc, mHal.state.constants[0]);
59 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
62 void ProgramFragment::setup(Context *rsc, ProgramFragmentState *state) { argument
63 if ((state->mLast.get() == this) && !mDirty) {
66 state->mLast.set(this);
68 for (uint32_t ct=0; ct < mHal.state.texturesCount; ct++) {
69 if (!mHal.state.textures[ct]) {
H A DrsProgramRaster.cpp28 mHal.state.pointSprite = pointSprite;
29 mHal.state.cull = cull;
46 void ProgramRaster::setup(const Context *rsc, ProgramRasterState *state) { argument
47 if (state->mLast.get() == this && !mDirty) {
50 state->mLast.set(this);
85 if (existing->mHal.state.pointSprite != pointSprite) continue;
86 if (existing->mHal.state.cull != cull) continue;
H A DrsProgramRaster.h44 State state; member in struct:android::renderscript::ProgramRaster::Hal
H A DrsProgramStore.cpp31 mHal.state.ditherEnable = ditherEnable;
33 mHal.state.colorRWriteEnable = colorMaskR;
34 mHal.state.colorGWriteEnable = colorMaskG;
35 mHal.state.colorBWriteEnable = colorMaskB;
36 mHal.state.colorAWriteEnable = colorMaskA;
37 mHal.state.blendSrc = srcFunc;
38 mHal.state.blendDst = destFunc;
40 mHal.state.depthWriteEnable = depthMask;
41 mHal.state.depthFunc = depthFunc;
57 void ProgramStore::setup(const Context *rsc, ProgramStoreState *state) { argument
[all...]
H A DrsProgramStore.h56 State state; member in struct:android::renderscript::ProgramStore::Hal
H A DrsProgramVertex.cpp38 void ProgramVertex::setup(Context *rsc, ProgramVertexState *state) { argument
39 if ((state->mLast.get() == this) && !mDirty) {
44 if (mHal.state.constants[0] == NULL) {
50 rsc, mHal.state.constants[0]));
59 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
62 state->mLast.set(this);
73 if (mHal.state.constants[0] == NULL) {
79 rsc, mHal.state.constants[0]));
82 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
91 if (mHal.state
[all...]
H A DrsSampler.h50 State state; member in struct:android::renderscript::Sampler::Hal
H A DrsType.h54 State state; member in struct:android::renderscript::Type::Hal
66 uint32_t getDimX() const {return mHal.state.dimX;}
67 uint32_t getDimY() const {return mHal.state.dimY;}
68 uint32_t getDimZ() const {return mHal.state.dimZ;}
70 bool getDimFaces() const {return mHal.state.faces;}
73 rsAssert(lod < mHal.state.lodCount);
74 return mHal.state.lodDimX[lod];
77 rsAssert(lod < mHal.state.lodCount);
78 return mHal.state.lodDimY[lod];
81 rsAssert(lod < mHal.state
[all...]
/frameworks/support/renderscript/v8/rs_support/
H A DrsAllocation.h67 State state; member in struct:android::renderscript::Allocation::Hal
83 const Type * getType() const {return mHal.state.type;}
118 return (mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT) != 0;
121 return (mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE) != 0;
124 return (mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_RENDER_TARGET) != 0;
127 return (mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_VERTEX) != 0;
136 return mHal.state.mipmapControl != RS_ALLOCATION_MIPMAP_NONE;
144 mHal.state.type = t;
H A DrsElement.h56 State state; member in struct:android::renderscript::Element::Hal
H A DrsSampler.h50 State state; member in struct:android::renderscript::Sampler::Hal
H A DrsType.h54 State state; member in struct:android::renderscript::Type::Hal
66 uint32_t getDimX() const {return mHal.state.dimX;}
67 uint32_t getDimY() const {return mHal.state.dimY;}
68 uint32_t getDimZ() const {return mHal.state.dimZ;}
70 bool getDimFaces() const {return mHal.state.faces;}
73 rsAssert(lod < mHal.state.lodCount);
74 return mHal.state.lodDimX[lod];
77 rsAssert(lod < mHal.state.lodCount);
78 return mHal.state.lodDimY[lod];
81 rsAssert(lod < mHal.state
[all...]
/frameworks/support/v13/java/android/support/v13/app/
H A DFragmentPagerAdapter.java39 * arbitrary amount of state. For larger sets of pages, consider
160 public void restoreState(Parcelable state, ClassLoader loader) { argument
H A DFragmentStatePagerAdapter.java35 * saving and restoring of fragment's state.
40 * state of that fragment. This allows the pager to hold on to much less
96 // from its saved state, where the fragment manager has already
178 Bundle state = null;
180 state = new Bundle();
183 state.putParcelableArray("states", fss);
188 if (state == null) {
189 state = new Bundle();
192 mFragmentManager.putFragment(state, key, f);
195 return state;
199 restoreState(Parcelable state, ClassLoader loader) argument
[all...]
H A DFragmentTabHost.java192 // We must have an ID to be able to save/restore our state. If
243 // the correct state.
255 // This fragment was restored in the active state,
290 protected void onRestoreInstanceState(Parcelable state) { argument
291 SavedState ss = (SavedState)state;
/frameworks/support/v4/java/android/support/v4/app/
H A DFragment.java173 // If mAnimatingAway != null, this is the state we should move to once the
177 // When instantiated from saved state, this is the saved state.
205 // True if the fragment is in the resumed state.
214 // True if this fragment has been restored from previously saved state.
279 // The real inner view that will save/restore state.
301 SavedState(Bundle state) { argument
302 mState = state;
347 * activity's state. It is strongly recommended that subclasses do not
514 * Set the initial saved state tha
521 setInitialSavedState(SavedState state) argument
[all...]
H A DFragmentManager.java126 * to an activity saving its state. If you try to commit a transaction
131 * in the state, and if changes are made after the state is saved then they
187 * Pop the top state off the back stack. Returns true if there was one
209 * @param name If non-null, this is the name of a previous back state
210 * to look for; if found, all states up to that state will be popped. The
212 * the named state itself is popped. If null, only the top state is popped.
236 * the named state itself is popped.
273 * persisted as saved state, an
1475 addBackStackState(BackStackRecord state) argument
1730 restoreAllState(Parcelable state, ArrayList<Fragment> nonConfig) argument
[all...]
H A DFragmentPagerAdapter.java35 * arbitrary amount of state. For larger sets of pages, consider
156 public void restoreState(Parcelable state, ClassLoader loader) { argument
H A DFragmentStatePagerAdapter.java31 * saving and restoring of fragment's state.
36 * state of that fragment. This allows the pager to hold on to much less
92 // from its saved state, where the fragment manager has already
174 Bundle state = null;
176 state = new Bundle();
179 state.putParcelableArray("states", fss);
184 if (state == null) {
185 state = new Bundle();
188 mFragmentManager.putFragment(state, key, f);
191 return state;
195 restoreState(Parcelable state, ClassLoader loader) argument
[all...]
H A DFragmentTabHost.java200 // We must have an ID to be able to save/restore our state. If
251 // the correct state.
263 // This fragment was restored in the active state,
298 protected void onRestoreInstanceState(Parcelable state) { argument
299 SavedState ss = (SavedState)state;
/frameworks/support/v4/java/android/support/v4/view/
H A DPagerAdapter.java233 * Save any instance state associated with this adapter and its pages that should be
234 * restored if the current UI state needs to be reconstructed.
236 * @return Saved state for this adapter
243 * Restore any instance state associated with this adapter and its pages
246 * @param state State previously saved by a call to {@link #saveState()}
249 public void restoreState(Parcelable state, ClassLoader loader) { argument
H A DPagerTitleStrip.java495 public void onPageScrollStateChanged(int state) { argument
496 mScrollState = state;
H A DViewPager.java219 * Indicates that the pager is in an idle, settled state. The current page
244 * Callback interface for responding to changing state of the selected page.
268 * Called when the scroll state changes. Useful for discovering when the user
272 * @param state The new scroll state.
277 public void onPageScrollStateChanged(int state); argument
297 public void onPageScrollStateChanged(int state) { argument
630 * current page in the view hierarchy in an idle state. Defaults to 1.
641 * current page in the view hierarchy in an idle state. Pages beyond this
654 * @param limit How many pages will be kept offscreen in an idle state
1210 onRestoreInstanceState(Parcelable state) argument
[all...]
/frameworks/wilhelm/src/android/
H A DAudioRecorder_to_android.cpp260 // data has been copied to the buffer, and the buffer queue state has been updated
445 void android_audioRecorder_setRecordState(CAudioRecorder* ar, SLuint32 state) { argument
446 SL_LOGV("android_audioRecorder_setRecordState(%p, %u) entering", ar, state);
452 switch (state) {
/frameworks/wilhelm/src/desktop/
H A DSndFile.c22 /** \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

Completed in 170 milliseconds

<<11121314