/frameworks/av/media/libmedia/ |
H A D | IOMX.cpp | 202 node_id node, OMX_STATETYPE* state) { 208 *state = static_cast<OMX_STATETYPE>(reply.readInt32()); 545 OMX_STATETYPE state = OMX_StateInvalid; local 547 status_t err = getState(node, &state); 548 reply->writeInt32(state); 201 getState( node_id node, OMX_STATETYPE* state) argument
|
/frameworks/av/media/libstagefright/ |
H A D | OMXClient.cpp | 67 node_id node, OMX_STATETYPE* state); 245 node_id node, OMX_STATETYPE* state) { 246 return getOMX(node)->getState(node, state); 244 getState( node_id node, OMX_STATETYPE* state) argument
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
H A D | vad1.cpp | 1254 vadState1 *st, /* i/o : VAD state struct */ 1263 /* adapt speed on own state */ 1267 { /* low state */ 1271 { /* high state */ 1372 vadState1 *st, /* i/o : VAD state struct */ 1578 state -- double pointer to type vadState1 -- pointer to memory to 1582 state -- points to initalized area in memory. 1596 Allocates state memory and initializes state memory 1635 Word16 vad1_init(vadState1 **state) argument 1721 vad1_reset(vadState1 *state) argument 1846 vad1_exit(vadState1 **state) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | pitch_fr.cpp | 762 state = pointer to a pointer of structure type Pitch_fr_State. 780 Purpose: Allocates state memory and initializes state memory 795 int Pitch_fr_init (Pitch_frState **state) 799 if (state == (Pitch_frState **) NULL){ 803 *state = NULL; 807 // fprintf(stderr, "Pitch_fr_init: can not malloc state structure\n"); 812 *state = s; 839 Word16 Pitch_fr_init(Pitch_frState **state) argument 843 if (state 942 Pitch_fr_reset(Pitch_frState *state) argument 1034 Pitch_fr_exit(Pitch_frState **state) argument [all...] |
/frameworks/base/core/java/android/net/ |
H A D | MobileDataStateTracker.java | 45 * Track the state of mobile data connectivity. This is done by 47 * the state of data connectivity changes. 198 PhoneConstants.DataState state = Enum.valueOf(PhoneConstants.DataState.class, 212 log("Received state=" + state + ", old=" + mMobileDataState + 215 if (mMobileDataState != state) { 216 mMobileDataState = state; 217 switch (state) { 254 // There was no state change. Check if LinkProperties has been updated. 390 * Record the detailed state o 398 setDetailedState(NetworkInfo.DetailedState state, String reason, String extraInfo) argument [all...] |
/frameworks/base/core/java/android/os/storage/ |
H A D | StorageManager.java | 166 changeListener.onObbStateChange(ev.path, ev.state); 181 void sendObbStateChanged(String path, int state) { argument 182 ObbStateChangedStorageEvent e = new ObbStateChangedStorageEvent(path, state); 193 public final int state; field in class:StorageManager.ObbStateChangedStorageEvent 195 public ObbStateChangedStorageEvent(String path, int state) { argument 198 this.state = state; 237 * Message sent on volume state change. 415 Log.e(TAG, "Failed to get UMS connection state", ex); 430 Log.e(TAG, "Failed to get UMS enable state", re [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | DialogPreference.java | 274 * @param state Optional instance state to restore on the dialog 276 protected void showDialog(Bundle state) { argument 301 if (state != null) { 302 dialog.onRestoreInstanceState(state); 431 protected void onRestoreInstanceState(Parcelable state) { argument 432 if (state == null || !state.getClass().equals(SavedState.class)) { 433 // Didn't save state for us in onSaveInstanceState 434 super.onRestoreInstanceState(state); [all...] |
H A D | VolumePreference.java | 153 // No need to save instance state since it's persistent 165 protected void onRestoreInstanceState(Parcelable state) { argument 166 if (state == null || !state.getClass().equals(SavedState.class)) { 167 // Didn't save state for us in onSaveInstanceState 168 super.onRestoreInstanceState(state); 172 SavedState myState = (SavedState) state;
|
/frameworks/base/core/java/android/text/method/ |
H A D | MetaKeyKeyListener.java | 28 * This base class encapsulates the behavior for tracking the state of 29 * meta keys such as SHIFT, ALT and SYM as well as the pseudo-meta state of selecting text. 31 * Key listeners that care about meta state should inherit from this class; 34 * This class provides two mechanisms for tracking meta state that can be used 39 * {@link #getMetaState(long)} operate on a meta key state bit mask.</li> 41 * {@link #getMetaState(CharSequence, int)} operate on meta key state flags stored 43 * meta key state of the text editor; they do not carry any positional information.</li> 51 * When key modifiers are toggled into a latched or locked state, the state 53 * meta state intege 373 resetLockedMeta(long state) argument 398 getMetaState(long state) argument 430 getMetaState(long state, int meta) argument 458 adjustMetaAfterKeypress(long state) argument 482 handleKeyDown(long state, int keyCode, KeyEvent event) argument 501 press(long state, int what, long mask, long locked, long pressed, long released, long used) argument 520 handleKeyUp(long state, int keyCode, KeyEvent event) argument 539 release(long state, int what, long mask, long pressed, long released, long used, KeyEvent event) argument 563 clearMetaKeyState(long state, int which) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | TimePicker.java | 71 // state 238 // update controls to initial state 305 * Used to save / restore state of time picker 359 protected void onRestoreInstanceState(Parcelable state) { argument 360 SavedState ss = (SavedState) state;
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | MenuPopupHelper.java | 301 public void onRestoreInstanceState(Parcelable state) { argument
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
H A D | StorageManagerBaseTest.java | 171 public void onObbStateChange(String path, int state) { argument 172 Log.i(LOG_TAG, "Storage state changing to: " + state); 176 mState = state; 184 * Tells whether we are done or not (system told us the OBB has changed state) 186 * @return true if the system has told us this OBB's state has changed, false otherwise 193 * The last state of the OBB, according to the system 195 * @return A {@link String} representation of the state of the OBB 197 public int state() { method in class:StorageManagerBaseTest.ObbListener 301 * @param expectedState The expected state resultin [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | BitmapDrawable.java | 345 final BitmapState state = mBitmapState; 346 if (state.mTileModeX != xmode || state.mTileModeY != ymode) { 347 state.mTileModeX = xmode; 348 state.mTileModeY = ymode; 349 state.mRebuildShader = true; 369 final BitmapState state = mBitmapState; 370 if (state.mRebuildShader) { 371 Shader.TileMode tmx = state.mTileModeX; 372 Shader.TileMode tmy = state 548 BitmapDrawable(BitmapState state, Resources res) argument [all...] |
H A D | ShapeDrawable.java | 78 private ShapeDrawable(ShapeState state) { argument 79 mShapeState = new ShapeState(state);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardViewStateManager.java | 47 // Paged view state 154 // We only modify the page state if it is not currently under control by the slider. 249 // Whether dragging or settling, if the last state was idle, we use this signal 313 public void setTransportState(int state) { argument 314 mTransportState = state;
|
/frameworks/base/services/input/ |
H A D | SpriteController.h | 172 /* Describes the state of a sprite. 206 * Requests acquire a lock on the controller, update local state and request the 210 * the sprite state before the work and update the sprite surface control afterwards. 227 return mLocked.state; 231 mLocked.state.dirty = 0; 236 mLocked.state.surfaceControl = surfaceControl; 237 mLocked.state.surfaceWidth = width; 238 mLocked.state.surfaceHeight = height; 239 mLocked.state.surfaceDrawn = drawn; 240 mLocked.state 247 SpriteState state; member in struct:android::SpriteController::SpriteImpl::Locked 256 SpriteUpdate(const sp<SpriteImpl> sprite, const SpriteState& state) argument 261 SpriteState state; member in struct:android::SpriteController::SpriteUpdate [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | UiModeManagerService.java | 102 // the dock state changes. The original ordered broadcast is sent with an initial result 127 int state = intent.getIntExtra(Intent.EXTRA_DOCK_STATE, 129 updateDockState(state); 290 private static boolean isDeskDockState(int state) { argument 291 switch (state) { 576 TwilightState state = mTwilightService.getCurrentState(); 577 if (state != null) { 578 mComputedNightMode = state.isNight(); 594 pw.println("Current UI Mode Service state:");
|
H A D | WiredAccessoryManager.java | 160 * Compare the existing headset state with the new state and pass along accordingly. Note 182 Log.e(TAG, "No state change."); 186 // reject all suspect transitions: only accept state changes from: 241 int state; 244 state = 1; 246 state = 0; 265 Slog.v(TAG, "device "+headsetName+((state == 1) ? " connected" : " disconnected")); 267 mAudioManager.setWiredDeviceConnectionState(device, state, headsetName); 310 " not found while attempting to determine initial switch state"); 387 updateStateLocked(String devPath, String name, int state) argument [all...] |
/frameworks/base/services/java/com/android/server/pm/ |
H A D | PackageSettingBase.java | 37 * Indicates the state of installation. Used by PackageManager to figure out 38 * incomplete installations. Say a package is being installed (the state is 41 * PackageManager will no longer maintain state information associated with 176 PackageUserState state = userState.get(userId); 177 if (state == null) { 178 state = new PackageUserState(); 179 userState.put(userId, state); 181 return state; 185 PackageUserState state = userState.get(userId); 186 if (state ! 192 setEnabled(int state, int userId) argument [all...] |
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | SceneManager.java | 448 public Renderable getRenderableQuad(String name, RenderState state) { argument 453 quad.setRenderState(state);
|
/frameworks/base/tools/aapt/ |
H A D | XMLNode.cpp | 561 ParseState state; local 562 state.filename = file->getPrintableSource(); 563 state.parser = parser; 564 XML_SetUserData(parser, &state); 589 if (state.root == NULL) { 593 return state.root;
|
/frameworks/native/include/utils/ |
H A D | Vector.h | 166 typedef int (*compar_r_t)(const TYPE* lhs, const TYPE* rhs, void* state); 169 inline status_t sort(compar_r_t cmp, void* state); 375 status_t Vector<TYPE>::sort(Vector<TYPE>::compar_r_t cmp, void* state) { argument 376 return VectorImpl::sort((VectorImpl::compar_r_t)cmp, state);
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_context.cpp | 132 GLTraceContext::GLTraceContext(int id, int version, GLTraceState *state, argument 136 mState(state),
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | ICalendar.java | 431 ParserState state = new ParserState(); 432 state.index = 0; 441 current = parseLine(line, state, current); 466 private static Component parseLine(String line, ParserState state, argument 469 state.line = line; 470 int len = state.line.length(); 474 for (state.index = 0; state.index < len; ++state.index) { 475 c = line.charAt(state 525 extractValue(ParserState state) argument 541 extractParameter(ParserState state) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | IccCardApplicationStatus.java | 129 AppState AppStateFromRILInt(int state) { argument 132 switch(state) { 141 "Unrecognized RIL_AppState: " +state); 182 PinState PinStateFromRILInt(int state) { argument 184 switch(state) { 204 throw new RuntimeException("Unrecognized RIL_PinState: " + state);
|