Searched refs:strategy (Results 1 - 22 of 22) sorted by relevance

/frameworks/base/core/java/android/view/
H A DVelocityTracker.java40 private static native int nativeInitialize(String strategy); argument
63 * Obtains a velocity tracker with the specified strategy.
66 * @param strategy The strategy, or null to use the default.
71 public static VelocityTracker obtain(String strategy) { argument
72 if (strategy == null) {
75 return new VelocityTracker(strategy);
89 private VelocityTracker(String strategy) { argument
90 mPtr = nativeInitialize(strategy);
91 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/native/libs/input/
H A DVelocityTracker.cpp102 // The default velocity tracker strategy.
104 // this is the strategy that applications will actually use. Be very careful
105 // when adjusting the default strategy because it can dramatically affect
109 VelocityTracker::VelocityTracker(const char* strategy) : argument
113 // Allow the default strategy to be overridden using a system property for debugging.
114 if (!strategy) {
115 int length = property_get("debug.velocitytracker.strategy", value, NULL);
117 strategy = value;
119 strategy = DEFAULT_STRATEGY;
123 // Configure the strategy
137 configureStrategy(const char* strategy) argument
142 createStrategy(const char* strategy) argument
[all...]
/frameworks/rs/scriptc/
H A Drs_core.rsh111 enum rs_for_each_strategy strategy;
134 * allocation to be processed or suggest a walking strategy. May be
165 * allocation to be processed or suggest a walking strategy. May be
/frameworks/native/include/input/
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/services/audioflinger/
H A DEffects.h300 uint32_t strategy() const { return mStrategy; } function in class:EffectChain
301 void setStrategy(uint32_t strategy) argument
302 { mStrategy = strategy; }
367 uint32_t mStrategy; // strategy for this effect chain
H A DAudioPolicyService.h103 uint32_t strategy,
H A DAudioFlinger.cpp2311 uint32_t strategy = 0; // prevent compiler warning local
2328 // re-registered with the new strategy and output
2336 strategy = dstChain->strategy();
2342 strategy,
2357 strategy,
H A DAudioPolicyService.cpp481 uint32_t strategy,
488 return mpAudioPolicy->register_effect(mpAudioPolicy, desc, io, strategy, session, id);
479 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
H A DThreads.cpp806 lStatus = AudioSystem::registerEffect(desc, mId, chain->strategy(), sessionId, id);
1305 // all tracks in same audio session must share the same routing strategy otherwise
1308 uint32_t strategy = AudioSystem::getStrategyForStream(streamType); local
1313 if (sessionId == t->sessionId() && strategy != actual) {
1314 ALOGE("createTrack_l() mismatched strategy; expected %u but found %u",
1315 strategy, actual);
1766 // session AUDIO_SESSION_OUTPUT_MIX is placed in same strategy as MUSIC stream so that
H A DTracks.cpp852 dstChain->strategy(),
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGraphRunner.java32 * The scheduling strategy determines how the filter nodes are selected
34 * strategy determines which node of this set to select for execution. For instance, an LFU
588 /** Schedule strategy: From set of candidates, pick a random one. */
590 /** Schedule strategy: From set of candidates, pick node executed least recently executed. */
592 /** Schedule strategy: From set of candidates, pick node executed least number of times. */
594 /** Schedule strategy: Schedules no node more than once. */
747 * Sets the filter scheduling strategy. This method can not be called when the GraphRunner is
750 * @param strategy a constant specifying which scheduler strategy to use.
752 * @throws IllegalArgumentException if invalid strategy i
755 setSchedulerStrategy(int strategy) argument
984 createScheduler(int strategy) argument
[all...]
/frameworks/av/include/media/
H A DIAudioPolicyService.h87 uint32_t strategy,
H A DAudioSystem.h233 uint32_t strategy,
/frameworks/support/v4/java/android/support/v4/content/
H A DFileProvider.java376 final PathStrategy strategy = getPathStrategy(context, authority);
377 return strategy.getUriForFile(file);
/frameworks/av/media/libmedia/
H A DIAudioPolicyService.cpp298 uint32_t strategy,
306 data.writeInt32(strategy);
606 uint32_t strategy = data.readInt32(); local
611 strategy,
296 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
H A DAudioSystem.cpp718 uint32_t strategy,
724 return aps->registerEffect(desc, io, strategy, session, id);
716 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
/frameworks/rs/
H A DrsDefines.h386 enum RsForEachStrategy strategy; member in struct:__anon1643
/frameworks/base/graphics/java/android/renderscript/
H A DScript.java356 private int strategy; field in class:Script.LaunchOptions
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScript.java478 private int strategy; field in class:Script.LaunchOptions
/frameworks/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp815 sc.strategy = RS_FOR_EACH_STRATEGY_DONT_CARE;
837 sc.strategy = RS_FOR_EACH_STRATEGY_DONT_CARE;
/frameworks/base/graphics/jni/
H A Dandroid_renderscript_RenderScript.cpp1153 sc.strategy = RS_FOR_EACH_STRATEGY_DONT_CARE;
1175 sc.strategy = RS_FOR_EACH_STRATEGY_DONT_CARE;

Completed in 443 milliseconds