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

12

/frameworks/base/core/java/android/view/
H A DVelocityTracker.java40 private static native long 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<jlong>(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.rsh113 enum rs_for_each_strategy strategy;
136 * allocation to be processed or suggest a walking strategy. May be
167 * 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.h304 uint32_t strategy() const { return mStrategy; } function in class:EffectChain
305 void setStrategy(uint32_t strategy) argument
306 { mStrategy = strategy; }
381 uint32_t mStrategy; // strategy for this effect chain
H A DAudioFlinger.cpp2669 uint32_t strategy = 0; // prevent compiler warning local
2686 // re-registered with the new strategy and output
2694 strategy = dstChain->strategy();
2700 strategy,
2715 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/services/audiopolicy/
H A DAudioPolicyManager.h138 // return the strategy corresponding to a given stream type
140 // return the strategy corresponding to the given audio attributes
149 uint32_t strategy,
450 // default volume curve for media strategy
454 // volume curve for media strategy on speakers
457 // volume curve for sonification strategy on speakers
491 bool isStrategyActive(routing_strategy strategy,
573 routing_strategy mStrategy; // routing strategy the effect is associated to
582 // return the strategy corresponding to a given stream type
585 // return appropriate device for streams handled by the specified strategy accordin
[all...]
H A DAudioPolicyInterfaceImplLegacy.cpp427 uint32_t strategy,
434 return mpAudioPolicy->register_effect(mpAudioPolicy, desc, io, strategy, session, id);
425 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
H A DAudioPolicyManager.cpp618 // pertaining to sonification strategy see handleIncallSonification()
632 // store previous phone state for management of sonification strategy below
676 // latency of any output where either strategy is active.
721 // pertaining to sonification strategy see handleIncallSonification()
877 routing_strategy strategy = getStrategy(stream); local
878 audio_devices_t device = getDeviceForStrategy(strategy, false /*fromCache*/);
961 routing_strategy strategy = (routing_strategy) getStrategyForAttr(&attributes); local
962 audio_devices_t device = getDeviceForStrategy(strategy, false /*fromCache*/);
1276 routing_strategy strategy = getStrategy(stream); local
1277 bool shouldWait = (strategy
1934 routing_strategy strategy = getStrategy(AUDIO_STREAM_MUSIC); local
1945 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
4094 checkOutputForStrategy(routing_strategy strategy) argument
4331 AudioPolicyManager::routing_strategy strategy = getStrategy(stream); local
4515 getDeviceForStrategy(routing_strategy strategy, bool fromCache) argument
5789 setStrategyMute(routing_strategy strategy, bool on, audio_io_handle_t output, int delayMs, audio_devices_t device) argument
6004 isStrategyActive(routing_strategy strategy, uint32_t inPastMs, nsecs_t sysTime) const argument
[all...]
H A DAudioPolicyInterface.h168 // return the strategy corresponding to a given stream type
178 uint32_t strategy,
H A DAudioPolicyInterfaceImpl.cpp452 uint32_t strategy,
459 return mAudioPolicyManager->registerEffect(desc, io, strategy, session, id);
450 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
H A DAudioPolicyService.h123 uint32_t strategy,
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecController.java363 * @param pickStrategy strategy how to pick polling candidates
389 int strategy = pickStrategy & Constants.POLL_STRATEGY_MASK;
391 switch (strategy) {
H A DHdmiControlService.java908 * @param pickStrategy strategy how to pick polling candidates
921 int strategy = pickStrategy & Constants.POLL_STRATEGY_MASK;
922 if (strategy == 0) {
923 throw new IllegalArgumentException("Invalid poll strategy:" + pickStrategy);
927 throw new IllegalArgumentException("Invalid iteration strategy:" + pickStrategy);
929 return strategy | iterationStrategy;
/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/include/media/
H A DIAudioPolicyService.h105 uint32_t strategy,
H A DAudioSystem.h270 uint32_t strategy,
/frameworks/rs/
H A DrsDefines.h388 enum RsForEachStrategy strategy; member in struct:__anon1521
/frameworks/av/media/libmedia/
H A DIAudioPolicyService.cpp407 uint32_t strategy,
415 data.writeInt32(strategy);
971 uint32_t strategy = data.readInt32(); local
976 strategy,
405 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
H A DAudioSystem.cpp784 uint32_t strategy,
790 return aps->registerEffect(desc, io, strategy, session, id);
782 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScript.java478 private int strategy; field in class:Script.LaunchOptions
/frameworks/base/rs/java/android/renderscript/
H A DScript.java420 private int strategy; field in class:Script.LaunchOptions
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DStaggeredGridLayoutManagerTest.java608 public void innerGapHandlingTest(int strategy) throws Throwable { argument
611 mLayoutManager.setGapStrategy(strategy);
622 if (strategy == GAP_HANDLING_MOVE_ITEMS_BETWEEN_SPANS) {
628 switch (strategy) {
630 assertSpans("gap handling:" + Config.gapStrategyName(strategy), new int[]{100, 0},
911 assertEquals("on saved state, gap strategy should be preserved",
1083 assertEquals(config + " on saved state, gap strategy should be preserved",
1959 " gap strategy: " + gapStrategyName(mGapStrategy);
1969 return "gap strategy: unknown";

Completed in 4474 milliseconds

12