Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/view/
DVelocityTracker.java58 private static native int nativeInitialize(String strategy); in nativeInitialize() argument
88 public static VelocityTracker obtain(String strategy) { in obtain() argument
89 if (strategy == null) { in obtain()
92 return new VelocityTracker(strategy); in obtain()
133 private VelocityTracker(String strategy) { in VelocityTracker() argument
134 mPtr = nativeInitialize(strategy); in VelocityTracker()
135 mStrategy = strategy; in VelocityTracker()
/frameworks/base/libs/androidfw/
DVelocityTracker.cpp110 VelocityTracker::VelocityTracker(const char* strategy) : in VelocityTracker() argument
115 if (!strategy) { in VelocityTracker()
118 strategy = value; in VelocityTracker()
120 strategy = DEFAULT_STRATEGY; in VelocityTracker()
125 if (!configureStrategy(strategy)) { in VelocityTracker()
126 ALOGD("Unrecognized velocity tracker strategy name '%s'.", strategy); in VelocityTracker()
129 strategy); in VelocityTracker()
138 bool VelocityTracker::configureStrategy(const char* strategy) { in configureStrategy() argument
139 mStrategy = createStrategy(strategy); in configureStrategy()
143 VelocityTrackerStrategy* VelocityTracker::createStrategy(const char* strategy) { in createStrategy() argument
[all …]
/frameworks/base/docs/html/training/design-navigation/
Dmultiple-sizes.jd79 <img src="{@docRoot}images/training/app-navigation-multiple-sizes-strategy-stretch.png"
80 alt="Stretch strategy">
81 …<p>The most straightforward strategy is to simply stretch each pane's width to best present the co…
84 <img src="{@docRoot}images/training/app-navigation-multiple-sizes-strategy-collapse.png"
85 alt="Expand/collapse strategy">
86 …<p>A variation on the stretch strategy is to collapse the contents of the left pane when in portra…
89 <img src="{@docRoot}images/training/app-navigation-multiple-sizes-strategy-show-hide.png"
90 alt="Show/Hide strategy">
94 <img src="{@docRoot}images/training/app-navigation-multiple-sizes-strategy-stack.png"
95 alt="Stack strategy">
[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<jint>(new VelocityTrackerState(strategy.c_str())); in android_view_VelocityTracker_nativeInitialize()
/frameworks/base/include/androidfw/
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/tools/layoutlib/create/
DREADME.txt138 This strategy is now obsolete and replaced by the method delegates.
166 This strategy is now obsolete and replaced by the method delegates.
167 See strategy 5 below.
199 In this case we have a strategy that tells the generator that anything returning, for
206 This strategy is used to override method implementations.
/frameworks/rs/scriptc/
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/
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/av/media/libmedia/
DIAudioPolicyService.cpp289 uint32_t strategy, in registerEffect() argument
297 data.writeInt32(strategy); in registerEffect()
571 uint32_t strategy = data.readInt32(); in onTransact() local
576 strategy, in onTransact()
DAudioSystem.cpp706 uint32_t strategy, in registerEffect() argument
712 return aps->registerEffect(desc, io, strategy, session, id); in registerEffect()
/frameworks/av/include/media/
DIAudioPolicyService.h85 uint32_t strategy,
DAudioSystem.h227 uint32_t strategy,
/frameworks/rs/
DrsDefines.h371 enum RsForEachStrategy strategy; member
/frameworks/base/docs/html/about/
Dstart.jd56 <p>How you proceed depends on a variety of factors, such as your monetization strategy and which
/frameworks/base/docs/html/tools/workflow/publishing/
Dversioning.jd13 <li>Determine your versioning strategy early in the development process, including considerations f…
36 strategy. Versioning is important because:</p>
/frameworks/base/docs/html/tools/workflow/
Dversioning.jd13 <li>Determine your versioning strategy early in the development process, including considerations f…
36 strategy. Versioning is important because:</p>
Dapp-signing.jd13 <li>Determine your signing strategy early in the development process</li>
114 <p>In general, the recommended strategy for all developers is to sign
145 <p>Another important consideration in determining your signing strategy is
/frameworks/base/docs/html/tools/publishing/
Dversioning.jd13 <li>Determine your versioning strategy early in the development process, including considerations f…
36 strategy. Versioning is important because:</p>
Dapp-signing.jd13 <li>Determine your signing strategy early in the development process</li>
114 <p>In general, the recommended strategy for all developers is to sign
145 <p>Another important consideration in determining your signing strategy is
/frameworks/av/services/audioflinger/
DAudioPolicyService.h101 uint32_t strategy,
DAudioFlinger.h1861 uint32_t strategy() const { return mStrategy; } in strategy() function
1862 void setStrategy(uint32_t strategy) in setStrategy() argument
1863 { mStrategy = strategy; } in setStrategy()
DAudioPolicyService.cpp451 uint32_t strategy, in registerEffect() argument
458 return mpAudioPolicy->register_effect(mpAudioPolicy, desc, io, strategy, session, id); in registerEffect()
/frameworks/base/docs/html/design/patterns/
Dwidgets.jd97 <p>Planning a resize strategy for your widget depends on the type of widget you're creating. List o…
106 …e in which your widget can redraw itself. Planning your widget resizing strategy across "size buck…
/frameworks/base/docs/html/guide/practices/
Dscreens-support-1.5.jd76 <p>The recommended strategy is to develop your application against Android 1.6 (because it's the

12