Home
last modified time | relevance | path

Searched refs:hasFocus (Results 1 – 22 of 22) 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.java130 public void onFocusChange(View v, boolean hasFocus) { in shouldFocus()
131 transcript.add(hasFocus ? "Gained focus" : "Lost focus"); in shouldFocus()
136 assertFalse(view.hasFocus()); in shouldFocus()
141 assertFalse(view.hasFocus()); in shouldFocus()
147 assertTrue(view.hasFocus()); in shouldFocus()
157 assertFalse(view.hasFocus()); in shouldFocus()
DShadowLayoutInflaterTest.java201 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/libchrome/base/android/java/src/org/chromium/base/
DApplicationStatus.java153 public void onWindowFocusChanged(Activity activity, boolean hasFocus); in onWindowFocusChanged() argument
214 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
215 mCallback.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
218 listener.onWindowFocusChanged(mActivity, hasFocus); in onWindowFocusChanged()
234 public void onWindowFocusChanged(Activity activity, boolean hasFocus) { in initialize()
235 if (!hasFocus || activity == sActivity) return; in initialize()
/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/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.cpp136 bool hasFocus() const { return fState == State::kFocused; } in hasFocus() function in SlideDir::FocusController
383 if (fFocusController->hasFocus()) { in onChar()
400 if (fFocusController->hasFocus()) { in onMouse()
/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/libchrome/base/android/junit/src/org/chromium/base/
DApplicationStatusTest.java41 public void onWindowFocusChanged(@SuppressWarnings("unused") boolean hasFocus) { in onWindowFocusChanged() argument
/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/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/angle/third_party/vulkan_memory_allocator/docs/html/
Djquery.js2 …){return e===a},focus:function(e){return e===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(e.ty…
/external/libabigail/tests/data/test-read-dwarf/
Dtest-libandroid.so.abi24458 …<var-decl name='hasFocus' type-id='c894953d' visibility='default' filepath='frameworks/native/incl…