Searched refs:strategy (Results 1 - 15 of 15) 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/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/rs/scriptc/
H A Drs_core.rsh114 enum rs_for_each_strategy strategy;
137 * allocation to be processed or suggest a walking strategy. May be
168 * allocation to be processed or suggest a walking strategy. May be
/frameworks/support/renderscript/v8/rs_support/scriptc/
H A Drs_core.rsh114 enum rs_for_each_strategy strategy;
137 * allocation to be processed or suggest a walking strategy. May be
168 * allocation to be processed or suggest a walking strategy. May be
/frameworks/base/include/androidfw/
H A DVelocityTracker.h64 // Creates a velocity tracker using the specified strategy.
65 // If strategy is NULL, uses the default strategy for the platform.
66 VelocityTracker(const char* strategy = NULL);
112 bool configureStrategy(const char* strategy);
114 static VelocityTrackerStrategy* createStrategy(const char* strategy);
230 * Velocity tracker strategy used prior to ICS.
/frameworks/av/include/media/
H A DIAudioPolicyService.h85 uint32_t strategy,
H A DAudioSystem.h227 uint32_t strategy,
/frameworks/rs/
H A DrsDefines.h371 enum RsForEachStrategy strategy; member in struct:__anon1547
/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/av/services/audioflinger/
H A DAudioPolicyService.h101 uint32_t strategy,
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 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.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...]

Completed in 170 milliseconds