Searched defs:newState (Results 26 - 50 of 90) sorted by relevance

1234

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationGroupManager.java171 public void setStatusBarState(int newState) { argument
172 if (mBarState == newState) {
176 mBarState = newState;
H A DLockIcon.java212 private int getAnimationResForTransition(int oldState, int newState, boolean oldScreenOn, argument
214 if (oldState == STATE_FINGERPRINT && newState == STATE_FINGERPRINT_ERROR) {
216 } else if (oldState == STATE_FINGERPRINT_ERROR && newState == STATE_FINGERPRINT) {
218 } else if (oldState == STATE_FINGERPRINT && newState == STATE_LOCK_OPEN
221 } else if (newState == STATE_FINGERPRINT && !oldScreenOn && screenOn) {
/frameworks/base/services/core/java/com/android/server/
H A DDockObserver.java122 private void setActualDockStateLocked(int newState) { argument
123 mActualDockState = newState;
125 setDockStateLocked(newState);
129 private void setDockStateLocked(int newState) { argument
130 if (newState != mReportedDockState) {
131 mReportedDockState = newState;
H A DUiModeManagerService.java334 private void updateDockState(int newState) { argument
336 if (newState != mDockState) {
337 mDockState = newState;
H A DWiredAccessoryManager.java179 * @param newState 0 or one of the BIT_xxx variables defined above.
181 private void updateLocked(String newName, int newState) { argument
183 int headsetState = newState & SUPPORTED_HEADSETS;
190 + " newState=" + newState
/frameworks/av/media/libnbaio/
H A DMonoPipe.cpp324 void MonoPipe::shutdown(bool newState) argument
326 mIsShutdown = newState;
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Ddtx_dec.cpp1581 newState = variable of type DTXStateType
1596 and sets up the decoder parameters according to newState.
1641 enum DTXStateType newState;
1654 newState = DTX;
1663 newState = DTX_MUTE;
1677 newState = DTX_MUTE;
1682 newState = SPEECH;
1713 (sub(newState, SPEECH) == 0))
1751 if (sub(newState, SPEECH) != 0)
1777 return newState;
1809 enum DTXStateType newState; local
[all...]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Ddtx_decoder_amr_wb.cpp539 int16 newState; local
555 newState = DTX;
565 newState = DTX_MUTE;
575 newState = DTX_MUTE;
580 newState = SPEECH;
634 if (newState != SPEECH)
658 return newState;
659 /* newState is used by both SPEECH AND DTX synthesis routines */
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DCaptureSequencer.cpp100 void CaptureSequencer::notifyAutoExposure(uint8_t newState, int triggerId) { argument
103 mAEState = newState;
/frameworks/av/services/camera/libcameraservice/common/
H A DCamera2ClientBase.cpp252 void Camera2ClientBase<TClientBase>::notifyAutoFocus(uint8_t newState, argument
254 (void)newState;
258 __FUNCTION__, newState, triggerId);
263 void Camera2ClientBase<TClientBase>::notifyAutoExposure(uint8_t newState, argument
265 (void)newState;
269 __FUNCTION__, newState, triggerId);
273 void Camera2ClientBase<TClientBase>::notifyAutoWhitebalance(uint8_t newState, argument
275 (void)newState;
279 __FUNCTION__, newState, triggerId);
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DCameraDeviceState.java209 private void doStateTransition(int newState) { argument
210 doStateTransition(newState, /*timestamp*/0, NO_CAPTURE_ERROR);
213 private void doStateTransition(int newState, final long timestamp, final int error) { argument
214 if (newState != mCurrentState) {
216 if (newState >= 0 && newState < sStateNames.length) {
217 stateName = sStateNames[newState];
223 if(newState != STATE_ERROR && newState != STATE_IDLE) {
224 if (mCurrentState != newState
[all...]
/frameworks/base/core/java/android/os/storage/
H A DIMountServiceListener.java80 final String newState = data.readString();
81 this.onStorageStateChanged(path, oldState, newState);
89 final int newState = data.readInt();
90 onVolumeStateChanged(vol, oldState, newState);
167 * @param newState The new state of the volume. Note: State is one
171 public void onStorageStateChanged(String path, String oldState, String newState) argument
179 _data.writeString(newState);
190 public void onVolumeStateChanged(VolumeInfo vol, int oldState, int newState) argument
198 _data.writeInt(newState);
295 * @param newState Th
298 onStorageStateChanged(String path, String oldState, String newState) argument
301 onVolumeStateChanged(VolumeInfo vol, int oldState, int newState) argument
[all...]
/frameworks/base/libs/hwui/
H A DDeferredDisplayList.h73 OpStatePair(DrawOp* newOp, const DeferredDisplayState* newState) argument
74 : op(newOp), state(newState) {}
/frameworks/base/services/core/java/com/android/server/media/
H A DMediaSessionStack.java92 * @param newState Its new playback state.
95 public boolean onPlaystateChange(MediaSessionRecord record, int oldState, int newState) { argument
96 if (shouldUpdatePriority(oldState, newState)) {
104 } else if (!MediaSession.isActiveState(newState)) {
337 private boolean shouldUpdatePriority(int oldState, int newState) { argument
338 if (containsState(newState, ALWAYS_PRIORITY_STATES)) {
342 && containsState(newState, TRANSITION_PRIORITY_STATES)) {
/frameworks/base/telecomm/java/android/telecom/
H A DRemoteConference.java54 * @param newState The new state of the {@code RemoteConference}.
56 public void onStateChanged(RemoteConference conference, int oldState, int newState) {} argument
167 void setState(final int newState) { argument
168 if (newState != Connection.STATE_ACTIVE &&
169 newState != Connection.STATE_HOLDING &&
170 newState != Connection.STATE_DISCONNECTED) {
172 Connection.stateToString(newState));
176 if (mState != newState) {
178 mState = newState;
185 callback.onStateChanged(conference, oldState, newState);
[all...]
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
H A DPlayerSession.java138 private void updateState(int newState) { argument
139 float rate = newState == PlaybackState.STATE_PLAYING ? 1 : 0;
142 bob.setState(newState, position, rate, SystemClock.elapsedRealtime());
180 public void onStateChanged(int newState) { argument
188 switch (newState) {
/frameworks/support/v4/honeycomb/android/support/v4/view/
H A DViewCompatHC.java160 public static int combineMeasuredStates(int curState, int newState) { argument
161 return View.combineMeasuredStates(curState, newState);
/frameworks/base/core/java/android/app/backup/
H A DBackupAgent.java194 * <code>newState</code>.
211 * @param newState An open, read/write ParcelFileDescriptor pointing to an
217 ParcelFileDescriptor newState) throws IOException;
224 * the final state to the <code>newState</code> file descriptor.
245 * @param newState An open, read/write ParcelFileDescriptor pointing to an
251 ParcelFileDescriptor newState) throws IOException;
778 ParcelFileDescriptor newState,
787 BackupAgent.this.onBackup(oldState, output, newState);
811 ParcelFileDescriptor newState,
819 BackupAgent.this.onRestore(input, appVersionCode, newState);
216 onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) argument
250 onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) argument
776 doBackup(ParcelFileDescriptor oldState, ParcelFileDescriptor data, ParcelFileDescriptor newState, int token, IBackupManager callbackBinder) argument
810 doRestore(ParcelFileDescriptor data, int appVersionCode, ParcelFileDescriptor newState, int token, IBackupManager callbackBinder) argument
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHealth.java437 BluetoothDevice device, int prevState, int newState,
439 mCallback.onHealthChannelStateChange(config, device, prevState, newState, fd,
436 onHealthChannelStateChange(BluetoothHealthAppConfiguration config, BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, int channelId) argument
/frameworks/base/core/tests/coretests/src/android/os/storage/
H A DAsecTests.java529 String newState; field in class:AsecTests.StorageListener
545 public void onStorageStateChanged(String path, String oldState, String newState) { argument
546 if (localLOGV) Log.i(TAG, "Storage state changed from " + oldState + " to " + newState);
548 this.newState = newState;
610 public void onStorageStateChanged(String path, String oldState, String newState) { argument
/frameworks/base/services/backup/java/com/android/server/backup/
H A DPackageManagerBackupAgent.java180 ParcelFileDescriptor newState) {
348 writeStateFile(mAllPackages, home, homeVersion, homeSigHashes, newState);
360 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) argument
179 onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) argument
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
H A DRenderer.java169 protected void pushOnStateChanged(int newState) { argument
171 listener.onStateChanged(newState);
210 public void onStateChanged(int newState); argument
/frameworks/support/v4/java/android/support/v4/app/
H A DActionBarDrawerToggle.java470 * @param newState The new drawer motion state
473 public void onDrawerStateChanged(int newState) { argument
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DActionBarDrawerToggle.java416 * @param newState The new drawer motion state
419 public void onDrawerStateChanged(int newState) { argument
/frameworks/base/core/java/com/android/internal/widget/
H A DRotarySelector.java728 private void setGrabbedState(int newState) { argument
729 if (newState != mGrabbedState) {
730 mGrabbedState = newState;

Completed in 2503 milliseconds

1234