Home
last modified time | relevance | path

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

12

/external/robolectric/v1/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/robolectric/v1/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.java495 public void setViewFocus(boolean hasFocus) { in setViewFocus() argument
496 this.isFocused = hasFocus; in setViewFocus()
515 onFocusChangeListener.onFocusChange(realView, hasFocus); in setViewFocus()
535 public boolean hasFocus() { in hasFocus() method in ShadowView
546 return hasFocus() ? realView : null; in findFocus()
889 if (view.hasFocus()) return false; in noParentHasFocus()
/external/deqp/framework/platform/android/
DtcuAndroidNativeActivity.cpp59 static void onWindowFocusChangedCallback (ANativeActivity* activity, int hasFocus) in onWindowFocusChangedCallback() argument
61 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onWindowFocusChanged(hasFocus); in onWindowFocusChangedCallback()
168 void NativeActivity::onWindowFocusChanged (int hasFocus) in onWindowFocusChanged() argument
170 DE_UNREF(hasFocus); in onWindowFocusChanged()
DtcuAndroidNativeActivity.hpp54 virtual void onWindowFocusChanged (int hasFocus);
/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/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/widget/
DNumberPicker.java196 if (!mText.hasFocus()) { in onClick()
256 public void onFocusChange(View v, boolean hasFocus) { in onFocusChange() argument
261 if (!hasFocus) { in onFocusChange()
/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/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/
DGwtInput.java58 boolean hasFocus = true; field in GwtInput
506 hasFocus = false; in handleEvent()
510 hasFocus = true; in handleEvent()
574 if (e.getType().equals("keydown") && hasFocus) { in handleEvent()
596 if (e.getType().equals("keypress") && hasFocus) { in handleEvent()
602 if (e.getType().equals("keyup") && hasFocus) { in handleEvent()
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/
DAndroidApplication.java228 public void onWindowFocusChanged (boolean hasFocus) { in onWindowFocusChanged() argument
229 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
232 if (hasFocus) { in onWindowFocusChanged()
/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
DTestCaseEditController.java603 boolean isSelected, boolean hasFocus) { in getListCellRendererComponent() argument
/external/skia/platform_tools/android/apps/visualbenchsdl/src/main/java/org/libsdl/app/
DSDLActivity.java241 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
242 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
243 Log.v(TAG, "onWindowFocusChanged(): " + hasFocus); in onWindowFocusChanged()
249 SDLActivity.mHasFocus = hasFocus; in onWindowFocusChanged()
250 if (hasFocus) { in onWindowFocusChanged()
/external/skia/src/views/
DSkWidgets.cpp280 …evt.setString("prime-state", computeAnimatorState(this->isEnabled(), this->hasFocus(), this->getBu…
294 … create_emboss(&p, SkIntToScalar(12)/5, this->hasFocus(), this->getButtonState() == kOn_State);
DSkView.cpp193 bool SkView::hasFocus() const { in hasFocus() function in SkView
/external/skia/include/views/
DSkView.h127 bool hasFocus() const;
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/resources/
Dsoundmanager2-nodebug-jsmin.js18 …ilk/i)&&p.match(/OS X 10_6_([3-7])/i),Ga=n.hasFocus!==h?n.hasFocus():null,ka=ja&&(n.hasFocus===h||…
Dsoundmanager2-jsmin.js20 …/i),da=h.console!==g&&console.log!==g,Ra=m.hasFocus!==g?m.hasFocus():null,va=ua&&(m.hasFocus===g||…
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/
DViewLoaderTest.java235 mediaView.hasFocus(); in mergeIncludesShouldNotCreateAncestryLoops()
/external/libgdx/tests/gdx-tests-gwt/war/
Dsoundmanager2-jsmin.js20 …/i),da=h.console!==g&&console.log!==g,Ra=m.hasFocus!==g?m.hasFocus():null,va=ua&&(m.hasFocus===g||…
/external/libgdx/extensions/gdx-setup/src/com/badlogic/gdx/setup/resources/html/war/
Dsoundmanager2-jsmin.js20 …/i),da=h.console!==g&&console.log!==g,Ra=m.hasFocus!==g?m.hasFocus():null,va=ua&&(m.hasFocus===g||…

12