/frameworks/base/core/java/android/view/ |
H A D | VelocityTracker.java | 40 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...] |
H A D | ViewGroup.java | 7172 // strategy breaks transitivity but produces very good results. Coming 7173 // up with a new strategy requires time which we do not have, so ... 7226 public static void setComparisonStrategy(int strategy) { argument 7227 sComparisonStrategy = strategy;
|
/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<jlong>(new VelocityTrackerState(strategy.c_str()));
|
/frameworks/av/services/audiopolicy/ |
H A D | AudioPolicyInterfaceImplLegacy.cpp | 427 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 D | AudioPolicyInterfaceImpl.cpp | 452 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 D | AudioPolicyManager.cpp | 618 // 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...] |
/frameworks/base/rs/java/android/renderscript/ |
H A D | Script.java | 420 private int strategy; field in class:Script.LaunchOptions
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | Script.java | 478 private int strategy; field in class:Script.LaunchOptions
|
/frameworks/av/services/audioflinger/ |
H A D | Effects.h | 304 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 D | AudioFlinger.cpp | 2669 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,
|
H A D | Threads.cpp | 976 lStatus = AudioSystem::registerEffect(desc, mId, chain->strategy(), sessionId, id); 1490 // all tracks in same audio session must share the same routing strategy otherwise 1493 uint32_t strategy = AudioSystem::getStrategyForStream(streamType); local 1498 if (sessionId == t->sessionId() && strategy != actual) { 1499 ALOGE("createTrack_l() mismatched strategy; expected %u but found %u", 1500 strategy, actual); 1996 // session AUDIO_SESSION_OUTPUT_MIX is placed in same strategy as MUSIC stream so that
|
/frameworks/native/libs/input/ |
H A D | VelocityTracker.cpp | 102 // 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/av/media/libmedia/ |
H A D | IAudioPolicyService.cpp | 407 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 D | AudioSystem.cpp | 784 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/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | StaggeredGridLayoutManagerTest.java | 608 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";
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | GraphRunner.java | 32 * 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/rs/ |
H A D | rsDefines.h | 388 enum RsForEachStrategy strategy; member in struct:__anon1521
|