Searched defs:strategy (Results 1 - 25 of 58) sorted by relevance

123

/external/objenesis/main/src/org/objenesis/strategy/
H A DInstantiatorStrategy.java16 package org.objenesis.strategy;
21 * Defines a strategy to determine the best instantiator for a class.
H A DSerializingInstantiatorStrategy.java16 package org.objenesis.strategy;
H A DStdInstantiatorStrategy.java16 package org.objenesis.strategy;
H A DBaseInstantiatorStrategy.java16 package org.objenesis.strategy;
/external/objenesis/main/src/org/objenesis/
H A DObjenesisBase.java22 import org.objenesis.strategy.InstantiatorStrategy;
25 * Base class to extend if you want to have a class providing your own default strategy. Can also be
33 protected final InstantiatorStrategy strategy; field in class:ObjenesisBase
39 * Constructor allowing to pick a strategy and using cache
41 * @param strategy Strategy to use
43 public ObjenesisBase(InstantiatorStrategy strategy) { argument
44 this(strategy, true);
48 * Flexible constructor allowing to pick the strategy and if caching should be used
50 * @param strategy Strategy to use
53 public ObjenesisBase(InstantiatorStrategy strategy, boolea argument
[all...]
/external/chromium_org/chrome/renderer/extensions/
H A Ddom_activity_logger.cc34 ActivityLogConverterStrategy strategy; local
36 converter->SetStrategy(&strategy);
H A Dapi_activity_logger.cc60 ActivityLogConverterStrategy strategy; local
62 converter->SetStrategy(&strategy);
/external/droiddriver/src/com/google/android/droiddriver/finders/
H A DByAttribute.java27 private final MatchStrategy<? super T> strategy; field in class:ByAttribute
30 protected ByAttribute(Attribute attribute, MatchStrategy<? super T> strategy, T expected) { argument
32 this.strategy = checkNotNull(strategy);
39 return strategy.match(expected, value);
44 return String.format("ByAttribute{%s %s %s}", attribute, strategy, expected);
H A DBy.java73 * @param strategy the matching strategy, for instance, equals or matches
79 MatchStrategy<? super T> strategy, T expected) {
80 return new ByAttribute<T>(attribute, strategy, expected);
78 attribute(Attribute attribute, MatchStrategy<? super T> strategy, T expected) argument
/external/chromium_org/ui/compositor/
H A Dscoped_layer_animation_settings.cc64 LayerAnimator::PreemptionStrategy strategy) {
65 animator_->set_preemption_strategy(strategy);
63 SetPreemptionStrategy( LayerAnimator::PreemptionStrategy strategy) argument
H A Dlayer_animator.h96 // Sets the animation preemption strategy. This determines the behaviour if
99 void set_preemption_strategy(PreemptionStrategy strategy) { argument
100 preemption_strategy_ = strategy;
/external/mockito/src/org/mockito/internal/configuration/injection/
H A DMockInjectionStrategy.java12 * Injector strategy contract
17 * NOP Strategy that will always try the next strategy.
31 * Enqueue next injection strategy.
37 * @param strategy Queued strategy.
38 * @return The passed strategy instance to allow chaining.
40 public MockInjectionStrategy thenTry(MockInjectionStrategy strategy) { argument
42 nextStrategy.thenTry(strategy);
44 nextStrategy = strategy;
46 return strategy;
[all...]
/external/emma/core/java12/com/vladium/util/
H A DClassLoaderResolver.java110 * Gets the current classloader selection strategy setting.
118 * Sets the classloader selection strategy to be used by subsequent calls
122 * @param strategy new strategy [may not be null]
125 public static synchronized IClassLoadStrategy setStrategy (final IClassLoadStrategy strategy) argument
127 if (strategy == null) throw new IllegalArgumentException ("null input: strategy");
130 s_strategy = strategy;
/external/chromium_org/third_party/zlib/
H A Dgzguts.h106 int strategy; /* compression strategy */ member in struct:__anon14047
/external/guava/guava/src/com/google/common/base/
H A DSplitter.java101 private final Strategy strategy; field in class:Splitter
104 private Splitter(Strategy strategy) { argument
105 this(strategy, false, CharMatcher.NONE, Integer.MAX_VALUE);
108 private Splitter(Strategy strategy, boolean omitEmptyStrings, argument
110 this.strategy = strategy;
302 return new Splitter(strategy, true, trimmer, limit);
327 return new Splitter(strategy, omitEmptyStrings, trimmer, limit);
360 return new Splitter(strategy, omitEmptyStrings, trimmer, limit);
381 return strategy
[all...]
/external/guava/guava/src/com/google/common/hash/
H A DBloomFilter.java44 * A strategy to translate T instances, to {@code numHashFunctions} bit indexes.
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);
99 strategy.put(object, funnel, numHashFunctions, bits);
220 final Strategy strategy; field in class:BloomFilter.SerialForm
226 this.strategy
77 BloomFilter(BitArray bits, int numHashFunctions, Funnel<T> funnel, Strategy strategy) argument
[all...]
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
H A DSplitter.java98 private final Strategy strategy; field in class:Splitter
101 private Splitter(Strategy strategy) { argument
102 this(strategy, false, CharMatcher.NONE, Integer.MAX_VALUE);
105 private Splitter(Strategy strategy, boolean omitEmptyStrings, argument
107 this.strategy = strategy;
244 return new Splitter(strategy, true, trimmer, limit);
269 return new Splitter(strategy, omitEmptyStrings, trimmer, limit);
302 return new Splitter(strategy, omitEmptyStrings, trimmer, limit);
323 return strategy
[all...]
/external/robolectric/lib/main/
H A Dobjenesis-1.0.jar ... org/objenesis/instantiator/jrockit/ org/objenesis/instantiator/sun/ org/objenesis/strategy/ org/objenesis/instantiator/basic/AccessibleInstantiator.class AccessibleInstantiator.java ...
/external/ceres-solver/internal/ceres/
H A Dtrust_region_minimizer.cc91 TrustRegionStrategy* strategy = CHECK_NOTNULL(options_.trust_region_strategy); local
117 iteration_summary.trust_region_radius = strategy->Radius();
219 strategy->ComputeStep(per_solve_options,
460 strategy->StepAccepted(iteration_summary.relative_decrease);
537 strategy->StepRejected(iteration_summary.relative_decrease);
539 strategy->StepIsInvalid();
544 iteration_summary.trust_region_radius = strategy->Radius();
/external/chromium/chrome/browser/renderer_host/
H A Dweb_cache_manager.cc88 // 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
210 AttemptTactic( AllocationTactic active_tactic, const WebCache::UsageStats& active_stats, AllocationTactic inactive_tactic, const WebCache::UsageStats& inactive_stats, AllocationStrategy* strategy) argument
251 AddToStrategy(const std::set<int>& renderers, AllocationTactic tactic, size_t extra_bytes_to_allocate, AllocationStrategy* strategy) argument
280 EnactStrategy(const AllocationStrategy& strategy) argument
357 AllocationStrategy strategy; local
[all...]
H A Dweb_cache_manager_unittest.cc64 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
59 AttemptTactic(WebCacheManager* h, int active_tactic, const WebCache::UsageStats& active_stats, int inactive_tactic, const WebCache::UsageStats& inactive_stats, std::list< std::pair<int,size_t> >* strategy) argument
72 AddToStrategy(WebCacheManager* h, std::set<int> renderers, int tactic, size_t extra_bytes_to_allocate, std::list< std::pair<int,size_t> >* strategy) argument
279 AllocationStrategy strategy; local
284 &strategy); local
[all...]
/external/chromium_org/chrome/browser/renderer_host/
H A Dweb_cache_manager.cc96 // Revise our allocation strategy to account for this new renderer.
243 AllocationStrategy* strategy) {
244 DCHECK(strategy);
272 AddToStrategy(active_renderers_, active_tactic, active_extra, strategy);
273 AddToStrategy(inactive_renderers_, inactive_tactic, inactive_extra, strategy);
275 // We succeeded in computing an allocation strategy.
282 AllocationStrategy* strategy) {
283 DCHECK(strategy);
302 // Record the allocation in our strategy.
303 strategy
238 AttemptTactic( AllocationTactic active_tactic, const WebCache::UsageStats& active_stats, AllocationTactic inactive_tactic, const WebCache::UsageStats& inactive_stats, AllocationStrategy* strategy) argument
279 AddToStrategy(const std::set<int>& renderers, AllocationTactic tactic, size_t extra_bytes_to_allocate, AllocationStrategy* strategy) argument
308 EnactStrategy(const AllocationStrategy& strategy) argument
387 AllocationStrategy strategy; local
[all...]
H A Dweb_cache_manager_unittest.cc65 std::list< std::pair<int,size_t> >* strategy) {
71 strategy);
77 std::list< std::pair<int,size_t> >* strategy) {
81 strategy);
234 AllocationStrategy strategy; local
241 &strategy));
242 EXPECT_TRUE(strategy.empty());
249 &strategy));
250 EXPECT_EQ(2U, strategy.size());
252 AllocationStrategy::iterator iter = strategy
60 AttemptTactic(WebCacheManager* h, int active_tactic, const WebCache::UsageStats& active_stats, int inactive_tactic, const WebCache::UsageStats& inactive_stats, std::list< std::pair<int,size_t> >* strategy) argument
73 AddToStrategy(WebCacheManager* h, std::set<int> renderers, int tactic, size_t extra_bytes_to_allocate, std::list< std::pair<int,size_t> >* strategy) argument
280 AllocationStrategy strategy; local
285 &strategy); local
[all...]
/external/chromium_org/content/renderer/
H A Dv8_value_converter_impl.cc108 void V8ValueConverterImpl::SetStrategy(Strategy* strategy) { argument
109 strategy_ = strategy;
/external/jmonkeyengine/engine/src/desktop/com/jme3/system/awt/
H A DAwtPanel.java37 private BufferStrategy strategy; field in class:AwtPanel
105 if (strategy != null){
106 // strategy.dispose();
107 strategy = null;
108 System.out.println("OGL: Not visible. Destroy strategy.");
144 // All operations on strategy should be synchronized (?)
145 if (strategy == null){
156 strategy = getBufferStrategy();
157 System.out.println("OGL: Visible. Create strategy.");
163 Graphics2D g2d = (Graphics2D) strategy
[all...]

Completed in 1697 milliseconds

123