Home
last modified time | relevance | path

Searched refs:Strategy (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/libs/input/tests/
DVelocityTracker_test.cpp196 static void computeAndCheckVelocity(const VelocityTracker::Strategy strategy, in computeAndCheckVelocity()
223 VelocityTracker vt(VelocityTracker::Strategy::LSQ2); in computeAndCheckQuadraticEstimate()
249 computeAndCheckVelocity(VelocityTracker::Strategy::IMPULSE, motions, AMOTION_EVENT_AXIS_X, in TEST_F()
261 computeAndCheckVelocity(VelocityTracker::Strategy::IMPULSE, motions, AMOTION_EVENT_AXIS_X, 0); in TEST_F()
262 computeAndCheckVelocity(VelocityTracker::Strategy::LSQ2, motions, AMOTION_EVENT_AXIS_X, 0); in TEST_F()
270 computeAndCheckVelocity(VelocityTracker::Strategy::IMPULSE, motions, AMOTION_EVENT_AXIS_X, 500); in TEST_F()
271 computeAndCheckVelocity(VelocityTracker::Strategy::LSQ2, motions, AMOTION_EVENT_AXIS_X, 500); in TEST_F()
301 computeAndCheckVelocity(VelocityTracker::Strategy::IMPULSE, motions, AMOTION_EVENT_AXIS_X, in TEST_F()
303 computeAndCheckVelocity(VelocityTracker::Strategy::IMPULSE, motions, AMOTION_EVENT_AXIS_Y, in TEST_F()
345 computeAndCheckVelocity(VelocityTracker::Strategy::IMPULSE, motions, AMOTION_EVENT_AXIS_X, in TEST_F()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DSharedUidMigration.java61 public @interface Strategy {} annotation in SharedUidMigration
63 @Strategy
94 public static boolean applyStrategy(@Strategy int strategy) { in applyStrategy()
/frameworks/base/core/jni/
Dandroid_view_VelocityTracker.cpp46 explicit VelocityTrackerState(const VelocityTracker::Strategy strategy);
65 VelocityTrackerState::VelocityTrackerState(const VelocityTracker::Strategy strategy) in VelocityTrackerState()
137 inline static VelocityTracker::Strategy getStrategyFromInt(const int32_t strategy) { in getStrategyFromInt()
138 if (strategy < static_cast<int32_t>(VelocityTracker::Strategy::MIN) || in getStrategyFromInt()
139 strategy > static_cast<int32_t>(VelocityTracker::Strategy::MAX)) { in getStrategyFromInt()
140 return VelocityTracker::Strategy::DEFAULT; in getStrategyFromInt()
142 return static_cast<VelocityTracker::Strategy>(strategy); in getStrategyFromInt()
/frameworks/native/include/input/
DVelocityTracker.h33 enum class Strategy : int32_t { enum
82 VelocityTracker(const Strategy strategy = Strategy::DEFAULT);
126 static const Strategy DEFAULT_STRATEGY = Strategy::LSQ2;
133 bool configureStrategy(const Strategy strategy);
135 static std::unique_ptr<VelocityTrackerStrategy> createStrategy(const Strategy strategy);
/frameworks/native/libs/input/
DVelocityTracker.cpp120 VelocityTracker::VelocityTracker(const Strategy strategy) in VelocityTracker()
136 bool VelocityTracker::configureStrategy(Strategy strategy) { in configureStrategy()
137 if (strategy == VelocityTracker::Strategy::DEFAULT) { in configureStrategy()
146 VelocityTracker::Strategy strategy) { in createStrategy()
148 case VelocityTracker::Strategy::IMPULSE: in createStrategy()
154 case VelocityTracker::Strategy::LSQ1: in createStrategy()
157 case VelocityTracker::Strategy::LSQ2: in createStrategy()
163 case VelocityTracker::Strategy::LSQ3: in createStrategy()
166 case VelocityTracker::Strategy::WLSQ2_DELTA: in createStrategy()
171 case VelocityTracker::Strategy::WLSQ2_CENTRAL: in createStrategy()
[all …]
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Phone/Settings/
Ddevice_for_product_strategy_sonification.pfw298 # Sonification Follows Phone Strategy if in call (widely speaking)
335 # Sonification Follows Phone Strategy if in call (widely speaking)
364 # Sonification Follows Phone Strategy if in call (widely speaking)
393 # Sonification Follows Phone Strategy if in call (widely speaking)
422 # Sonification Follows Phone Strategy if in call (widely speaking)
449 # Sonification Follows Phone Strategy if in call
Ddevice_for_product_strategy_sonification_respectful.pfw5 # - If in call: Strategy sonification (that follows phone strategy in call also...)
6 # - If not in call AND a music stream is active remotely: Strategy sonification (that
56 # Follows Phone Strategy if call
/frameworks/proto_logging/stats/
Datoms.proto12760 // Strategy of scoring and ranking.