Searched refs:hasFocus (Results 1 - 25 of 48) sorted by relevance

12

/external/chromium_org/chrome/common/extensions/docs/examples/extensions/speak_selection/
H A Dcontent_script.js28 if (!document.hasFocus()) {
42 if (!document.hasFocus()) {
/external/chromium_org/chrome/android/testshell/java/src/org/chromium/chrome/testshell/
H A DTestShellToolbar.java104 public void onFocusChange(View v, boolean hasFocus) {
105 setKeyboardVisibilityForUrl(hasFocus);
106 mNextButton.setVisibility(hasFocus ? GONE : VISIBLE);
107 mPrevButton.setVisibility(hasFocus ? GONE : VISIBLE);
108 if (!hasFocus) {
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/
H A DSDL_wimppoll.c76 int hasFocus = 0; variable
85 if (hasFocus) RISCOS_PollKeyboard();
211 if (hasFocus == 0)
237 hasFocus = 0;
243 hasFocus = 1;
H A DSDL_wimpvideo.c79 extern int hasFocus;
188 while (!hasFocus && SDL_GetTicks() - now < 5000)
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DViewGroupTest.java173 assertFalse(root.hasFocus());
176 assertTrue(root.hasFocus());
179 assertFalse(root.hasFocus());
182 assertTrue(root.hasFocus());
185 assertFalse(root.hasFocus());
188 assertTrue(root.hasFocus());
197 assertFalse(child3a.hasFocus());
198 assertFalse(child3.hasFocus());
199 assertFalse(root.hasFocus());
203 assertFalse(root.hasFocus());
[all...]
H A DViewTest.java57 public void onFocusChange(View v, boolean hasFocus) {
58 transcript.add(hasFocus ? "Gained focus" : "Lost focus");
63 assertFalse(view.hasFocus());
68 assertTrue(view.hasFocus());
73 assertFalse(view.hasFocus());
/external/chromium_org/android_webview/test/shell/src/org/chromium/android_webview/shell/
H A DAwShellActivity.java133 public void onFocusChange(View v, boolean hasFocus) {
134 setKeyboardVisibilityForUrl(hasFocus);
135 mNextButton.setVisibility(hasFocus ? View.GONE : View.VISIBLE);
136 mPrevButton.setVisibility(hasFocus ? View.GONE : View.VISIBLE);
137 if (!hasFocus) {
/external/chromium_org/content/shell/android/java/src/org/chromium/content_shell/
H A DShell.java123 public void onFocusChange(View v, boolean hasFocus) {
124 setKeyboardVisibilityForUrl(hasFocus);
125 mNextButton.setVisibility(hasFocus ? GONE : VISIBLE);
126 mPrevButton.setVisibility(hasFocus ? GONE : VISIBLE);
127 if (!hasFocus) {
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowViewGroup.java151 public boolean hasFocus() { method in class:ShadowViewGroup
152 if (super.hasFocus()) return true;
155 if (child.hasFocus()) return true;
164 if (hasFocus()) {
176 if (super.hasFocus()) {
H A DShadowView.java493 public void setViewFocus(boolean hasFocus) { argument
494 this.isFocused = hasFocus;
513 onFocusChangeListener.onFocusChange(realView, hasFocus);
533 public boolean hasFocus() { method in class:ShadowView
544 return hasFocus() ? realView : null;
879 if (view.hasFocus()) return false;
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLDocument.idl50 boolean hasFocus();
H A DHTMLDocument.h54 bool hasFocus();
H A DHTMLDocument.cpp133 bool HTMLDocument::hasFocus() function in class:WebCore::HTMLDocument
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/
H A DCCombo3.java92 private boolean hasFocus;
95 boolean old_hasFocus = hasFocus;
96 hasFocus =
102 if (hasFocus) {
110 if (old_hasFocus && !hasFocus) {
H A DCTableCombo.java51 protected boolean hasFocus; field in class:CTableCombo
161 if (hasFocus) {
164 hasFocus = true;
181 hasFocus = false;
313 if (hasFocus) {
316 hasFocus = true;
336 if (hasFocus) {
339 hasFocus = true;
360 hasFocus = false;
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
H A DRuleListController.java119 boolean isSelected, boolean hasFocus) {
117 getListCellRendererComponent( JList list, Object value, int index, boolean isSelected, boolean hasFocus) argument
H A DRunnerController.java204 boolean hasFocus) {
202 getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) argument
/external/chromium_org/chrome/browser/resources/print_preview/settings/
H A Dpage_settings.js223 if (!document.hasFocus() ||
/external/replicaisland/src/com/replica/replicaisland/
H A DAnimationPlayerActivity.java172 public void onWindowFocusChanged(boolean hasFocus) { argument
173 if (hasFocus && mAnimation != null) {
H A DGLSurfaceView.java532 public void onWindowFocusChanged(boolean hasFocus) { argument
533 super.onWindowFocusChanged(hasFocus);
534 mGLThread.onWindowFocusChanged(hasFocus);
1468 public void onWindowFocusChanged(boolean hasFocus) { argument
1470 mHasFocus = hasFocus;
/external/chromium_org/third_party/skia/src/views/
H A DSkWidgets.cpp278 evt.setString("prime-state", computeAnimatorState(this->isEnabled(), this->hasFocus(), this->getButtonState()));
292 create_emboss(&p, SkIntToScalar(12)/5, this->hasFocus(), this->getButtonState() == kOn_State);
/external/skia/src/views/
H A DSkWidgets.cpp278 evt.setString("prime-state", computeAnimatorState(this->isEnabled(), this->hasFocus(), this->getButtonState()));
292 create_emboss(&p, SkIntToScalar(12)/5, this->hasFocus(), this->getButtonState() == kOn_State);
/external/chromium_org/content/test/plugin/
H A Dplugin_windowless_test.cc62 np_event->data.focus.hasFocus;
/external/chromium_org/third_party/skia/include/views/
H A DSkView.h127 bool hasFocus() const;
/external/skia/include/views/
H A DSkView.h127 bool hasFocus() const;

Completed in 475 milliseconds

12