Searched refs:delegate (Results 1 - 25 of 2492) sorted by relevance

1234567891011>>

/external/mockito/src/org/mockito/internal/util/
H A DDefaultMockingDetails.java16 private MockUtil delegate; field in class:DefaultMockingDetails
18 public DefaultMockingDetails(Object toInspect, MockUtil delegate){ argument
20 this.delegate = delegate;
27 return delegate.isMock( toInspect );
35 return delegate.isSpy( toInspect );
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DForwardingImmutableCollection.java32 transient final Collection<E> delegate; field in class:ForwardingImmutableCollection
34 ForwardingImmutableCollection(Collection<E> delegate) { argument
35 this.delegate = delegate;
39 return Iterators.unmodifiableIterator(delegate.iterator());
43 return object != null && delegate.contains(object);
47 return delegate.containsAll(targets);
51 return delegate.size();
55 return delegate.isEmpty();
59 return delegate
[all...]
H A DImmutableAsList.java27 ImmutableAsList(List<E> delegate) { argument
28 super(delegate);
H A DImmutableEnumSet.java28 public ImmutableEnumSet(Set<E> delegate) { argument
29 super(delegate);
H A DRegularImmutableList.java27 RegularImmutableList(List<E> delegate) { argument
28 super(delegate);
H A DRegularImmutableSortedSet.java31 RegularImmutableSortedSet(SortedSet<E> delegate, boolean isSubset) { argument
32 super(delegate);
/external/chromium_org/content/shell/app/
H A Dshell_content_main.cc13 content::ShellMainDelegate delegate; local
14 return content::ContentMain(argc, argv, &delegate);
/external/guava/guava/src/com/google/common/util/concurrent/
H A DForwardingListenableFuture.java43 protected abstract ListenableFuture<V> delegate(); method in class:ForwardingListenableFuture
47 delegate().addListener(listener, exec);
57 * as the delegate.
63 private final ListenableFuture<V> delegate; field in class:ForwardingListenableFuture.SimpleForwardingListenableFuture
65 protected SimpleForwardingListenableFuture(ListenableFuture<V> delegate) { argument
66 this.delegate = Preconditions.checkNotNull(delegate);
70 protected final ListenableFuture<V> delegate() { method in class:ForwardingListenableFuture.SimpleForwardingListenableFuture
71 return delegate;
/external/guava/guava-tests/test/com/google/common/collect/
H A DForwardingObjectTest.java31 final Object delegate = new Object();
33 @Override protected Object delegate() {
34 return delegate;
41 final Set<String> delegate = Sets.newHashSet("foo");
43 @Override protected Object delegate() {
44 return delegate;
47 assertEquals(forward.equals(delegate), delegate.equals(forward));
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
H A DAwScrollOffsetManagerTest.java98 TestScrollOffsetManagerDelegate delegate, int scrollX, int scrollY) {
100 int callCount = delegate.getOverScrollCallCount();
102 // The manager then asks the delegate to overscroll the view.
103 assertEquals(callCount + 1, delegate.getOverScrollCallCount());
104 assertEquals(scrollX, delegate.getOverScrollDeltaX() + delegate.getScrollX());
105 assertEquals(scrollY, delegate.getOverScrollDeltaY() + delegate.getScrollY());
111 TestScrollOffsetManagerDelegate delegate) {
112 assertTrue(delegate
97 simulateScrolling(AwScrollOffsetManager offsetManager, TestScrollOffsetManagerDelegate delegate, int scrollX, int scrollY) argument
110 simlateOverScrollPropagation(AwScrollOffsetManager offsetManager, TestScrollOffsetManagerDelegate delegate) argument
[all...]
/external/guava/guava/src/com/google/common/collect/
H A DForwardingListIterator.java39 @Override protected abstract ListIterator<E> delegate(); method in class:ForwardingListIterator
43 delegate().add(element);
48 return delegate().hasPrevious();
53 return delegate().nextIndex();
58 return delegate().previous();
63 return delegate().previousIndex();
68 delegate().set(element);
H A DImmutableEnumSet.java42 private final transient EnumSet<E> delegate; field in class:ImmutableEnumSet
44 ImmutableEnumSet(EnumSet<E> delegate) { argument
45 this.delegate = delegate;
53 return Iterators.unmodifiableIterator(delegate.iterator());
58 return delegate.size();
62 return delegate.contains(object);
66 return delegate.containsAll(collection);
70 return delegate.isEmpty();
74 return delegate
106 final EnumSet<E> delegate; field in class:ImmutableEnumSet.EnumSerializedForm
107 EnumSerializedForm(EnumSet<E> delegate) argument
[all...]
H A DForwardingTable.java42 @Override protected abstract Table<R, C, V> delegate(); method in class:ForwardingTable
46 return delegate().cellSet();
51 delegate().clear();
56 return delegate().column(columnKey);
61 return delegate().columnKeySet();
66 return delegate().columnMap();
71 return delegate().contains(rowKey, columnKey);
76 return delegate().containsColumn(columnKey);
81 return delegate().containsRow(rowKey);
86 return delegate()
[all...]
/external/chromium_org/chrome/browser/
H A Dcrash_upload_list.cc18 CrashUploadList* CrashUploadList::Create(Delegate* delegate) { argument
24 return new CrashUploadListWin(delegate, upload_log_path);
26 return new CrashUploadList(delegate, upload_log_path);
30 CrashUploadList::CrashUploadList(Delegate* delegate, argument
32 : UploadList(delegate, upload_log_path) {}
/external/chromium_org/ui/aura/gestures/
H A Dgesture_recognizer_unittest.cc65 // A delegate that keeps track of gesture events.
373 // A delegate that ignores gesture events but keeps track of [synthetic] mouse
540 GestureEventConsumeDelegate* delegate) {
559 GestureEventConsumeDelegate* delegate) {
560 delegate->Reset();
642 scoped_ptr<GestureEventConsumeDelegate> delegate(
650 delegate.get(), -1234, bounds, root_window()));
652 delegate->Reset();
656 EXPECT_FALSE(delegate->tap());
657 EXPECT_TRUE(delegate
532 SendScrollEvents(RootWindow* root_window, int x_start, int y_start, int dx, int dy, int touch_id, int time_step, int num_steps, GestureEventConsumeDelegate* delegate) argument
555 SendScrollEvent(RootWindow* root_window, int x, int y, int touch_id, GestureEventConsumeDelegate* delegate) argument
[all...]
/external/chromium_org/content/browser/web_contents/
H A Dweb_contents_delegate_unittest.cc30 scoped_ptr<MockWebContentsDelegate> delegate(new MockWebContentsDelegate());
32 // Setting a delegate should work correctly.
33 contents_a->SetDelegate(delegate.get());
34 EXPECT_EQ(delegate.get(), contents_a->GetDelegate());
37 // A delegate can be a delegate to multiple WebContentsImpl.
38 contents_b->SetDelegate(delegate.get());
39 EXPECT_EQ(delegate.get(), contents_a->GetDelegate());
40 EXPECT_EQ(delegate.get(), contents_b->GetDelegate());
42 // Setting the same delegate multipl
[all...]
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
H A DHttpsURLConnectionImpl.java41 private final HttpUrlConnectionDelegate delegate; field in class:HttpsURLConnectionImpl
45 delegate = new HttpUrlConnectionDelegate(url, client);
49 SecureCacheResponse cacheResponse = delegate.getSecureCacheResponse();
61 SecureCacheResponse cacheResponse = delegate.getSecureCacheResponse();
74 SecureCacheResponse cacheResponse = delegate.getSecureCacheResponse();
87 SecureCacheResponse cacheResponse = delegate.getSecureCacheResponse();
99 SecureCacheResponse cacheResponse = delegate.getSecureCacheResponse();
111 return delegate.getHttpEngine();
115 if (delegate.httpEngine == null || !delegate
[all...]
/external/chromium_org/android_webview/native/
H A Daw_browser_dependency_factory.cc23 AwBrowserDependencyFactory* delegate) {
24 g_instance = delegate;
22 SetInstance( AwBrowserDependencyFactory* delegate) argument
/external/chromium_org/chrome/browser/chromeos/login/
H A Dlogin_display.cc11 LoginDisplay::LoginDisplay(Delegate* delegate, argument
13 : delegate_(delegate),
/external/chromium_org/components/autofill/content/browser/wallet/
H A Dmock_wallet_client.cc11 wallet::WalletClientDelegate* delegate)
12 : wallet::WalletClient(context, delegate) {}
10 MockWalletClient(net::URLRequestContextGetter* context, wallet::WalletClientDelegate* delegate) argument
/external/chromium_org/ui/base/ime/
H A Dinput_method_factory.cc29 internal::InputMethodDelegate* delegate,
32 return new InputMethodTSF(delegate, widget);
34 return new InputMethodIMM32(delegate, widget);
40 InputMethod* CreateInputMethod(internal::InputMethodDelegate* delegate, argument
43 return new MockInputMethod(delegate);
45 return new InputMethodIBus(delegate);
47 return CreateInputMethodWinInternal(delegate, widget);
49 return new FakeInputMethod(delegate);
28 CreateInputMethodWinInternal( internal::InputMethodDelegate* delegate, gfx::AcceleratedWidget widget) argument
/external/chromium_org/webkit/renderer/compositor_bindings/
H A Dweb_to_cc_animation_delegate_adapter.cc12 WebKit::WebAnimationDelegate* delegate)
13 : delegate_(delegate) {}
11 WebToCCAnimationDelegateAdapter( WebKit::WebAnimationDelegate* delegate) argument
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/log/
H A DLogger.java18 private java.util.logging.Logger delegate; field in class:Logger
27 this.delegate = java.util.logging.Logger.getLogger(x.getName());
32 return delegate.isLoggable(Level.FINER);
37 delegate.fine(message);
42 return delegate.isLoggable(Level.FINE);
47 delegate.info(message);
52 return delegate.isLoggable(Level.WARNING);
57 delegate.warning(message);
/external/chromium_org/ui/compositor/
H A Dlayer_animation_element_unittest.cc22 // Check that the transformation element progresses the delegate as expected and
25 TestLayerAnimationDelegate delegate; local
40 delegate.SetTransformFromAnimation(start_transform);
41 element->Start(&delegate, 1);
42 element->Progress(start_time, &delegate);
44 delegate.GetTransformForAnimation());
47 element->Progress(effective_start_time, &delegate);
49 element->Progress(effective_start_time + delta/2, &delegate);
57 element->Progress(effective_start_time + delta, &delegate);
60 delegate
71 TestLayerAnimationDelegate delegate; local
108 TestLayerAnimationDelegate delegate; local
150 TestLayerAnimationDelegate delegate; local
184 TestLayerAnimationDelegate delegate; local
219 TestLayerAnimationDelegate delegate; local
266 TestLayerAnimationDelegate delegate; local
296 TestLayerAnimationDelegate delegate; local
334 TestLayerAnimationDelegate delegate; local
[all...]
/external/chromium_org/ash/shell/
H A Dshell_main.cc17 ash::shell::ShellMainDelegate delegate; local
18 return content::ContentMain(instance, &sandbox_info, &delegate);
22 ash::shell::ShellMainDelegate delegate; local
23 return content::ContentMain(argc, argv, &delegate);

Completed in 561 milliseconds

1234567891011>>