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

123

/external/chromium_org/base/android/java/src/org/chromium/base/
H A DBaseChromiumApplication.java23 * @param hasFocus Whether or not {@code activity} gained or lost focus.
25 public void onWindowFocusChanged(Activity activity, boolean hasFocus); argument
42 public void onWindowFocusChanged(boolean hasFocus) {
43 super.onWindowFocusChanged(hasFocus);
46 listener.onWindowFocusChanged(activity, hasFocus);
H A DWindowCallbackWrapper.java127 public void onWindowFocusChanged(boolean hasFocus) { argument
128 mCallback.onWindowFocusChanged(hasFocus);
H A DApplicationStatus.java118 public void onWindowFocusChanged(Activity activity, boolean hasFocus) {
119 if (!hasFocus || activity == sActivity) return;
/external/chromium_org/third_party/WebKit/Source/core/html/ime/
H A DInputMethodContext.cpp69 if (hasFocus())
76 if (hasFocus())
83 if (hasFocus())
87 bool InputMethodContext::hasFocus() const function in class:blink::InputMethodContext
99 if (!hasFocus())
109 if (!hasFocus())
142 if (!hasFocus())
H A DInputMethodContext.h86 bool hasFocus() const;
/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/browser/resources/chromeos/chromevox/chromevox/injected/
H A Dinitial_speech.js65 if (document.hasFocus() && document.activeElement == document.body) {
77 if (document.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;
/external/deqp/framework/platform/android/
H A DtcuAndroidNativeActivity.cpp59 static void onWindowFocusChangedCallback (ANativeActivity* activity, int hasFocus) argument
61 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onWindowFocusChanged(hasFocus);
168 void NativeActivity::onWindowFocusChanged (int hasFocus) argument
170 DE_UNREF(hasFocus);
H A DtcuAndroidNativeActivity.hpp54 virtual void onWindowFocusChanged (int hasFocus);
/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.java186 public void onFocusChange(View v, boolean hasFocus) {
187 setKeyboardVisibilityForUrl(hasFocus);
188 mNextButton.setVisibility(hasFocus ? View.GONE : View.VISIBLE);
189 mPrevButton.setVisibility(hasFocus ? View.GONE : View.VISIBLE);
190 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.java495 public void setViewFocus(boolean hasFocus) { argument
496 this.isFocused = hasFocus;
515 onFocusChangeListener.onFocusChange(realView, hasFocus);
535 public boolean hasFocus() { method in class:ShadowView
546 return hasFocus() ? realView : null;
889 if (view.hasFocus()) return false;
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/host/chrome/
H A Dbraille.js52 if (!document.hasFocus() || document.activeElement.tagName == 'IFRAME') {
/external/chromium_org/content/shell/android/java/src/org/chromium/content_shell/
H A DShell.java164 public void onFocusChange(View v, boolean hasFocus) {
165 setKeyboardVisibilityForUrl(hasFocus);
166 mNextButton.setVisibility(hasFocus ? GONE : VISIBLE);
167 mPrevButton.setVisibility(hasFocus ? GONE : VISIBLE);
168 if (!hasFocus) {
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/host/interface/
H A Dabstract_host.js146 var speakNodeAlso = document.hasFocus() && !document.webkitHidden;
/external/chromium_org/chrome/android/shell/java/src/org/chromium/chrome/shell/
H A DChromeShellToolbar.java157 public void onFocusChange(View v, boolean hasFocus) {
158 setKeyboardVisibilityForUrl(hasFocus);
159 if (!hasFocus) {
/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
/external/chromium_org/chrome/browser/resources/print_preview/settings/
H A Dpage_settings.js249 if (!document.hasFocus() ||
/external/chromium_org/third_party/webrtc/examples/android/media_demo/src/org/webrtc/webrtcdemo/
H A DSettingsMenuFragment.java82 public void onFocusChange(View editText, boolean hasFocus) {
83 if (!hasFocus) {
/external/replicaisland/src/com/replica/replicaisland/
H A DAnimationPlayerActivity.java172 public void onWindowFocusChanged(boolean hasFocus) { argument
173 if (hasFocus && mAnimation != null) {

Completed in 574 milliseconds

123