Home
last modified time | relevance | path

Searched refs:hasFocus (Results 1 – 25 of 49) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/html/ime/
DInputMethodContext.cpp76 if (hasFocus()) in compositionStartOffset()
83 if (hasFocus()) in compositionEndOffset()
90 if (hasFocus()) in confirmComposition()
94 bool InputMethodContext::hasFocus() const in hasFocus() function in WebCore::InputMethodContext
106 if (!hasFocus()) in compositionText()
116 if (!hasFocus()) in selectedSegment()
149 if (!hasFocus()) in segments()
DInputMethodContext.h83 bool hasFocus() const;
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DViewGroupTest.java173 assertFalse(root.hasFocus()); in hasFocus_shouldReturnTrueIfAnyChildHasFocus()
176 assertTrue(root.hasFocus()); in hasFocus_shouldReturnTrueIfAnyChildHasFocus()
179 assertFalse(root.hasFocus()); in hasFocus_shouldReturnTrueIfAnyChildHasFocus()
182 assertTrue(root.hasFocus()); in hasFocus_shouldReturnTrueIfAnyChildHasFocus()
185 assertFalse(root.hasFocus()); in hasFocus_shouldReturnTrueIfAnyChildHasFocus()
188 assertTrue(root.hasFocus()); in hasFocus_shouldReturnTrueIfAnyChildHasFocus()
197 assertFalse(child3a.hasFocus()); in clearFocus_shouldRecursivelyClearTheFocusOfAllChildren()
198 assertFalse(child3.hasFocus()); in clearFocus_shouldRecursivelyClearTheFocusOfAllChildren()
199 assertFalse(root.hasFocus()); in clearFocus_shouldRecursivelyClearTheFocusOfAllChildren()
203 assertFalse(root.hasFocus()); in clearFocus_shouldRecursivelyClearTheFocusOfAllChildren()
DViewTest.java57 public void onFocusChange(View v, boolean hasFocus) { in shouldFocus()
58 transcript.add(hasFocus ? "Gained focus" : "Lost focus"); in shouldFocus()
63 assertFalse(view.hasFocus()); in shouldFocus()
68 assertTrue(view.hasFocus()); in shouldFocus()
73 assertFalse(view.hasFocus()); in shouldFocus()
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/
DSDL_wimppoll.c76 int hasFocus = 0; variable
85 if (hasFocus) RISCOS_PollKeyboard(); in WIMP_PumpEvents()
211 if (hasFocus == 0) in WIMP_Poll()
237 hasFocus = 0; in WIMP_Poll()
243 hasFocus = 1; in WIMP_Poll()
DSDL_wimpvideo.c79 extern int hasFocus;
188 while (!hasFocus && SDL_GetTicks() - now < 5000) in WIMP_SetVideoMode()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowViewGroup.java151 public boolean hasFocus() { in hasFocus() method in ShadowViewGroup
152 if (super.hasFocus()) return true; in hasFocus()
155 if (child.hasFocus()) return true; in hasFocus()
164 if (hasFocus()) { in clearFocus()
176 if (super.hasFocus()) { in findFocus()
DShadowView.java493 public void setViewFocus(boolean hasFocus) { in setViewFocus() argument
494 this.isFocused = hasFocus; in setViewFocus()
513 onFocusChangeListener.onFocusChange(realView, hasFocus); in setViewFocus()
533 public boolean hasFocus() { in hasFocus() method in ShadowView
544 return hasFocus() ? realView : null; in findFocus()
879 if (view.hasFocus()) return false; in noParentHasFocus()
/external/chromium_org/android_webview/test/shell/src/org/chromium/android_webview/shell/
DAwShellActivity.java141 public void onFocusChange(View v, boolean hasFocus) { in initializeUrlField()
142 setKeyboardVisibilityForUrl(hasFocus); in initializeUrlField()
143 mNextButton.setVisibility(hasFocus ? View.GONE : View.VISIBLE); in initializeUrlField()
144 mPrevButton.setVisibility(hasFocus ? View.GONE : View.VISIBLE); in initializeUrlField()
145 if (!hasFocus) { in initializeUrlField()
/external/chromium_org/content/shell/android/java/src/org/chromium/content_shell/
DShell.java123 public void onFocusChange(View v, boolean hasFocus) { in initializeUrlField()
124 setKeyboardVisibilityForUrl(hasFocus); in initializeUrlField()
125 mNextButton.setVisibility(hasFocus ? GONE : VISIBLE); in initializeUrlField()
126 mPrevButton.setVisibility(hasFocus ? GONE : VISIBLE); in initializeUrlField()
127 if (!hasFocus) { in initializeUrlField()
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/speak_selection/
Dcontent_script.js28 if (!document.hasFocus()) {
42 if (!document.hasFocus()) {
/external/chromium_org/chrome/android/testshell/java/src/org/chromium/chrome/testshell/
DTestShellToolbar.java113 public void onFocusChange(View v, boolean hasFocus) { in initializeUrlField()
114 setKeyboardVisibilityForUrl(hasFocus); in initializeUrlField()
115 if (!hasFocus) { in initializeUrlField()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/
DCTableCombo.java51 protected boolean hasFocus; field in CTableCombo
161 if (hasFocus) { in handleTableEvent()
164 hasFocus = true; in handleTableEvent()
181 hasFocus = false; in handleTableEvent()
313 if (hasFocus) { in handleArrowEvent()
316 hasFocus = true; in handleArrowEvent()
336 if (hasFocus) { in handleTextEvent()
339 hasFocus = true; in handleTextEvent()
360 hasFocus = false; in handleTextEvent()
DCCombo3.java92 private boolean hasFocus; in CCombo3()
95 boolean old_hasFocus = hasFocus; in CCombo3()
96 hasFocus = in CCombo3()
102 if (hasFocus) { in CCombo3()
110 if (old_hasFocus && !hasFocus) { in CCombo3()
/external/replicaisland/src/com/replica/replicaisland/
DAnimationPlayerActivity.java172 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
173 if (hasFocus && mAnimation != null) { in onWindowFocusChanged()
DGLSurfaceView.java532 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
533 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
534 mGLThread.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
1468 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
1470 mHasFocus = hasFocus; in onWindowFocusChanged()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLDocument.h51 bool hasFocus();
DHTMLDocument.idl49 boolean hasFocus();
/external/chromium_org/chrome/browser/resources/print_preview/settings/
Dpage_settings.js223 if (!document.hasFocus() ||
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
DRuleListController.java119 boolean isSelected, boolean hasFocus) { in getListCellRendererComponent() argument
DRunnerController.java204 boolean hasFocus) { in getTreeCellRendererComponent() argument
/external/chromium_org/third_party/skia/src/views/
DSkWidgets.cpp278 …evt.setString("prime-state", computeAnimatorState(this->isEnabled(), this->hasFocus(), this->getBu…
292 … create_emboss(&p, SkIntToScalar(12)/5, this->hasFocus(), this->getButtonState() == kOn_State);
/external/skia/src/views/
DSkWidgets.cpp278 …evt.setString("prime-state", computeAnimatorState(this->isEnabled(), this->hasFocus(), this->getBu…
292 … create_emboss(&p, SkIntToScalar(12)/5, this->hasFocus(), this->getButtonState() == kOn_State);
/external/chromium_org/third_party/WebKit/Source/web/tests/
DWebViewTest.cpp321 EXPECT_TRUE(document->hasFocus()); in TEST_F()
324 EXPECT_FALSE(document->hasFocus()); in TEST_F()
327 EXPECT_TRUE(document->hasFocus()); in TEST_F()
330 EXPECT_FALSE(document->hasFocus()); in TEST_F()
333 EXPECT_FALSE(document->hasFocus()); in TEST_F()
/external/skia/include/views/
DSkView.h127 bool hasFocus() const;

12