Home
last modified time | relevance | path

Searched refs:hasFocus (Results 1 – 24 of 24) 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.java129 public void onFocusChange(View v, boolean hasFocus) { in shouldFocus()
130 transcript.add(hasFocus ? "Gained focus" : "Lost focus"); in shouldFocus()
135 assertFalse(view.hasFocus()); in shouldFocus()
140 assertFalse(view.hasFocus()); in shouldFocus()
146 assertTrue(view.hasFocus()); in shouldFocus()
156 assertFalse(view.hasFocus()); in shouldFocus()
DShadowLayoutInflaterTest.java200 mediaView.hasFocus(); in mergeIncludesShouldNotCreateAncestryLoops()
/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/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/helpers/
DFullScreenHelper.java35 public static void setFullScreenOnWindowFocusChanged(Activity activity, boolean hasFocus) { in setFullScreenOnWindowFocusChanged() argument
36 if (hasFocus) { in setFullScreenOnWindowFocusChanged()
/external/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/helpers/
DFullScreenHelper.java35 public static void setFullScreenOnWindowFocusChanged(Activity activity, boolean hasFocus) { in setFullScreenOnWindowFocusChanged() argument
36 if (hasFocus) { in setFullScreenOnWindowFocusChanged()
/external/skia/platform_tools/android/apps/arcore/src/main/java/org/skia/arcore/
DHelloArActivity.java291 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
292 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
293 if (hasFocus) { in onWindowFocusChanged()
/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/skqp/platform_tools/android/apps/arcore/src/main/java/org/skia/arcore/
DHelloArActivity.java291 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
292 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
293 if (hasFocus) { in onWindowFocusChanged()
/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/skqp/tools/viewer/
DSlideDir.cpp123 bool hasFocus() const { return fState == State::kFocused; } in hasFocus() function in SlideDir::FocusController
369 if (fFocusController->hasFocus()) { in onChar()
385 if (fFocusController->hasFocus()) { in onMouse()
/external/skia/tools/viewer/
DSlideDir.cpp124 bool hasFocus() const { return fState == State::kFocused; } in hasFocus() function in SlideDir::FocusController
370 if (fFocusController->hasFocus()) { in onChar()
386 if (fFocusController->hasFocus()) { in onMouse()
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/app/
DHelloCanvasAR.java281 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
282 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
283 FullScreenHelper.setFullScreenOnWindowFocusChanged(this, hasFocus); in onWindowFocusChanged()
/external/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/app/
DHelloCanvasAR.java281 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
282 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
283 FullScreenHelper.setFullScreenOnWindowFocusChanged(this, hasFocus); in onWindowFocusChanged()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/controller/
DActivityController.java153 public ActivityController<T> windowFocusChanged(boolean hasFocus) { in windowFocusChanged() argument
164 from(boolean.class, hasFocus), /* hasFocus */ in windowFocusChanged()
/external/antlr/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.java202 public void setViewFocus(boolean hasFocus) { in setViewFocus() argument
204 onFocusChangeListener.onFocusChange(realView, hasFocus); in setViewFocus()
/external/u-boot/scripts/kconfig/
Dqconf.cc551 currentItem()->setSelected(hasFocus()); in setRootMenu()
/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…