Home
last modified time | relevance | path

Searched refs:StateManager (Results 1 – 25 of 56) sorted by relevance

123

/packages/modules/StatsD/statsd/src/state/
DStateManager.cpp28 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 …]
DStateManager.h39 class StateManager {
41 StateManager();
43 ~StateManager(){}; in ~StateManager()
46 static StateManager& getInstance();
/packages/apps/Launcher3/src/com/android/launcher3/statemanager/
DStatefulContainer.java41 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/
DLauncherAllAppsContainerView.java24 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/
DStateTracker_test.cpp61 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/
DFallbackTaskbarUIControllerTest.kt21 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/
DDesktopRecentsTransitionController.kt28 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/
DFallbackTaskbarUIController.java27 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/
DQuickstepOnboardingPrefs.java37 import com.android.launcher3.statemanager.StateManager;
38 import com.android.launcher3.statemanager.StateManager.StateListener;
52 StateManager<LauncherState, Launcher> stateManager = launcher.getStateManager(); in setup()
DOverviewToHomeAnim.java30 import com.android.launcher3.statemanager.StateManager;
65 StateManager<LauncherState, Launcher> stateManager = mLauncher.getStateManager(); in animateWithVelocity()
DRecentsAtomicAnimationFactory.java27 import com.android.launcher3.statemanager.StateManager.AtomicAnimationFactory;
DAnimatorControllerWithResistance.java41 import com.android.launcher3.statemanager.StateManager;
167 StateManager<LauncherState, StatefulActivity<LauncherState>> stateManager = in createForRecents()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DRecentsActivity.java67 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()
DFallbackActivityInterface.java33 import com.android.launcher3.statemanager.StateManager;
157 final StateManager<RecentsState, RecentsActivity> stateManager = in onExitOverview()
166 new StateManager.StateListener<RecentsState>() { in onExitOverview()
DLauncherActivityInterface.java46 import com.android.launcher3.statemanager.StateManager;
245 final StateManager<LauncherState, Launcher> stateManager = in onExitOverview()
248 new StateManager.StateListener<LauncherState>() { in onExitOverview()
DTaskViewUtils.java70 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/
DLauncherRecentsView.java47 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()
DSplitInstructionsView.java46 import com.android.launcher3.statemanager.StateManager;
169 StateManager stateManager = recentsView.getStateManager(); in exitSplitSelection()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DLauncherDragView.java23 import com.android.launcher3.statemanager.StateManager;
29 implements StateManager.StateListener<LauncherState> {
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherState.java44 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/
DNumericValueMetricProducer_test.cpp4033 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/
DNavBarToHomeTouchController.java48 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/
DAbstractGalleryActivity.java57 private StateManager mStateManager;
125 public synchronized StateManager getStateManager() { in getStateManager()
127 mStateManager = new StateManager(this); in getStateManager()
DStateManager.java33 public class StateManager { class
47 public StateManager(AbstractGalleryActivity activity) { in StateManager() method in StateManager
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/fallback/
DFallbackRecentsView.java39 import com.android.launcher3.statemanager.StateManager;
40 import com.android.launcher3.statemanager.StateManager.StateListener;
96 public StateManager<RecentsState, RecentsActivity> getStateManager() { in getStateManager()

123