HomeSort by relevance Sort by last modified time
    Searched defs:strategy (Results 1 - 25 of 122) sorted by null

1 2 3 4 5

  /external/objenesis/main/src/org/objenesis/strategy/
InstantiatorStrategy.java 16 package org.objenesis.strategy;
21 * Defines a strategy to determine the best instantiator for a class.
StdInstantiatorStrategy.java 16 package org.objenesis.strategy;
SerializingInstantiatorStrategy.java 16 package org.objenesis.strategy;
BaseInstantiatorStrategy.java 16 package org.objenesis.strategy;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
AndroidXmlFormatter.java 76 AndroidXmlFormattingStrategy strategy = new AndroidXmlFormattingStrategy(); local
79 strategy.formatterStarts(context);
80 strategy.format();
81 strategy.formatterStops();
  /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...]
  /external/guava/guava/src/com/google/common/base/
Splitter.java 101 private final Strategy strategy; field in class:Splitter
104 private Splitter(Strategy strategy) {
105 this(strategy, false, CharMatcher.NONE, Integer.MAX_VALUE);
108 private Splitter(Strategy strategy, boolean omitEmptyStrings,
110 this.strategy = strategy;
141 return new Splitter(new Strategy() {
    [all...]
  /external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
Splitter.java 98 private final Strategy strategy; field in class:Splitter
101 private Splitter(Strategy strategy) {
102 this(strategy, false, CharMatcher.NONE, Integer.MAX_VALUE);
105 private Splitter(Strategy strategy, boolean omitEmptyStrings,
107 this.strategy = strategy;
138 return new Splitter(new Strategy() {
    [all...]
  /external/objenesis/main/src/org/objenesis/
ObjenesisBase.java 22 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
32 /** Strategy used by this Objenesi implementation to create classes */
33 protected final InstantiatorStrategy strategy; field in class:ObjenesisBase
35 /** Strategy cache. Key = Class, Value = InstantiatorStrategy */
39 * Constructor allowing to pick a strategy and using cache
41 * @param strategy Strategy to use
43 public ObjenesisBase(InstantiatorStrategy strategy) {
44 this(strategy, true);
    [all...]
  /libcore/benchmarks/src/benchmarks/regression/
SchemePrefixBenchmark.java 27 enum Strategy {
74 @Param Strategy strategy; field in class:SchemePrefixBenchmark
78 strategy.execute("http://android.com");
  /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...]
LSDocumentBuilderFactory.java 38 * Abstract class for a strategy to map a DocumentBuilderSetting
109 * A strategy for a setting that can be applied by setting a DOMConfiguration
195 * A strategy for the validation settings which require
297 Object strategy = strategies.get(settings[i].getProperty()); local
298 if (strategy == null) {
302 ( (LSStrategy) strategy).applySetting(settings[i], parser);
  /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...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/
AndroidDoubleClickStrategyTest.java 55 AndroidDoubleClickStrategy strategy = new AndroidDoubleClickStrategy(); local
63 Point positions = strategy.getWord(before, cursor);
  /bootable/recovery/applypatch/
imgpatch.c 122 int strategy = Read4(deflate_header+56); local
207 ret = deflateInit2(&strm, level, method, windowBits, memLevel, strategy);
  /external/chromium/chrome/browser/renderer_host/
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.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...]
  /external/jmonkeyengine/engine/src/desktop/com/jme3/system/awt/
AwtPanel.java 37 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.getDrawGraphics()
    [all...]
  /external/robolectric/lib/main/
objenesis-1.0.jar 
  /prebuilts/tools/common/m2/internal/org/objenesis/objenesis/1.2/
objenesis-1.2.jar 
  /prebuilts/tools/common/objenesis/
objenesis-1.2.jar 
  /external/ceres-solver/internal/ceres/
trust_region_minimizer.cc 122 TrustRegionStrategy* strategy = CHECK_NOTNULL(options_.trust_region_strategy); local
148 iteration_summary.trust_region_radius = strategy->Radius();
249 strategy->ComputeStep(per_solve_options,
439 strategy->StepAccepted(iteration_summary.relative_decrease);
516 strategy->StepRejected(iteration_summary.relative_decrease);
518 strategy->StepIsInvalid();
523 iteration_summary.trust_region_radius = strategy->Radius();
  /external/chromium/webkit/glue/media/
buffered_data_source.cc 321 BufferedResourceLoader::DeferStrategy strategy = ChooseDeferStrategy(); local
322 loader_->UpdateDeferStrategy(strategy);
358 BufferedResourceLoader::DeferStrategy strategy = ChooseDeferStrategy(); local
359 loader_->UpdateDeferStrategy(strategy);
376 BufferedResourceLoader::DeferStrategy strategy = ChooseDeferStrategy(); local
377 loader_->UpdateDeferStrategy(strategy);
  /external/zlib/src/
gzguts.h 167 int strategy; /* compression strategy */ member in struct:__anon18676
  /libcore/luni/src/main/java/java/util/zip/
Deflater.java 88 * The default compression strategy.
98 * A compression strategy.
103 * A compression strategy.
151 private int strategy = DEFAULT_STRATEGY; field in class:Deflater
166 * The compression strategy can be specified with {@link #setStrategy}. A
177 * The compression strategy can be specified with {@link #setStrategy}.
190 * header. The strategy can be specified using {@link #setStrategy}.
197 streamHandle = createStream(compressLevel, strategy, noHeader);
356 * previously made settings for the compression strategy or level. This
412 setLevelsImpl(compressLevel, strategy, streamHandle)
    [all...]

Completed in 311 milliseconds

1 2 3 4 5