Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowViewGroupTest.java181 assertFalse(root.hasFocus()); in hasFocus_shouldReturnTrueIfAnyChildHasFocus()
184 assertTrue(root.hasFocus()); in hasFocus_shouldReturnTrueIfAnyChildHasFocus()
187 assertFalse(child1.hasFocus()); in hasFocus_shouldReturnTrueIfAnyChildHasFocus()
188 assertTrue(root.hasFocus()); in hasFocus_shouldReturnTrueIfAnyChildHasFocus()
191 assertTrue(root.hasFocus()); in hasFocus_shouldReturnTrueIfAnyChildHasFocus()
194 assertFalse(child3b.hasFocus()); in hasFocus_shouldReturnTrueIfAnyChildHasFocus()
195 assertFalse(child3.hasFocus()); in hasFocus_shouldReturnTrueIfAnyChildHasFocus()
196 assertTrue(root.hasFocus()); in hasFocus_shouldReturnTrueIfAnyChildHasFocus()
199 assertFalse(child3.hasFocus()); in hasFocus_shouldReturnTrueIfAnyChildHasFocus()
200 assertTrue(child2.hasFocus()); in hasFocus_shouldReturnTrueIfAnyChildHasFocus()
[all …]
DShadowViewTest.java122 public void onFocusChange(View v, boolean hasFocus) { in shouldFocus()
123 transcript.add(hasFocus ? "Gained focus" : "Lost focus"); in shouldFocus()
128 assertFalse(view.hasFocus()); in shouldFocus()
133 assertFalse(view.hasFocus()); in shouldFocus()
139 assertTrue(view.hasFocus()); in shouldFocus()
147 assertFalse(view.hasFocus()); in shouldFocus()
DShadowLayoutInflaterTest.java208 mediaView.hasFocus(); in mergeIncludesShouldNotCreateAncestryLoops()
/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/libmojo/base/android/java/src/org/chromium/base/
DBaseChromiumApplication.java59 public void onWindowFocusChanged(Activity activity, boolean hasFocus); in onWindowFocusChanged() argument
105 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
106 mCallback.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
109 listener.onWindowFocusChanged(mActivity, hasFocus); in onWindowFocusChanged()
DApplicationStatus.java123 public void onWindowFocusChanged(Activity activity, boolean hasFocus) { in initialize()
124 if (!hasFocus || activity == sActivity) return; in initialize()
/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/skia/tools/viewer/
DSlideDir.cpp117 bool hasFocus() const { return fState == State::kFocused; } in hasFocus() function in SlideDir::FocusController
362 if (fFocusController->hasFocus()) { in onChar()
378 if (fFocusController->hasFocus()) { in onMouse()
/external/libmojo/base/android/junit/src/org/chromium/base/
DBaseChromiumApplicationTest.java43 public void onWindowFocusChanged(@SuppressWarnings("unused") boolean hasFocus) { in onWindowFocusChanged() argument
/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/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowView.java241 public void setViewFocus(boolean hasFocus) { in setViewFocus() argument
243 onFocusChangeListener.onFocusChange(realView, hasFocus); in setViewFocus()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/
DViewLoaderTest.java235 mediaView.hasFocus(); in mergeIncludesShouldNotCreateAncestryLoops()
/external/autotest/client/site_tests/video_GlitchDetection/
Djquery-2.1.3.min.js2 …){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.ty…
/external/autotest/client/site_tests/video_VimeoVideo/
Djquery-2.1.3.min.js2 …){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.ty…