Home
last modified time | relevance | path

Searched refs:strategy (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/base/core/java/android/view/
DVelocityTracker.java40 private static native long nativeInitialize(String strategy); in nativeInitialize() argument
71 public static VelocityTracker obtain(String strategy) { in obtain() argument
72 if (strategy == null) { in obtain()
75 return new VelocityTracker(strategy); in obtain()
89 private VelocityTracker(String strategy) { in VelocityTracker() argument
90 mPtr = nativeInitialize(strategy); in VelocityTracker()
91 mStrategy = strategy; in VelocityTracker()
/frameworks/native/libs/input/
DVelocityTracker.cpp109 VelocityTracker::VelocityTracker(const char* strategy) : in VelocityTracker() argument
114 if (!strategy) { in VelocityTracker()
117 strategy = value; in VelocityTracker()
119 strategy = DEFAULT_STRATEGY; in VelocityTracker()
124 if (!configureStrategy(strategy)) { in VelocityTracker()
125 ALOGD("Unrecognized velocity tracker strategy name '%s'.", strategy); in VelocityTracker()
128 strategy); in VelocityTracker()
137 bool VelocityTracker::configureStrategy(const char* strategy) { in configureStrategy() argument
138 mStrategy = createStrategy(strategy); in configureStrategy()
142 VelocityTrackerStrategy* VelocityTracker::createStrategy(const char* strategy) { in createStrategy() argument
[all …]
/frameworks/base/docs/html/training/design-navigation/
Dmultiple-sizes.jd13 page.image=/images/training/app-navigation-multiple-sizes-strategy-stack.png
83 <img src="{@docRoot}images/training/app-navigation-multiple-sizes-strategy-stretch.png"
84 alt="Stretch strategy">
85 …<p>The most straightforward strategy is to simply stretch each pane's width to best present the co…
88 <img src="{@docRoot}images/training/app-navigation-multiple-sizes-strategy-collapse.png"
89 alt="Expand/collapse strategy">
90 …<p>A variation on the stretch strategy is to collapse the contents of the left pane when in portra…
93 <img src="{@docRoot}images/training/app-navigation-multiple-sizes-strategy-show-hide.png"
94 alt="Show/Hide strategy">
98 <img src="{@docRoot}images/training/app-navigation-multiple-sizes-strategy-stack.png"
[all …]
/frameworks/base/core/jni/
Dandroid_view_VelocityTracker.cpp47 VelocityTrackerState(const char* strategy);
66 VelocityTrackerState::VelocityTrackerState(const char* strategy) : in VelocityTrackerState() argument
67 mVelocityTracker(strategy), mActivePointerId(-1) { in VelocityTrackerState()
144 ScopedUtfChars strategy(env, strategyStr); in android_view_VelocityTracker_nativeInitialize() local
145 return reinterpret_cast<jlong>(new VelocityTrackerState(strategy.c_str())); in android_view_VelocityTracker_nativeInitialize()
/frameworks/native/include/input/
DVelocityTracker.h66 VelocityTracker(const char* strategy = NULL);
112 bool configureStrategy(const char* strategy);
114 static VelocityTrackerStrategy* createStrategy(const char* strategy);
/frameworks/base/docs/html/training/
Ddistribute.jd8 <p>These classes focus on the business aspects of your app strategy, including techniques
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGraphRunner.java755 public void setSchedulerStrategy(int strategy) { in setSchedulerStrategy() argument
760 createScheduler(strategy); in setSchedulerStrategy()
984 private void createScheduler(int strategy) { in createScheduler() argument
985 switch (strategy) { in createScheduler()
997 "Unknown schedule-strategy constant " + strategy + "!"); in createScheduler()
/frameworks/av/services/audioflinger/
DEffects.h304 uint32_t strategy() const { return mStrategy; } in strategy() function
305 void setStrategy(uint32_t strategy) in setStrategy() argument
306 { mStrategy = strategy; } in setStrategy()
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
Dforeach_bounds.rs55 rssc.strategy = RS_FOR_EACH_STRATEGY_DONT_CARE;
/frameworks/av/services/audiopolicy/
DAudioPolicyManager.cpp877 routing_strategy strategy = getStrategy(stream); in getOutput() local
878 audio_devices_t device = getDeviceForStrategy(strategy, false /*fromCache*/); in getOutput()
961 routing_strategy strategy = (routing_strategy) getStrategyForAttr(&attributes); in getOutputForAttr() local
962 audio_devices_t device = getDeviceForStrategy(strategy, false /*fromCache*/); in getOutputForAttr()
1276 routing_strategy strategy = getStrategy(stream); in startOutput() local
1277 bool shouldWait = (strategy == STRATEGY_SONIFICATION) || in startOutput()
1278 (strategy == STRATEGY_SONIFICATION_RESPECTFUL) || in startOutput()
1329 if (strategy == STRATEGY_SONIFICATION) { in startOutput()
1934 routing_strategy strategy = getStrategy(AUDIO_STREAM_MUSIC); in getOutputForEffect() local
1935 audio_devices_t device = getDeviceForStrategy(strategy, false /*fromCache*/); in getOutputForEffect()
[all …]
DAudioPolicyManager.h149 uint32_t strategy,
491 bool isStrategyActive(routing_strategy strategy,
596 virtual audio_devices_t getDeviceForStrategy(routing_strategy strategy,
645 void setStrategyMute(routing_strategy strategy,
694 void checkOutputForStrategy(routing_strategy strategy);
DAudioPolicyInterfaceImplLegacy.cpp427 uint32_t strategy, in registerEffect() argument
434 return mpAudioPolicy->register_effect(mpAudioPolicy, desc, io, strategy, session, id); in registerEffect()
DAudioPolicyInterfaceImpl.cpp452 uint32_t strategy, in registerEffect() argument
459 return mAudioPolicyManager->registerEffect(desc, io, strategy, session, id); in registerEffect()
DAudioPolicyInterface.h178 uint32_t strategy,
/frameworks/rs/scriptc/
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/base/tools/layoutlib/create/
DREADME.txt158 This strategy is now obsolete and replaced by the method delegates.
183 updated (See strategy 4- Refactoring Classes).
192 This strategy is now obsolete and replaced by the method delegates (See strategy 6- Method
228 In this case we have a strategy that tells the generator that anything returning, for example, the
235 This strategy is used to override method implementations. Given a method SomeClass.MethodName(), 1
/frameworks/support/v4/java/android/support/v4/content/
DFileProvider.java376 final PathStrategy strategy = getPathStrategy(context, authority); in getUriForFile() local
377 return strategy.getUriForFile(file); in getUriForFile()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecController.java389 int strategy = pickStrategy & Constants.POLL_STRATEGY_MASK; in pickPollCandidates() local
391 switch (strategy) { in pickPollCandidates()
/frameworks/base/docs/html/distribute/googleplay/
Dguide.jd12 practices to help you build an effective strategy.
/frameworks/rs/
DrsDefines.h388 enum RsForEachStrategy strategy; member
/frameworks/av/include/media/
DIAudioPolicyService.h105 uint32_t strategy,
DAudioSystem.h270 uint32_t strategy,
/frameworks/base/docs/html/training/cloudsave/
Dconflict-res.jd39 <p>This article describes how to design a robust conflict resolution strategy for
118 CollectAllTheStars</a> sample game uses a variant of this strategy.</li>
148 of coins (failed strategy).</p>
203 <p>This strategy would fail&mdash;the player's bank has gone from 20
254 strategy.</p>
486 key-value pair strategy.</p>
581 <p>There is a limit to the size of cloud save data, so in following the strategy
/frameworks/base/docs/html/about/
Dstart.jd58 <p>How you proceed depends on a variety of factors, such as your monetization strategy and which
/frameworks/av/media/libmedia/
DIAudioPolicyService.cpp405 uint32_t strategy, in registerEffect() argument
413 data.writeInt32(strategy); in registerEffect()
969 uint32_t strategy = data.readInt32(); in onTransact() local
974 strategy, in onTransact()

123