/packages/modules/StatsD/statsd/src/state/ |
D | StateManager.cpp | 28 StateManager::StateManager() in StateManager() function in android::os::statsd::StateManager 34 StateManager& StateManager::getInstance() { in getInstance() 35 static StateManager sStateManager; in getInstance() 39 void StateManager::clear() { in clear() 43 void StateManager::onLogEvent(const LogEvent& event) { in onLogEvent() 56 void StateManager::registerListener(const int32_t atomId, const wp<StateListener>& listener) { in registerListener() 64 void StateManager::unregisterListener(const int32_t atomId, const wp<StateListener>& listener) { in unregisterListener() 88 bool StateManager::getStateValue(const int32_t atomId, const HashableDimensionKey& key, in getStateValue() 98 void StateManager::updateLogSources(const sp<UidMap>& uidMap) { in updateLogSources() 106 void StateManager::notifyAppChanged(const string& apk, const sp<UidMap>& uidMap) { in notifyAppChanged() [all …]
|
D | StateManager.h | 39 class StateManager { 41 StateManager(); 43 ~StateManager(){}; in ~StateManager() 46 static StateManager& getInstance();
|
/packages/apps/Launcher3/src/com/android/launcher3/statemanager/ |
D | StatefulContainer.java | 41 default StateManager.AtomicAnimationFactory<STATE_TYPE> createAtomicAnimationFactory() { in createAtomicAnimationFactory() 42 return new StateManager.AtomicAnimationFactory<>(0); in createAtomicAnimationFactory() 48 void collectStateHandlers(List<StateManager.StateHandler<STATE_TYPE>> out); in collectStateHandlers() 53 StateManager<STATE_TYPE, ?> getStateManager(); in getStateManager()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | LauncherAllAppsContainerView.java | 24 import com.android.launcher3.statemanager.StateManager; 59 StateManager<LauncherState, Launcher> manager = launcher.getStateManager(); in shouldFloatingSearchBarBePillWhenUnfocused() 73 StateManager<LauncherState, Launcher> stateManager = launcher.getStateManager(); in getFloatingSearchBarRestingMarginBottom() 98 StateManager<LauncherState, Launcher> stateManager = mActivityContext.getStateManager(); in getFloatingSearchBarRestingMarginStart() 120 StateManager<LauncherState, Launcher> stateManager = mActivityContext.getStateManager(); in getFloatingSearchBarRestingMarginEnd()
|
/packages/modules/StatsD/statsd/tests/state/ |
D | StateTracker_test.cpp | 61 int getStateInt(StateManager& mgr, int atomId, const HashableDimensionKey& queryKey) { in getStateInt() 111 StateManager& mgr = StateManager::getInstance(); in TEST() 116 EXPECT_EQ(1, StateManager::getInstance().getStateTrackersCount()); in TEST() 123 StateManager mgr; in TEST() 180 StateManager mgr; in TEST() 214 StateManager mgr; in TEST() 252 StateManager mgr; in TEST() 292 StateManager mgr; in TEST() 341 StateManager mgr; in TEST() 366 StateManager mgr; in TEST() [all …]
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/launcher3/taskbar/ |
D | FallbackTaskbarUIControllerTest.kt | 21 import com.android.launcher3.statemanager.StateManager 37 lateinit var stateListener: StateManager.StateListener<RecentsState> 40 private val stateManager: StateManager<RecentsState, RecentsActivity> = mock() 49 val captor = argumentCaptor<StateManager.StateListener<RecentsState>>() in setup()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/desktop/ |
D | DesktopRecentsTransitionController.kt | 28 import com.android.launcher3.statemanager.StateManager 38 private val stateManager: StateManager<*, *>, 67 private val stateManager: StateManager<*, *>,
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | FallbackTaskbarUIController.java | 27 import com.android.launcher3.statemanager.StateManager; 43 private final StateManager.StateListener<RecentsState> mStateListener = 44 new StateManager.StateListener<RecentsState>() {
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | QuickstepOnboardingPrefs.java | 37 import com.android.launcher3.statemanager.StateManager; 38 import com.android.launcher3.statemanager.StateManager.StateListener; 52 StateManager<LauncherState, Launcher> stateManager = launcher.getStateManager(); in setup()
|
D | OverviewToHomeAnim.java | 30 import com.android.launcher3.statemanager.StateManager; 65 StateManager<LauncherState, Launcher> stateManager = mLauncher.getStateManager(); in animateWithVelocity()
|
D | RecentsAtomicAnimationFactory.java | 27 import com.android.launcher3.statemanager.StateManager.AtomicAnimationFactory;
|
D | AnimatorControllerWithResistance.java | 41 import com.android.launcher3.statemanager.StateManager; 167 StateManager<LauncherState, StatefulActivity<LauncherState>> stateManager = in createForRecents()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | RecentsActivity.java | 67 import com.android.launcher3.statemanager.StateManager; 68 import com.android.launcher3.statemanager.StateManager.AtomicAnimationFactory; 69 import com.android.launcher3.statemanager.StateManager.StateHandler; 119 private StateManager<RecentsState, RecentsActivity> mStateManager; 372 mStateManager = new StateManager<>(this, RecentsState.BG_LAUNCHER); in onCreate() 481 public StateManager<RecentsState, RecentsActivity> getStateManager() { in getStateManager()
|
D | FallbackActivityInterface.java | 33 import com.android.launcher3.statemanager.StateManager; 157 final StateManager<RecentsState, RecentsActivity> stateManager = in onExitOverview() 166 new StateManager.StateListener<RecentsState>() { in onExitOverview()
|
D | LauncherActivityInterface.java | 46 import com.android.launcher3.statemanager.StateManager; 245 final StateManager<LauncherState, Launcher> stateManager = in onExitOverview() 248 new StateManager.StateListener<LauncherState>() { in onExitOverview()
|
D | TaskViewUtils.java | 70 import com.android.launcher3.statemanager.StateManager; 437 @NonNull StateManager stateManager, @Nullable DepthController depthController, in composeRecentsSplitLaunchAnimator() 483 @NonNull StateManager stateManager, in composeRecentsSplitLaunchAnimatorLegacy() 564 @NonNull StateManager stateManager, @Nullable DepthController depthController, in composeRecentsDesktopLaunchAnimator() 599 @NonNull StateManager stateManager, @NonNull RecentsView recentsView, in composeRecentsLaunchAnimator()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | LauncherRecentsView.java | 47 import com.android.launcher3.statemanager.StateManager; 48 import com.android.launcher3.statemanager.StateManager.StateListener; 92 StateManager stateManager = getStateManager(); in handleStartHome() 108 public StateManager<LauncherState, Launcher> getStateManager() { in getStateManager()
|
D | SplitInstructionsView.java | 46 import com.android.launcher3.statemanager.StateManager; 169 StateManager stateManager = recentsView.getStateManager(); in exitSplitSelection()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | LauncherDragView.java | 23 import com.android.launcher3.statemanager.StateManager; 29 implements StateManager.StateListener<LauncherState> {
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherState.java | 44 import com.android.launcher3.statemanager.StateManager; 443 StateManager<LauncherState, Launcher> lsm = launcher.getStateManager(); 464 StateManager<LauncherState, Launcher> lsm = launcher.getStateManager(); 474 StateManager<LauncherState, Launcher> lsm = launcher.getStateManager();
|
/packages/modules/StatsD/statsd/tests/metrics/ |
D | NumericValueMetricProducer_test.cpp | 4033 StateManager::getInstance().clear(); in TEST() 4040 StateManager::getInstance().registerListener(SCREEN_STATE_ATOM_ID, valueProducer); in TEST() 4041 EXPECT_EQ(1, StateManager::getInstance().getStateTrackersCount()); in TEST() 4042 EXPECT_EQ(1, StateManager::getInstance().getListenersCount(SCREEN_STATE_ATOM_ID)); in TEST() 4067 StateManager::getInstance().onLogEvent(*screenEvent); in TEST() 4100 StateManager::getInstance().onLogEvent(*screenEvent); in TEST() 4142 StateManager::getInstance().onLogEvent(*screenEvent); in TEST() 4308 StateManager::getInstance().clear(); in TEST() 4314 StateManager::getInstance().registerListener(SCREEN_STATE_ATOM_ID, valueProducer); in TEST() 4315 EXPECT_EQ(1, StateManager::getInstance().getStateTrackersCount()); in TEST() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | NavBarToHomeTouchController.java | 48 import com.android.launcher3.statemanager.StateManager; 199 StateManager.StateListener<LauncherState> listener = in onDragEnd() 200 new StateManager.StateListener<>() { in onDragEnd()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | AbstractGalleryActivity.java | 57 private StateManager mStateManager; 125 public synchronized StateManager getStateManager() { in getStateManager() 127 mStateManager = new StateManager(this); in getStateManager()
|
D | StateManager.java | 33 public class StateManager { class 47 public StateManager(AbstractGalleryActivity activity) { in StateManager() method in StateManager
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/fallback/ |
D | FallbackRecentsView.java | 39 import com.android.launcher3.statemanager.StateManager; 40 import com.android.launcher3.statemanager.StateManager.StateListener; 96 public StateManager<RecentsState, RecentsActivity> getStateManager() { in getStateManager()
|