/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | MenuPresenter.java | 42 * of menu state so that it does not attempt to hide the action bar 131 * Returns an ID for determining how to save/restore instance state. 137 * Returns a Parcelable describing the current state of the presenter. 140 * @return The saved instance state 145 * Supplies the previously saved instance state to be restored. 146 * @param state The previously saved instance state 148 public void onRestoreInstanceState(Parcelable state); argument
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ColorDrawable.java | 60 private ColorDrawable(ColorState state) { argument 61 mState = new ColorState(state); 183 ColorState(ColorState state) { argument 184 if (state != null) { 185 mBaseColor = state.mBaseColor; 186 mUseColor = state.mUseColor; 187 mChangingConfigurations = state.mChangingConfigurations;
|
H A D | LevelListDrawable.java | 69 // in case the new state matches our current state... 212 private LevelListDrawable(LevelListState state, Resources res) { argument 213 LevelListState as = new LevelListState(state, this, res);
|
H A D | StateListDrawable.java | 35 * Each state Drawable is defined in a nested <code><item></code> element. For more 88 // in case the new state matches our current state... 209 * Gets the state set at an index. 211 * @param index The index of the state set. 212 * @return The state set at the index. 235 * Gets the index of the drawable with the provided state set. 237 * @param stateSet the state set to look up 238 * @return the index of the provided state set, or -1 if not found 323 private StateListDrawable(StateListState state, Resource argument [all...] |
H A D | TransitionDrawable.java | 59 * The current state of the transition. One of {@link #TRANSITION_STARTING}, 91 private TransitionDrawable(TransitionState state, Resources res) { argument 92 super(state, res); 95 private TransitionDrawable(TransitionState state, Drawable[] layers) { argument 96 super(layers, state); 100 LayerState createConstantState(LayerState state, Resources res) { argument 101 return new TransitionState((TransitionState) state, this, res);
|
/frameworks/base/services/common_time/ |
H A D | common_clock_service.cpp | 85 status_t CommonClockService::getState(State* state) { argument 86 *state = mTimeServer.getState();
|
/frameworks/base/services/jni/ |
H A D | com_android_server_LightsService.cpp | 110 light_state_t state; local 116 memset(&state, 0, sizeof(light_state_t)); 117 state.color = colorARGB; 118 state.flashMode = flashMode; 119 state.flashOnMS = onMS; 120 state.flashOffMS = offMS; 121 state.brightnessMode = brightnessMode; 125 devices->lights[light]->set_light(devices->lights[light], &state);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | AccessibilityManagerServiceTest.java | 554 public void setState(int state) { argument 555 mState = state; 563 * Ensures accessibility is in a given state by writing the state to the 567 * @param enabled The accessibility state to write to the settings. 656 * arguments) within the {@link #TIMEOUT_BINDER_CALL}. The verified state is
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneStateListener.java | 34 * on the device, including service state, signal strength, message 37 * Override the methods for the state that you wish to receive updates for, and 55 * Listen for changes to the network service state (cellular). 115 * Listen for changes to the device call state. 124 * Listen for changes to the data connection state (cellular). 172 * Callback invoked when device service state changes. 219 * Callback invoked when device call state changes. 225 public void onCallStateChanged(int state, String incomingNumber) { argument 230 * Callback invoked when connection state changes. 237 public void onDataConnectionStateChanged(int state) { argument 244 onDataConnectionStateChanged(int state, int networkType) argument [all...] |
/frameworks/ex/photoviewer/src/com/android/ex/photo/adapters/ |
H A D | BaseFragmentPagerAdapter.java | 163 public void restoreState(Parcelable state, ClassLoader loader) { argument
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_eglapi.cpp | 44 GLTraceState *state = (GLTraceState *)arg; local 45 TCPStream *stream = state->getStream(); 94 state->setCollectFbOnEglSwap(collectFbOnEglSwap); 95 state->setCollectFbOnGlDraw(collectFbOnGlDraw); 96 state->setCollectTextureDataOnGlTexImage(collectTextureData); 121 // initialize tracing state 133 // update trace state for new EGL context 142 // setup per context state
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
H A D | BaseFragmentPagerAdapter.java | 167 public void restoreState(Parcelable state, ClassLoader loader) { argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | Call.java | 48 public State state = State.IDLE; field in class:Call 99 * @return state of class call 102 return state;
|
H A D | DefaultPhoneNotifier.java | 107 PhoneConstants.DataState state) { 108 doNotifyDataConnection(sender, reason, apnType, state); 112 PhoneConstants.DataState state) { 121 if (state == PhoneConstants.DataState.CONNECTED) { 130 convertDataState(state), 186 public static int convertCallState(PhoneConstants.State state) { argument 187 switch (state) { 201 public static PhoneConstants.State convertCallState(int state) { argument 202 switch (state) { 216 public static int convertDataState(PhoneConstants.DataState state) { argument 106 notifyDataConnection(Phone sender, String reason, String apnType, PhoneConstants.DataState state) argument 111 doNotifyDataConnection(Phone sender, String reason, String apnType, PhoneConstants.DataState state) argument 233 convertDataState(int state) argument 250 convertDataActivityState(Phone.DataActivityState state) argument 269 convertDataActivityState(int state) argument [all...] |
H A D | DriverCall.java | 36 // If you add a state, make sure to look for the switch() 42 public State state; // May be null if unavail field in class:DriverCall 60 // index,isMT,state,mode,isMpty(,number,TOA)? 66 ret.state = stateFromCLCC(p.nextInt()); 107 + state + "," 119 stateFromCLCC(int state) throws ATParseEx { argument 120 switch(state) { 128 throw new ATParseEx("illegal call state " + state);
|
H A D | IccCardStatus.java | 68 public void setCardState(int state) { argument 69 switch(state) { 80 throw new RuntimeException("Unrecognized RIL_CardState: " + state); 84 public void setUniversalPinState(int state) { argument 85 switch(state) { 105 throw new RuntimeException("Unrecognized RIL_PinState: " + state);
|
/frameworks/rs/ |
H A D | rsMesh.h | 54 State state; member in struct:android::renderscript::Mesh::Hal 69 mHal.state.vertexBuffers[index] = vb; 74 mHal.state.indexBuffers[index] = idx; 75 mHal.state.primitives[index] = prim;
|
H A D | rsProgram.h | 57 State state; member in struct:android::renderscript::Program::Hal
|
H A D | rsProgramFragment.cpp | 47 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 D | rsProgramStore.cpp | 31 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 D | rsType.h | 54 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 D | rsType.h | 54 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 D | FragmentPagerAdapter.java | 39 * arbitrary amount of state. For larger sets of pages, consider 160 public void restoreState(Parcelable state, ClassLoader loader) { argument
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | FragmentPagerAdapter.java | 35 * arbitrary amount of state. For larger sets of pages, consider 156 public void restoreState(Parcelable state, ClassLoader loader) { argument
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | PagerAdapter.java | 233 * 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
|