Searched defs:strategy (Results 1 - 8 of 8) sorted by relevance
/frameworks/base/core/java/android/view/ |
H A D | VelocityTracker.java | 58 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 D | android_view_VelocityTracker.cpp | 47 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 D | IAudioPolicyService.cpp | 290 uint32_t strategy, 298 data.writeInt32(strategy); 566 uint32_t strategy = data.readInt32(); local 571 strategy, 288 registerEffect(effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
|
H A D | AudioSystem.cpp | 707 uint32_t strategy, 713 return aps->registerEffect(desc, io, strategy, session, id); 705 registerEffect(effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
|
/frameworks/base/libs/androidfw/ |
H A D | VelocityTracker.cpp | 103 // 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 D | AudioPolicyService.cpp | 453 uint32_t strategy, 460 return mpAudioPolicy->register_effect(mpAudioPolicy, desc, io, strategy, session, id); 451 registerEffect(effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
|
H A D | AudioFlinger.h | 561 // strategy is only meaningful for PlaybackThread which implements this method 1713 uint32_t strategy() const { return mStrategy; } function in class:android::AudioFlinger::EffectChain 1714 void setStrategy(uint32_t strategy) argument 1715 { mStrategy = strategy; } 1773 uint32_t mStrategy; // strategy for this effect chain
|
H A D | AudioFlinger.cpp | 1768 // all tracks in same audio session must share the same routing strategy otherwise 1771 uint32_t strategy = AudioSystem::getStrategyForStream(streamType); local 1776 if (sessionId == t->sessionId() && strategy != actual) { 1777 ALOGE("createTrack_l() mismatched strategy; expected %u but found %u", 1778 strategy, actual); 2098 // session AUDIO_SESSION_OUTPUT_MIX is placed in same strategy as MUSIC stream so that 4728 dstChain->strategy(), 7551 uint32_t strategy = 0; // prevent compiler warning local 7562 // re-registered with the new strategy and output 7570 strategy [all...] |
Completed in 528 milliseconds