Searched defs:delegate (Results 351 - 375 of 1356) sorted by relevance

<<11121314151617181920>>

/external/guava/guava/src/com/google/common/util/concurrent/
H A DForwardingBlockingQueue.java42 @Override protected abstract BlockingQueue<E> delegate(); method in class:ForwardingBlockingQueue
46 return delegate().drainTo(c, maxElements);
50 return delegate().drainTo(c);
55 return delegate().offer(e, timeout, unit);
60 return delegate().poll(timeout, unit);
64 delegate().put(e);
68 return delegate().remainingCapacity();
72 return delegate().take();
H A DJdkFutureAdapters.java83 * <p>If the delegate future is interrupted or throws an unexpected unchecked
102 // This allows us to only start up a thread waiting on the delegate future
106 // The delegate future.
107 private final Future<V> delegate; field in class:JdkFutureAdapters.ListenableFutureAdapter
109 ListenableFutureAdapter(Future<V> delegate) { argument
110 this(delegate, defaultAdapterExecutor);
113 ListenableFutureAdapter(Future<V> delegate, Executor adapterExecutor) { argument
114 this.delegate = checkNotNull(delegate);
119 protected Future<V> delegate() { method in class:JdkFutureAdapters.ListenableFutureAdapter
[all...]
/external/guava/guava-testlib/src/com/google/common/collect/testing/
H A DReserializingTestCollectionGenerator.java36 private final TestCollectionGenerator<E> delegate; field in class:ReserializingTestCollectionGenerator
38 ReserializingTestCollectionGenerator(TestCollectionGenerator<E> delegate) { argument
39 this.delegate = delegate;
43 TestCollectionGenerator<E> delegate) {
44 return new ReserializingTestCollectionGenerator<E>(delegate);
49 return reserialize(delegate.create(elements));
71 return delegate.samples();
76 return delegate.createArray(length);
81 return delegate
42 newInstance( TestCollectionGenerator<E> delegate) argument
[all...]
/external/guava/guava-tests/test/com/google/common/cache/
H A DForwardingCacheTest.java50 @Override protected Cache<String, Boolean> delegate() {
126 protected Cache<K, V> delegate() { method in class:ForwardingCacheTest.OnlyGet
/external/guava/guava-tests/test/com/google/common/collect/
H A DForwardingSortedMapImplementsMapTest.java37 final SortedMap<K, V> delegate; field in class:ForwardingSortedMapImplementsMapTest.SimpleForwardingSortedMap
38 SimpleForwardingSortedMap(SortedMap<K, V> delegate) { argument
39 this.delegate = delegate;
41 @Override protected SortedMap<K, V> delegate() { method in class:ForwardingSortedMapImplementsMapTest.SimpleForwardingSortedMap
42 return delegate;
/external/guava/guava-tests/test/com/google/common/io/
H A DCheckCloseSupplier.java26 * supplied by the delegate supplier are closed. To do this, the factory method
27 * returns a decorated version of the {@code delegate} supplied in the
42 private final InputSupplier<? extends T> delegate; field in class:CheckCloseSupplier.Input
44 public Input(InputSupplier<? extends T> delegate) { argument
45 this.delegate = delegate;
49 return wrap(delegate.getInput(), newCallback());
55 private final OutputSupplier<? extends T> delegate; field in class:CheckCloseSupplier.Output
57 public Output(OutputSupplier<? extends T> delegate) { argument
58 this.delegate
[all...]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DForwardingCheckedFutureTest.java42 private CheckedFuture<String, IOException> delegate = field in class:ForwardingCheckedFutureTest
49 expect(delegate.checkedGet()).andReturn(VALUE).times(2);
50 replay(delegate);
53 verify(delegate);
57 expect(delegate.checkedGet(100, TIME_UNIT)).andReturn(VALUE).times(2);
58 replay(delegate);
61 verify(delegate);
66 expect(delegate.checkedGet(100, TIME_UNIT))
68 replay(delegate);
77 verify(delegate);
102 protected CheckedFuture<String, IOException> delegate() { method in class:ForwardingCheckedFutureTest.TestDelegateFuture
[all...]
/external/jmdns/src/javax/jmdns/
H A DNetworkTopologyDiscovery.java12 * To create you own filtering class for Internet Addresses you will need to implement the class and the factory delegate. These must be called before any other call to JmDNS.
60 * This interface defines a delegate to the NetworkTopologyDiscovery.Factory class to enable subclassing.
65 * Allows the delegate the opportunity to construct and return a different NetworkTopologyDiscovery.
81 * Assigns <code>delegate</code> as NetworkTopologyDiscovery's class delegate. The class delegate is optional.
83 * @param delegate
84 * The object to set as NetworkTopologyDiscovery's class delegate.
88 public static void setClassDelegate(Factory.ClassDelegate delegate) { argument
89 _databaseClassDelegate.set(delegate);
[all...]
/external/mockito/src/org/mockito/internal/configuration/
H A DInjectingAnnotationEngine.java24 private AnnotationEngine delegate = new DefaultAnnotationEngine(); field in class:InjectingAnnotationEngine
35 return delegate.createMockFor(annotation, field);
71 delegate.process(classContext, testInstance);
/external/mockito/src/org/mockito/internal/stubbing/defaultanswers/
H A DReturnsDeepStubs.java45 private ReturnsEmptyValues delegate = new ReturnsEmptyValues(); field in class:ReturnsDeepStubs
53 return delegate.returnValueFor(rawType);
/external/mockito/src/org/mockito/verification/
H A DTimeout.java29 public Timeout(int millis, VerificationMode delegate) { argument
30 this(10, millis, delegate);
36 Timeout(int treshhold, int millis, VerificationMode delegate) { argument
37 this.impl = new VerificationWithTimeoutImpl(treshhold, millis, delegate);
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
H A DHttpsURLConnectionImpl.java26 private final HttpURLConnectionImpl delegate; field in class:HttpsURLConnectionImpl
32 public HttpsURLConnectionImpl(HttpURLConnectionImpl delegate) { argument
33 super(delegate);
34 this.delegate = delegate;
38 if (delegate.httpEngine == null) {
45 return delegate.httpEngine.hasResponse()
46 ? delegate.httpEngine.getResponse().handshake()
47 : delegate.handshake;
51 delegate
[all...]
H A DResponseCacheAdapter.java37 private final ResponseCache delegate; field in class:ResponseCacheAdapter
39 public ResponseCacheAdapter(ResponseCache delegate) { argument
40 this.delegate = delegate;
44 return delegate;
60 return delegate.put(uri, connection);
93 * Returns the {@link CacheResponse} from the delegate by converting the
98 return delegate.get(request.uri(), request.method(), headers);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/
H A DOpenSSLDigest.java29 private final MessageDigest delegate; field in class:OpenSSLDigest
35 delegate = MessageDigest.getInstance(algorithm, "AndroidOpenSSL");
43 return delegate.getAlgorithm();
47 return delegate.getDigestLength();
55 delegate.reset();
59 delegate.update(in);
63 delegate.update(in, inOff, len);
68 return delegate.digest(out, outOff, out.length - outOff);
/external/chromium_org/android_webview/browser/renderer_host/
H A Dprint_manager.cc25 PrintManagerDelegate* delegate)
29 delegate_(delegate),
22 PrintManager(content::WebContents* contents, PrintSettings* settings, int fd, PrintManagerDelegate* delegate) argument
/external/chromium_org/ash/autoclick/
H A Dautoclick_unittest.cc301 aura::test::EventCountDelegate delegate; local
303 &delegate, 123, gfx::Rect(50, 50, 100, 100)));
307 EXPECT_EQ("1 1 0", delegate.GetMouseMotionCountsAndReset());
/external/chromium_org/ash/drag_drop/
H A Ddrag_drop_tracker.cc21 // An activation delegate which disables activating the drag and drop window.
40 aura::WindowDelegate* delegate) {
44 aura::Window* window = new aura::Window(delegate);
59 aura::WindowDelegate* delegate)
60 : capture_window_(CreateCaptureWindow(context_root, delegate)) {
39 CreateCaptureWindow(aura::Window* context_root, aura::WindowDelegate* delegate) argument
58 DragDropTracker(aura::Window* context_root, aura::WindowDelegate* delegate) argument
/external/chromium_org/ash/rotator/
H A Dscreen_rotation.cc107 void ScreenRotation::OnStart(ui::LayerAnimationDelegate* delegate) { argument
111 ui::LayerAnimationDelegate* delegate) {
112 delegate->SetTransformFromAnimation(interpolated_transform_->Interpolate(t));
120 void ScreenRotation::OnAbort(ui::LayerAnimationDelegate* delegate) { argument
110 OnProgress(double t, ui::LayerAnimationDelegate* delegate) argument
/external/chromium_org/ash/system/chromeos/session/
H A Dtray_session_length_limit.cc93 SystemTrayDelegate* delegate = Shell::GetInstance()->system_tray_delegate(); local
94 if (delegate->GetSessionStartTime(&session_start_time_) &&
95 delegate->GetSessionLengthLimit(&time_limit_)) {
163 NULL /* delegate */));
/external/chromium_org/ash/system/locale/
H A Dlocale_notification_controller.cc29 explicit LocaleNotificationDelegate(LocaleObserver::Delegate* delegate);
49 LocaleObserver::Delegate* delegate)
50 : delegate_(delegate) {
92 LocaleObserver::Delegate* delegate,
96 if (!delegate)
123 new LocaleNotificationDelegate(delegate)));
48 LocaleNotificationDelegate( LocaleObserver::Delegate* delegate) argument
91 OnLocaleChanged( LocaleObserver::Delegate* delegate, const std::string& cur_locale, const std::string& from_locale, const std::string& to_locale) argument
/external/chromium_org/ash/system/
H A Dstatus_area_widget.cc45 params.delegate = status_area_widget_delegate_;
66 SystemTrayDelegate* delegate = local
68 DCHECK(delegate);
70 system_tray_->InitializeTrayItems(delegate);
77 UpdateAfterLoginStatusChange(delegate->GetUserLoginStatus());
/external/chromium_org/ash/test/
H A Dtest_system_tray_delegate.cc63 SessionStateDelegate* delegate = local
66 if (!delegate->IsActiveUserSessionStarted())
68 if (delegate->IsScreenLocked())
/external/chromium_org/ash/wm/
H A Dash_native_cursor_manager.cc75 ::wm::NativeCursorManagerDelegate* delegate) {
90 SetCursor(delegate->GetCursor(), delegate);
99 ::wm::NativeCursorManagerDelegate* delegate) {
113 delegate->CommitCursor(cursor);
115 if (delegate->IsCursorVisible())
121 ::wm::NativeCursorManagerDelegate* delegate) {
123 delegate->CommitCursorSet(cursor_set);
126 if (delegate->IsCursorVisible())
127 SetCursor(delegate
73 SetDisplay( const gfx::Display& display, ::wm::NativeCursorManagerDelegate* delegate) argument
97 SetCursor( gfx::NativeCursor cursor, ::wm::NativeCursorManagerDelegate* delegate) argument
119 SetCursorSet( ui::CursorSetType cursor_set, ::wm::NativeCursorManagerDelegate* delegate) argument
135 SetVisibility( bool visible, ::wm::NativeCursorManagerDelegate* delegate) argument
151 SetMouseEventsEnabled( bool enabled, ::wm::NativeCursorManagerDelegate* delegate) argument
[all...]
H A Dworkspace_controller.cc137 scoped_ptr<WorkspaceLayoutManagerDelegate> delegate) {
138 layout_manager_->SetMaximizeBackdropDelegate(delegate.Pass());
136 SetMaximizeBackdropDelegate( scoped_ptr<WorkspaceLayoutManagerDelegate> delegate) argument
/external/chromium_org/ash/wm/workspace/
H A Dmulti_window_resize_controller_unittest.cc39 aura::Window* CreateTestWindow(aura::WindowDelegate* delegate, argument
41 aura::Window* window = new aura::Window(delegate);

Completed in 403 milliseconds

<<11121314151617181920>>