/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowViewGroupTest.java | 181 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 …]
|
D | ShadowViewTest.java | 122 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()
|
D | ShadowLayoutInflaterTest.java | 208 mediaView.hasFocus(); in mergeIncludesShouldNotCreateAncestryLoops()
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | ViewGroupTest.java | 173 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()
|
D | ViewTest.java | 57 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/ |
D | ShadowViewGroup.java | 151 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()
|
D | ShadowView.java | 495 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/ |
D | tcuAndroidNativeActivity.cpp | 59 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()
|
D | tcuAndroidNativeActivity.hpp | 54 virtual void onWindowFocusChanged (int hasFocus);
|
/external/libmojo/base/android/java/src/org/chromium/base/ |
D | BaseChromiumApplication.java | 59 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()
|
D | ApplicationStatus.java | 123 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/ |
D | NumberPicker.java | 196 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/ |
D | AnimationPlayerActivity.java | 172 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument 173 if (hasFocus && mAnimation != null) { in onWindowFocusChanged()
|
D | GLSurfaceView.java | 532 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/ |
D | SlideDir.cpp | 117 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/ |
D | BaseChromiumApplicationTest.java | 43 public void onWindowFocusChanged(@SuppressWarnings("unused") boolean hasFocus) { in onWindowFocusChanged() argument
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/ |
D | RuleListController.java | 119 boolean isSelected, boolean hasFocus) { in getListCellRendererComponent() argument
|
D | RunnerController.java | 204 boolean hasFocus) { in getTreeCellRendererComponent() argument
|
D | TestCaseEditController.java | 603 boolean isSelected, boolean hasFocus) { in getListCellRendererComponent() argument
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowView.java | 241 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/ |
D | ViewLoaderTest.java | 235 mediaView.hasFocus(); in mergeIncludesShouldNotCreateAncestryLoops()
|
/external/autotest/client/site_tests/video_GlitchDetection/ |
D | jquery-2.1.3.min.js | 2 …){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.ty…
|
/external/autotest/client/site_tests/video_VimeoVideo/ |
D | jquery-2.1.3.min.js | 2 …){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.ty…
|