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

1234

/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/browser/devtools/
H A Ddevtools_contents_resizing_strategy.cc22 const DevToolsContentsResizingStrategy& strategy) {
23 bounds_ = strategy.bounds();
24 hide_inspected_contents_ = strategy.hide_inspected_contents();
28 const DevToolsContentsResizingStrategy& strategy) {
29 return bounds_ == strategy.bounds() &&
30 hide_inspected_contents_ == strategy.hide_inspected_contents();
34 const DevToolsContentsResizingStrategy& strategy,
41 const gfx::Rect& bounds = strategy.bounds();
42 if (bounds.size().IsEmpty() && !strategy.hide_inspected_contents()) {
21 CopyFrom( const DevToolsContentsResizingStrategy& strategy) argument
27 Equals( const DevToolsContentsResizingStrategy& strategy) argument
33 ApplyDevToolsContentsResizingStrategy( const DevToolsContentsResizingStrategy& strategy, const gfx::Size& container_size, gfx::Rect* new_devtools_bounds, gfx::Rect* new_contents_bounds) argument
/external/chromium_org/chrome/browser/prefs/
H A Dmock_validation_delegate.h29 strategy(tracking_strategy) {}
34 PrefHashFilter::PrefTrackingStrategy strategy; member in struct:MockValidationDelegate::ValidationEvent
68 PrefHashFilter::PrefTrackingStrategy strategy);
H A Dmock_validation_delegate.cc59 PrefHashFilter::PrefTrackingStrategy strategy) {
61 ValidationEvent(pref_path, value_state, reset_action, strategy));
55 RecordValidation( const std::string& pref_path, PrefHashStoreTransaction::ValueState value_state, TrackedPreferenceHelper::ResetAction reset_action, PrefHashFilter::PrefTrackingStrategy strategy) argument
H A Dpref_hash_filter.h49 // tracked independently. Note: preferences using this strategy must be kept
58 PrefTrackingStrategy strategy; member in struct:PrefHashFilter::TrackedPreferenceMetadata
/external/chromium_org/extensions/renderer/
H A Dapi_activity_logger.cc58 ActivityLogConverterStrategy strategy; local
60 converter->SetStrategy(&strategy);
H A Ddom_activity_logger.cc30 ActivityLogConverterStrategy strategy; local
32 converter->SetStrategy(&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/chromium_org/chrome/browser/ui/views/frame/
H A Dcontents_layout_manager.cc22 const DevToolsContentsResizingStrategy& strategy) {
23 if (strategy_.Equals(strategy))
26 strategy_.CopyFrom(strategy);
21 SetContentsResizingStrategy( const DevToolsContentsResizingStrategy& strategy) argument
/external/chromium_org/third_party/angle/src/common/
H A Dblocklayout.cpp110 HLSLBlockEncoder::HLSLBlockEncoder(HLSLBlockEncoderStrategy strategy) argument
111 : mEncoderStrategy(strategy)
/external/chromium_org/ui/events/gesture_detection/
H A Dvelocity_tracker_state.cc20 VelocityTrackerState::VelocityTrackerState(VelocityTracker::Strategy strategy) argument
21 : velocity_tracker_(strategy), active_pointer_id_(ACTIVE_POINTER_ID) {}
H A Dvelocity_tracker_unittest.cc26 const char* GetStrategyName(VelocityTracker::Strategy strategy) { argument
27 switch (strategy) {
37 NOTREACHED() << "Invalid strategy";
94 VelocityTracker::Strategy strategy = local
97 SCOPED_TRACE(GetStrategyName(strategy));
98 VelocityTrackerState state(strategy);
150 VelocityTracker::Strategy strategy = local
153 SCOPED_TRACE(GetStrategyName(strategy));
154 VelocityTrackerState state(strategy);
/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/glide/library/tests/src/com/bumptech/glide/load/engine/bitmap_recycle/
H A DSizeStrategyTest.java7 private SizeStrategy strategy; field in class:SizeStrategyTest
12 strategy = new SizeStrategy();
16 assertNull(strategy.get(100, 100, Bitmap.Config.ARGB_8888));
21 strategy.put(bitmap);
22 assertEquals(bitmap, strategy.get(bitmap.getWidth(), bitmap.getHeight(), Bitmap.Config.ARGB_8888));
27 strategy.put(original);
28 assertEquals(original, strategy.get(800, 400, Bitmap.Config.RGB_565));
33 strategy.put(original);
34 assertEquals(original, strategy.get(200, 800, Bitmap.Config.ARGB_8888));
39 strategy
[all...]
/external/chromium_org/chrome/browser/chromeos/net/
H A Dnetwork_portal_detector_impl_browsertest.cc138 PortalDetectorStrategy* strategy() { function in class:chromeos::NetworkPortalDetectorImplBrowserTest
154 ASSERT_EQ(PortalDetectorStrategy::STRATEGY_ID_LOGIN_SCREEN, strategy()->Id());
174 ASSERT_EQ(PortalDetectorStrategy::STRATEGY_ID_SESSION, strategy()->Id());
/external/chromium_org/chrome/browser/extensions/api/copresence/
H A Dcopresence_translations.cc36 BroadcastScanConfiguration TranslateStrategy(const Strategy& strategy) { argument
37 bool only_broadcast = strategy.only_broadcast && *strategy.only_broadcast;
38 bool only_scan = strategy.only_scan && *strategy.only_scan;
50 // The strategy may be null (unspecified), so we pass it as a pointer.
51 void SetTokenExchangeStrategy(const Strategy* strategy, argument
54 if (strategy) {
55 BroadcastScanConfiguration config = TranslateStrategy(*strategy);
60 strategy
[all...]
/external/chromium_org/components/policy/core/browser/
H A Dconfiguration_policy_handler_unittest.cc35 SchemaOnErrorStrategy strategy)
36 : SchemaValidatingPolicyHandler("PolicyForTesting", schema, strategy) {}
34 TestSchemaValidatingPolicyHandler(const Schema& schema, SchemaOnErrorStrategy strategy) argument
/external/chromium_org/third_party/skia/src/core/
H A DSkBBoxHierarchyRecord.cpp74 SkCanvas::SaveLayerStrategy strategy = this->INHERITED::willSaveLayer(bounds, paint, flags); local
79 return strategy;
/external/chromium_org/third_party/zlib/
H A Dgzguts.h106 int strategy; /* compression strategy */ member in struct:__anon16404
/external/chromium_org/ui/compositor/
H A Dscoped_layer_animation_settings.cc140 LayerAnimator::PreemptionStrategy strategy) {
141 animator_->set_preemption_strategy(strategy);
139 SetPreemptionStrategy( LayerAnimator::PreemptionStrategy strategy) argument
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
H A DLruBitmapPool.java12 private final LruPoolStrategy strategy; field in class:LruBitmapPool
23 LruBitmapPool(int maxSize, LruPoolStrategy strategy) { argument
26 this.strategy = strategy;
33 strategy = new SizeStrategy();
35 strategy = new AttributeStrategy();
47 if (!bitmap.isMutable() || strategy.getSize(bitmap) > maxSize) {
51 final int size = strategy.getSize(bitmap);
52 strategy.put(bitmap);
58 Log.d(TAG, "Put bitmap in pool=" + strategy
[all...]

Completed in 3770 milliseconds

1234