/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/ |
D | TransitionLayout.kt | 47 private var currentState: TransitionViewState = TransitionViewState() variable 102 val contentTranslationX = currentState.contentTranslation.x.toInt() in applyCurrentState() 103 val contentTranslationY = currentState.contentTranslation.y.toInt() in applyCurrentState() 106 val widgetState = currentState.widgetStates.get(child.id) ?: continue in applyCurrentState() 153 translationX = currentState.translation.x in applyCurrentState() 154 translationY = currentState.translation.y in applyCurrentState() 155 CrossFadeHelper.fadeIn(this, currentState.alpha) in applyCurrentState() 171 val widgetState = currentState.widgetStates.get(child.id) ?: continue in onMeasure() 206 setLeftTopRightBottom(layoutLeft, layoutTop, layoutLeft + currentState.width, in updateBounds() 207 layoutTop + currentState.height) in updateBounds() [all …]
|
D | TransitionLayoutController.kt | 45 private var currentState = TransitionViewState() variable 66 currentState = getInterpolatedState( in updateStateFromAnimation() 70 reusedState = currentState) in updateStateFromAnimation() 71 applyStateToLayout(currentState) in updateStateFromAnimation() 276 val animated = animate && currentState.width != 0 in setState() 281 currentState = state.copy(reusedState = currentState) in setState() 283 animationStartState = currentState.copy() in setState() 289 currentState = state.copy(reusedState = currentState) in setState()
|
/frameworks/wilhelm/tests/sandbox/ |
D | monkey.c | 252 State_t currentState = STATE_INITIAL; in main() local 253 while (STATE_TERMINAL != currentState) { in main() 257 if (currentState != transitionTable[i].mEntryState) in main() 263 fprintf(stderr, "No matching transitions in state %d\n", currentState); in main() 269 "but with probability 0\n", currentState); in main() 276 if (currentState != transitionTable[i].mEntryState) in main() 284 transitionTable[i].mActionName, currentState, transitionTable[i].mCount); in main() 287 currentState = nextState; in main()
|
/frameworks/base/core/java/android/os/ |
D | SystemService.java | 114 final State currentState = getState(service); in waitForState() local 115 if (state.equals(currentState)) { in waitForState() 120 throw new TimeoutException("Service " + service + " currently " + currentState in waitForState()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
D | NetworkState.java | 47 public NetworkState(State currentState) { in NetworkState() argument 49 mStateDepository.add(currentState); in NetworkState() 84 public void recordState(State currentState) { in recordState() argument 85 mStateDepository.add(currentState); in recordState()
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | AAudioSimplePlayer.h | 225 aaudio_stream_state_t currentState = AAudioStream_getState(mStream); in waitUntilPaused() local 227 while (result == AAUDIO_OK && currentState == AAUDIO_STREAM_STATE_PAUSING) { in waitUntilPaused() 229 ¤tState, NANOS_PER_SECOND); in waitUntilPaused() 230 inputState = currentState; in waitUntilPaused() 235 return (currentState == AAUDIO_STREAM_STATE_PAUSED) in waitUntilPaused()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaHostStatesManager.kt | 50 val currentState = mediaHostStates.get(location) in updateHostState() constant 51 if (!hostState.equals(currentState)) { in updateHostState()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | NekoDialog.java | 53 int currentState = prefs.getFoodState(); in onFoodSelected() local 54 if (currentState == 0 && food.getType() != 0) { in onFoodSelected()
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | CaptureSequencer.cpp | 230 CaptureState currentState; in threadLoop() local 233 currentState = mCaptureState; in threadLoop() 236 currentState = (this->*kStateManagers[currentState])(client); in threadLoop() 239 if (currentState != mCaptureState) { in threadLoop() 243 mCaptureState = currentState; in threadLoop()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | LocalBluetoothAdapter.java | 220 int currentState = mAdapter.getState(); in syncBluetoothState() local 221 if (currentState != mState) { in syncBluetoothState()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ClientModeManager.java | 367 IState currentState = mStateMachine.getCurrentState(); in getCurrentStateName() local 369 if (currentState != null) { in getCurrentStateName() 370 return currentState.getName(); in getCurrentStateName() 381 private void updateConnectModeState(int newState, int currentState) { in updateConnectModeState() argument 396 intent.putExtra(WifiManager.EXTRA_PREVIOUS_WIFI_STATE, currentState); in updateConnectModeState()
|
D | SoftApManager.java | 299 IState currentState = mStateMachine.getCurrentState(); in getCurrentStateName() local 301 if (currentState != null) { in getCurrentStateName() 302 return currentState.getName(); in getCurrentStateName() 315 private void updateApState(int newState, int currentState, int reason) { in updateApState() argument 322 intent.putExtra(WifiManager.EXTRA_PREVIOUS_WIFI_AP_STATE, currentState); in updateApState()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | LocalDisplayAdapter.java | 616 int currentState = oldState; in requestDisplayStateLocked() 621 currentState = state; in requestDisplayStateLocked() 625 currentState = Display.STATE_DOZE; in requestDisplayStateLocked() 629 currentState = Display.STATE_ON; in requestDisplayStateLocked() 639 if ((state == Display.STATE_VR || currentState == Display.STATE_VR) && in requestDisplayStateLocked() 640 currentState != state) { in requestDisplayStateLocked() 651 if (state != currentState) { in requestDisplayStateLocked()
|
/frameworks/base/cmds/statsd/tests/metrics/ |
D | ValueMetricProducer_test.cpp | 4040 ASSERT_EQ(1, itBase->second[0].currentState.getValues().size()); in TEST() 4042 itBase->second[0].currentState.getValues()[0].mValue.int_value); in TEST() 4061 ASSERT_EQ(1, itBase->second[0].currentState.getValues().size()); in TEST() 4063 itBase->second[0].currentState.getValues()[0].mValue.int_value); in TEST() 4084 itBase->second[0].currentState.getValues()[0].mValue.int_value); in TEST() 4112 ASSERT_EQ(1, itBase->second[0].currentState.getValues().size()); in TEST() 4114 itBase->second[0].currentState.getValues()[0].mValue.int_value); in TEST() 4251 ASSERT_EQ(1, itBase->second[0].currentState.getValues().size()); in TEST() 4253 itBase->second[0].currentState.getValues()[0].mValue.int_value); in TEST() 4272 ASSERT_EQ(1, itBase->second[0].currentState.getValues().size()); in TEST() [all …]
|
/frameworks/av/media/libaaudio/src/core/ |
D | AudioStream.cpp | 345 aaudio_result_t AudioStream::waitForStateChange(aaudio_stream_state_t currentState, in waitForStateChange() argument 356 while (state == currentState && timeoutNanoseconds > 0) { in waitForStateChange() 373 return (state == currentState) ? AAUDIO_ERROR_TIMEOUT : AAUDIO_OK; in waitForStateChange()
|
/frameworks/base/core/java/android/app/servertransaction/ |
D | TransactionExecutorHelper.java | 166 final int currentState = r.getLifecycleState(); in getClosestOfStates() local 169 getLifecyclePath(currentState, finalStates[i], false /* excludeLastState */); in getClosestOfStates()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | ApnContext.java | 320 DctConstants.State currentState = getState(); in isDisconnected() local 321 return ((currentState == DctConstants.State.IDLE) || in isDisconnected() 322 currentState == DctConstants.State.FAILED); in isDisconnected()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | StatusBarStateControllerImpl.java | 388 private void recordHistoricalState(int currentState, int lastState) { in recordHistoricalState() argument 391 state.mState = currentState; in recordHistoricalState()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | NetworkTypeController.java | 846 String currentState = getCurrentState().getName(); in updateTimers() local 859 if (mIsSecondaryTimerActive && !mSecondaryTimerState.equals(currentState)) { in updateTimers() 862 log("Remove secondary timer since current state (" + currentState in updateTimers() 870 if (currentState.equals(STATE_CONNECTED_MMWAVE)) { in updateTimers()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | Scheduler.cpp | 591 bool Scheduler::handleTimerStateChanged(T* currentState, T newState) { in handleTimerStateChanged() argument 596 if (*currentState == newState) { in handleTimerStateChanged() 599 *currentState = newState; in handleTimerStateChanged()
|
D | Scheduler.h | 195 bool handleTimerStateChanged(T* currentState, T newState);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/ |
D | ControlsRequestDialogTest.kt | 128 activityRule.getActivity().lifecycle.currentState) in testActivityNotFinished()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 2673 const DisplayDeviceState& currentState, in processDisplayChanged() argument 2675 const sp<IBinder> currentBinder = IInterface::asBinder(currentState.surface); in processDisplayChanged() 2677 if (currentBinder != drawingBinder || currentState.sequenceId != drawingState.sequenceId) { in processDisplayChanged() 2683 if (const auto& physical = currentState.physical) { in processDisplayChanged() 2686 processDisplayAdded(displayToken, currentState); in processDisplayChanged() 2687 if (currentState.physical) { in processDisplayChanged() 2695 if (currentState.layerStack != drawingState.layerStack) { in processDisplayChanged() 2696 display->setLayerStack(currentState.layerStack); in processDisplayChanged() 2698 if ((currentState.orientation != drawingState.orientation) || in processDisplayChanged() 2699 (currentState.viewport != drawingState.viewport) || in processDisplayChanged() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SlidingTab.java | 190 private int currentState = STATE_NORMAL; field in SlidingTab.Slider 293 currentState = state; in setState() 403 setState(currentState); in updateDrawableStates()
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerServiceImpl.java | 719 final @OverlayInfo.State int currentState = mSettings.getState(overlayPackageName, userId); in updateState() local 722 if (currentState != newState) { in updateState() 726 OverlayInfo.stateToString(currentState), in updateState()
|