Searched defs:strategy (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/core/java/android/view/
H A DVelocityTracker.java58 private static native int nativeInitialize(String strategy); argument
80 * Obtains a velocity tracker with the specified strategy.
83 * @param strategy The strategy, or null to use the default.
88 public static VelocityTracker obtain(String strategy) { argument
89 if (strategy == null) {
92 return new VelocityTracker(strategy);
133 private VelocityTracker(String strategy) { argument
134 mPtr = nativeInitialize(strategy);
135 mStrategy = strategy;
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_VelocityTracker.cpp47 VelocityTrackerState(const char* strategy);
66 VelocityTrackerState::VelocityTrackerState(const char* strategy) : argument
67 mVelocityTracker(strategy), mActivePointerId(-1) {
144 ScopedUtfChars strategy(env, strategyStr);
145 return reinterpret_cast<jint>(new VelocityTrackerState(strategy.c_str()));
/frameworks/av/media/libmedia/
H A DIAudioPolicyService.cpp289 uint32_t strategy,
297 data.writeInt32(strategy);
571 uint32_t strategy = data.readInt32(); local
576 strategy,
287 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
H A DAudioSystem.cpp706 uint32_t strategy,
712 return aps->registerEffect(desc, io, strategy, session, id);
704 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
/frameworks/base/libs/androidfw/
H A DVelocityTracker.cpp103 // The default velocity tracker strategy.
105 // this is the strategy that applications will actually use. Be very careful
106 // when adjusting the default strategy because it can dramatically affect
110 VelocityTracker::VelocityTracker(const char* strategy) : argument
114 // Allow the default strategy to be overridden using a system property for debugging.
115 if (!strategy) {
116 int length = property_get("debug.velocitytracker.strategy", value, NULL);
118 strategy = value;
120 strategy = DEFAULT_STRATEGY;
124 // Configure the strategy
138 configureStrategy(const char* strategy) argument
143 createStrategy(const char* strategy) argument
[all...]
/frameworks/av/services/audioflinger/
H A DAudioPolicyService.cpp451 uint32_t strategy,
458 return mpAudioPolicy->register_effect(mpAudioPolicy, desc, io, strategy, session, id);
449 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
H A DAudioFlinger.h637 // strategy is only meaningful for PlaybackThread which implements this method
1861 uint32_t strategy() const { return mStrategy; } function in class:android::AudioFlinger::EffectChain
1862 void setStrategy(uint32_t strategy) argument
1863 { mStrategy = strategy; }
1924 uint32_t mStrategy; // strategy for this effect chain
H A DAudioFlinger.cpp1819 // all tracks in same audio session must share the same routing strategy otherwise
1822 uint32_t strategy = AudioSystem::getStrategyForStream(streamType); local
1827 if (sessionId == t->sessionId() && strategy != actual) {
1828 ALOGE("createTrack_l() mismatched strategy; expected %u but found %u",
1829 strategy, actual);
2165 // session AUDIO_SESSION_OUTPUT_MIX is placed in same strategy as MUSIC stream so that
4764 dstChain->strategy(),
7704 uint32_t strategy = 0; // prevent compiler warning local
7715 // re-registered with the new strategy and output
7723 strategy
[all...]
/frameworks/rs/
H A DrsDefines.h371 enum RsForEachStrategy strategy; member in struct:__anon1547

Completed in 154 milliseconds