Searched defs:delegate (Results 1 - 25 of 1356) sorted by path

1234567891011>>

/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ...
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DCompositeGrammar.java39 /** A tree of component (delegate) grammars.
43 * rules from all delegate grammars, so they must be stored here in one
47 * look into the grammar files a priori to see if there is a delegate
165 /** Add delegate grammar as child of delegator */
166 public void addGrammar(Grammar delegator, Grammar delegate) { argument
170 delegator.compositeTreeNode.addChild(new CompositeGrammarTree(delegate));
177 delegate.composite = this;
192 /** Get list of all delegates from all grammars in the delegate subtree of g.
194 * in list as it is not a delegate of itself.
228 /** Return list of delegate grammar
[all...]
H A DGrammar.java125 * another tree parser. Maps delegate to set of delegator grammar types.
300 /** If this grammar is part of a larger composite grammar via delegate
309 /** If this is a delegate of another grammar, this is the label used
311 * if no label was specified in the delegate statement.
385 /** If this rule is a delegate, some rules might be overridden; don't
391 * and defined in a delegate grammar. Not all of these will be generated
508 /** Factored out the sanity checking code; delegate to it. */
765 public boolean validImport(Grammar delegate) { argument
766 List<Integer> validDelegators = validDelegations.get(delegate.type);
1520 for (Grammar delegate
[all...]
/external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/
H A DCharWrapperTester.java36 * transforms it, and emits another stream of chars to {@code delegate}.
38 public abstract Writer create(Writer delegate) throws Exception; argument
41 * Decodes the chars received by the delegate into their original form: the
81 private ClosableStringWriter delegate; field in class:CharWrapperTester.WrapperSinkTester
85 delegate = new ClosableStringWriter();
86 return CharWrapperTester.this.create(delegate);
91 return decode(delegate.buffer.toString().toCharArray());
112 FailOnFlushWriter delegate = new FailOnFlushWriter();
113 Writer o = create(delegate);
117 assertTrue(delegate
[all...]
H A DWrapperTester.java37 * transforms it, and emits another stream of bytes to {@code delegate}.
39 public abstract OutputStream create(OutputStream delegate) throws Exception; argument
42 * Decodes the bytes received by the delegate into their original form: the
82 private ClosableByteArrayOutputStream delegate; field in class:WrapperTester.WrapperSinkTester
86 delegate = new ClosableByteArrayOutputStream();
87 return WrapperTester.this.create(delegate);
92 return WrapperTester.this.decode(delegate.bytesOut.toByteArray());
113 FailOnFlushOutputStream delegate = new FailOnFlushOutputStream();
114 OutputStream o = create(delegate);
118 assertTrue(delegate
[all...]
/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/
H A Daw_content_browser_client.cc147 AwBrowserPermissionRequestDelegate* delegate = local
150 if (delegate)
151 delegate->CancelProtectedMediaIdentifierPermissionRequests(origin);
158 AwBrowserPermissionRequestDelegate* delegate = local
161 if (delegate)
162 delegate->CancelGeolocationPermissionRequests(origin);
412 scoped_ptr<content::DesktopNotificationDelegate> delegate,
426 AwBrowserPermissionRequestDelegate* delegate = local
429 if (delegate == NULL) {
441 delegate
409 ShowDesktopNotification( const content::ShowDesktopNotificationHostMsgParams& params, content::RenderFrameHost* render_frame_host, scoped_ptr<content::DesktopNotificationDelegate> delegate, base::Closure* cancel_callback) argument
463 AwBrowserPermissionRequestDelegate* delegate = local
[all...]
/external/chromium_org/android_webview/browser/net/
H A Dandroid_stream_reader_url_request_job.cc92 scoped_ptr<Delegate> delegate)
94 delegate_(delegate.Pass()),
111 scoped_ptr<AndroidStreamReaderURLRequestJob::Delegate> delegate,
118 scoped_ptr<InputStream> input_stream = delegate->OpenInputStream(env, url);
121 base::Passed(delegate.Pass()),
135 // complex synchronization in the delegate.
143 // The delegate will be "returned" to the job once the InputStream
89 AndroidStreamReaderURLRequestJob( net::URLRequest* request, net::NetworkDelegate* network_delegate, scoped_ptr<Delegate> delegate) argument
109 OpenInputStreamOnWorkerThread( scoped_refptr<base::MessageLoopProxy> job_thread_proxy, scoped_ptr<AndroidStreamReaderURLRequestJob::Delegate> delegate, const GURL& url, OnInputStreamOpenedCallback callback) argument
H A Dandroid_stream_reader_url_request_job_unittest.cc161 scoped_ptr<Delegate> delegate,
165 delegate.Pass()),
158 TestStreamReaderJob( net::URLRequest* request, net::NetworkDelegate* network_delegate, scoped_ptr<Delegate> delegate, scoped_ptr<InputStreamReader> stream_reader) argument
/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/android_webview/java/src/org/chromium/android_webview/
H A DAwContents.java177 AwScrollOffsetManager.Delegate delegate, OverScroller overScroller) {
178 return new AwScrollOffsetManager(delegate, overScroller);
394 // Otherwise, use this delegate only to post onPageStarted messages.
176 createScrollOffsetManager( AwScrollOffsetManager.Delegate delegate, OverScroller overScroller) argument
H A DAwLayoutSizer.java59 public void setDelegate(Delegate delegate) { argument
60 mDelegate = delegate;
H A DAwScrollOffsetManager.java32 * The unit of all the values in this delegate are physical pixels.
79 public AwScrollOffsetManager(Delegate delegate, OverScroller overScroller) { argument
80 mDelegate = delegate;
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
H A DAwScrollOffsetManagerTest.java95 TestScrollOffsetManagerDelegate delegate, int scrollX, int scrollY) {
97 int callCount = delegate.getOverScrollCallCount();
99 // The manager then asks the delegate to overscroll the view.
100 assertEquals(callCount + 1, delegate.getOverScrollCallCount());
101 assertEquals(scrollX, delegate.getOverScrollDeltaX() + delegate.getScrollX());
102 assertEquals(scrollY, delegate.getOverScrollDeltaY() + delegate.getScrollY());
108 TestScrollOffsetManagerDelegate delegate) {
109 assertTrue(delegate
94 simulateScrolling(AwScrollOffsetManager offsetManager, TestScrollOffsetManagerDelegate delegate, int scrollX, int scrollY) argument
107 simlateOverScrollPropagation(AwScrollOffsetManager offsetManager, TestScrollOffsetManagerDelegate delegate) argument
[all...]
/external/chromium_org/android_webview/native/
H A Daw_autofill_client.cc42 ScopedJavaLocalRef<jobject> delegate; local
43 delegate.Reset(
47 aw_contents->SetAwAutofillClient(delegate.obj());
48 java_ref_ = JavaObjectWeakGlobalRef(env, delegate.obj());
87 base::WeakPtr<autofill::AutofillPopupDelegate> delegate) {
90 delegate_ = delegate;
80 ShowAutofillPopup( const gfx::RectF& element_bounds, base::i18n::TextDirection text_direction, const std::vector<base::string16>& values, const std::vector<base::string16>& labels, const std::vector<base::string16>& icons, const std::vector<int>& identifiers, base::WeakPtr<autofill::AutofillPopupDelegate> delegate) argument
H A Daw_browser_dependency_factory.cc23 AwBrowserDependencyFactory* delegate) {
24 g_instance = delegate;
22 SetInstance( AwBrowserDependencyFactory* delegate) argument
/external/chromium_org/android_webview/native/permission/
H A Daw_permission_request.cc19 scoped_ptr<AwPermissionRequestDelegate> delegate)
20 : delegate_(delegate.Pass()),
18 AwPermissionRequest( scoped_ptr<AwPermissionRequestDelegate> delegate) argument
H A Dpermission_request_handler_unittest.cc152 scoped_ptr<AwPermissionRequestDelegate> delegate() { function in class:android_webview::PermissionRequestHandlerTest
178 handler()->SendRequest(delegate().Pass());
198 handler()->SendRequest(delegate().Pass());
228 handler()->SendRequest(delegate().Pass());
282 handler()->SendRequest(delegate().Pass());
288 scoped_ptr<AwPermissionRequestDelegate> delegate; local
289 delegate.reset(new TestAwPermissionRequestDelegate(
294 handler()->SendRequest(delegate.Pass());
304 scoped_ptr<AwPermissionRequestDelegate> delegate; local
306 delegate
321 scoped_ptr<AwPermissionRequestDelegate> delegate; local
342 scoped_ptr<AwPermissionRequestDelegate> delegate; local
[all...]
/external/chromium_org/ash/accelerators/
H A Daccelerator_controller.cc211 Shell::GetInstance()->delegate()->IsIncognitoAllowed();
431 AccessibilityDelegate* delegate = local
433 if (!delegate->IsSpokenFeedbackEnabled())
435 delegate->SilenceSpokenFeedback();
561 if (!Shell::GetInstance()->delegate()->IsMultiProfilesEnabled())
563 ash::SessionStateDelegate* delegate =
565 if (delegate->NumberOfLoggedInUsers() <= 1)
577 delegate->CycleActiveUser(cycle_user);
1161 if (shell->delegate()->IsRunningInForcedAppMode() &&
H A Daccelerator_controller_unittest.cc681 // True should always be returned regardless of the existence of the delegate.
683 test::TestScreenshotDelegate* delegate = GetScreenshotDelegate(); local
684 delegate->set_can_take_screenshot(false);
692 delegate->set_can_take_screenshot(true);
693 EXPECT_EQ(0, delegate->handle_take_screenshot_count());
696 EXPECT_EQ(1, delegate->handle_take_screenshot_count());
699 EXPECT_EQ(2, delegate->handle_take_screenshot_count());
702 EXPECT_EQ(2, delegate->handle_take_screenshot_count());
709 TestVolumeControlDelegate* delegate = local
712 scoped_ptr<VolumeControlDelegate>(delegate)
727 TestVolumeControlDelegate* delegate = new TestVolumeControlDelegate(true); local
749 DummyBrightnessControlDelegate* delegate = local
763 DummyBrightnessControlDelegate* delegate = local
785 DummyKeyboardBrightnessControlDelegate* delegate = local
799 DummyKeyboardBrightnessControlDelegate* delegate = local
877 AccessibilityDelegate* delegate = local
931 DummyImeControlDelegate* delegate = new DummyImeControlDelegate(true); local
959 DummyImeControlDelegate* delegate = new DummyImeControlDelegate(true); local
1021 DummyImeControlDelegate* delegate = new DummyImeControlDelegate(true); local
1203 test::TestScreenshotDelegate* delegate = GetScreenshotDelegate(); local
1227 DummyBrightnessControlDelegate* delegate = local
1241 DummyBrightnessControlDelegate* delegate = local
1262 TestVolumeControlDelegate* delegate = local
1280 TestVolumeControlDelegate* delegate = new TestVolumeControlDelegate(true); local
1301 AccessibilityDelegate* delegate = local
[all...]
H A Daccelerator_filter_unittest.cc31 const TestScreenshotDelegate* delegate = GetScreenshotDelegate(); local
32 EXPECT_EQ(0, delegate->handle_take_screenshot_count());
38 EXPECT_EQ(1, delegate->handle_take_screenshot_count());
40 EXPECT_EQ(1, delegate->handle_take_screenshot_count());
52 const TestScreenshotDelegate* delegate = GetScreenshotDelegate(); local
53 EXPECT_EQ(0, delegate->handle_take_screenshot_count());
59 EXPECT_EQ(0, delegate->handle_take_screenshot_count());
61 EXPECT_EQ(0, delegate->handle_take_screenshot_count());
69 const TestScreenshotDelegate* delegate = GetScreenshotDelegate(); local
70 EXPECT_EQ(0, delegate
[all...]
H A Dexit_warning_handler.cc111 ShellDelegate* shell_delegate = Shell::GetInstance()->delegate();
159 ExitWarningWidgetDelegateView* delegate = new ExitWarningWidgetDelegateView; local
161 gfx::Size ps = delegate->GetPreferredSize();
172 params.delegate = delegate;
178 widget_->SetContentsView(delegate);
182 delegate->NotifyAccessibilityEvent(ui::AX_EVENT_ALERT, true);
H A Dkey_hold_detector.cc50 KeyHoldDetector::KeyHoldDetector(scoped_ptr<Delegate> delegate) argument
52 delegate_(delegate.Pass()) {}
H A Dmagnifier_key_scroller_unittest.cc42 KeyEventDelegate delegate; local
44 &delegate,
60 EXPECT_FALSE(delegate.event());
65 EXPECT_TRUE(delegate.event());
66 EXPECT_EQ(ui::ET_KEY_PRESSED, delegate.event()->type());
67 delegate.reset();
72 EXPECT_FALSE(delegate.event());
76 EXPECT_FALSE(delegate.event());
80 EXPECT_FALSE(delegate.event());
86 EXPECT_TRUE(delegate
[all...]
H A Dspoken_feedback_toggler_unittest.cc20 AccessibilityDelegate* delegate = shell->accessibility_delegate(); local
22 EXPECT_FALSE(delegate->IsSpokenFeedbackEnabled());
25 EXPECT_FALSE(delegate->IsSpokenFeedbackEnabled());
27 EXPECT_FALSE(delegate->IsSpokenFeedbackEnabled());
31 EXPECT_FALSE(delegate->IsSpokenFeedbackEnabled());
33 EXPECT_TRUE(delegate->IsSpokenFeedbackEnabled());
35 EXPECT_TRUE(delegate->IsSpokenFeedbackEnabled());
37 EXPECT_TRUE(delegate->IsSpokenFeedbackEnabled());
41 EXPECT_TRUE(delegate->IsSpokenFeedbackEnabled());
43 EXPECT_FALSE(delegate
[all...]

Completed in 498 milliseconds

1234567891011>>