/libcore/dom/src/test/java/org/w3c/domts/ |
DocumentBuilderSetting.java | 33 * strategy used to set or get property value. 35 private final DocumentBuilderSettingStrategy strategy; field in class:DocumentBuilderSetting 204 * @param strategy strategy, may not be null 209 DocumentBuilderSettingStrategy strategy) { 215 this.strategy = strategy; 232 return strategy.hasConflict(other.strategy); 241 return strategy.hasSetting(factory) == value [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
DocumentBuilderSetting.java | 33 * strategy used to set or get property value. 35 private final DocumentBuilderSettingStrategy strategy; field in class:DocumentBuilderSetting 204 * @param strategy strategy, may not be null 209 DocumentBuilderSettingStrategy strategy) { 215 this.strategy = strategy; 232 return strategy.hasConflict(other.strategy); 241 return strategy.hasSetting(factory) == value [all...] |
/frameworks/base/core/java/android/view/ |
VelocityTracker.java | 58 private static native int nativeInitialize(String strategy); 80 * Obtains a velocity tracker with the specified strategy. 83 * @param strategy The strategy, or null to use the default. 88 public static VelocityTracker obtain(String strategy) { 89 if (strategy == null) { 92 return new VelocityTracker(strategy); 133 private VelocityTracker(String strategy) { 134 mPtr = nativeInitialize(strategy); 135 mStrategy = strategy; [all...] |
/external/guava/guava/src/com/google/common/hash/ |
BloomFilter.java | 44 * A strategy to translate T instances, to {@code numHashFunctions} bit indexes. 46 interface Strategy extends java.io.Serializable { 70 * The strategy we employ to map an element T to {@code numHashFunctions} bit indexes. 72 private final Strategy strategy; field in class:BloomFilter 78 Strategy strategy) { 83 this.strategy = strategy; 91 return strategy.mightContain(object, funnel, numHashFunctions, bits) 220 final Strategy strategy; field in class:BloomFilter.SerialForm [all...] |
/libcore/luni/src/main/java/java/util/zip/ |
Deflater.java | 72 * The default compression strategy. 82 * A compression strategy. 87 * A compression strategy. 140 private int strategy = DEFAULT_STRATEGY; field in class:Deflater 154 * level. The strategy can be specified with {@link #setStrategy}. A 164 * level {@code level}. The strategy can be specified with {@link #setStrategy}. 179 * header. The strategy can be specified using {@link #setStrategy}. 191 streamHandle = createStream(compressLevel, strategy, noHeader); 350 * previously made settings for the compression strategy or level. This 406 setLevelsImpl(compressLevel, strategy, streamHandle) [all...] |
/hardware/msm7k/libaudio-qdsp5v2/ |
AudioPolicyManager.cpp | 52 uint32_t AudioPolicyManager::getDeviceForStrategy(routing_strategy strategy, bool fromCache) 57 device = mDeviceForStrategy[strategy]; 58 ALOGV("getDeviceForStrategy() from cache strategy %d, device %x", strategy, device); 62 switch (strategy) { 65 // when off call, DTMF strategy follows the same rules as MEDIA strategy 73 // for phone strategy, we first consider the forced use and then the available devices by order 77 if (mPhoneState != AudioSystem::MODE_IN_CALL || strategy != STRATEGY_DTMF) { 104 // - phone strategy should route STREAM_VOICE_CALL to A2D [all...] |
AudioPolicyManager.h | 49 // return appropriate device for streams handled by the specified strategy according to current 51 virtual uint32_t getDeviceForStrategy(routing_strategy strategy, bool fromCache = true);
|
/external/chromium/chrome/browser/renderer_host/ |
web_cache_manager.cc | 88 // Revise our allocation strategy to account for this new renderer. 215 AllocationStrategy* strategy) { 216 DCHECK(strategy); 244 AddToStrategy(active_renderers_, active_tactic, active_extra, strategy); 245 AddToStrategy(inactive_renderers_, inactive_tactic, inactive_extra, strategy); 247 // We succeeded in computing an allocation strategy. 254 AllocationStrategy* strategy) { 255 DCHECK(strategy); 274 // Record the allocation in our strategy. 275 strategy->push_back(Allocation(*iter, cache_size)) 357 AllocationStrategy strategy; local [all...] |
web_cache_manager_unittest.cc | 64 std::list< std::pair<int,size_t> >* strategy) { 70 strategy); 76 std::list< std::pair<int,size_t> >* strategy) { 80 strategy); 233 AllocationStrategy strategy; local 240 &strategy)); 241 EXPECT_TRUE(strategy.empty()); 248 &strategy)); 249 EXPECT_EQ(2U, strategy.size()); 251 AllocationStrategy::iterator iter = strategy.begin() 279 AllocationStrategy strategy; local 284 &strategy); local [all...] |
web_cache_manager.h | 90 // An allocation strategy is a list of allocations specifying the resources 107 // The various tactics used as part of an allocation strategy. To decide 112 // Determining a resource allocation strategy amounts to picking a tactic 136 // Helper functions for devising an allocation strategy 149 // Attempt to use the specified tactics to compute an allocation strategy 150 // and place the result in |strategy|. |active_stats| and |inactive_stats| 155 // |strategy| on failure. 160 AllocationStrategy* strategy); 163 // |tactic| and add the result to |strategy|. Any |extra_bytes_to_allocate| 168 AllocationStrategy* strategy); [all...] |
/hardware/msm7k/libaudio-qsd8k/ |
AudioPolicyManager.h | 49 // return appropriate device for streams handled by the specified strategy according to current 51 virtual uint32_t getDeviceForStrategy(routing_strategy strategy, bool fromCache = true);
|
AudioPolicyManager.cpp | 52 uint32_t AudioPolicyManager::getDeviceForStrategy(routing_strategy strategy, bool fromCache) 57 device = mDeviceForStrategy[strategy]; 58 ALOGV("getDeviceForStrategy() from cache strategy %d, device %x", strategy, device); 62 switch (strategy) { 65 // when off call, DTMF strategy follows the same rules as MEDIA strategy 73 // for phone strategy, we first consider the forced use and then the available devices by order 77 if (mPhoneState != AudioSystem::MODE_IN_CALL || strategy != STRATEGY_DTMF) { 104 // - phone strategy should route STREAM_VOICE_CALL to A2D [all...] |