/third_party/flutter/flutter/packages/flutter/test/widgets/ |
D | focus_traversal_test.dart | 45 expect(firstFocusNode.hasFocus, isTrue); 46 expect(secondFocusNode.hasFocus, isFalse); 47 expect(scope.hasFocus, isTrue); 109 expect(firstFocusNode.hasFocus, isTrue); 110 expect(secondFocusNode.hasFocus, isFalse); 111 expect(scope.hasFocus, isTrue); 126 expect(firstFocusNode.hasFocus, isFalse); 127 expect(secondFocusNode.hasFocus, isTrue); 128 expect(scope.hasFocus, isTrue); 143 expect(firstFocusNode.hasFocus, isTrue); [all …]
|
D | focus_scope_test.dart | 35 …String get label => focusNode.hasFocus ? '${widget.name.toUpperCase()} FOCUSED' : widget.name.toLo… 79 expect(key.currentState.focusNode.hasFocus, isFalse); 84 expect(key.currentState.focusNode.hasFocus, isTrue); 100 expect(keyA.currentState.focusNode.hasFocus, isFalse); 102 expect(keyB.currentState.focusNode.hasFocus, isFalse); 108 expect(keyA.currentState.focusNode.hasFocus, isTrue); 110 expect(keyB.currentState.focusNode.hasFocus, isFalse); 117 expect(keyA.currentState.focusNode.hasFocus, isFalse); 119 expect(keyB.currentState.focusNode.hasFocus, isTrue); 137 expect(keyA.currentState.focusNode.hasFocus, isFalse); [all …]
|
D | focus_manager_test.dart | 100 expect(scope.hasFocus, isFalse); 101 expect(child1.hasFocus, isFalse); 106 expect(scope.hasFocus, isFalse); 125 expect(scope.hasFocus, isTrue); 126 expect(child1.hasFocus, isTrue); 130 expect(scope.hasFocus, isFalse); 156 expect(parent.hasFocus, isTrue); 158 expect(child1.hasFocus, isTrue); 160 expect(child2.hasFocus, isFalse); 165 expect(parent.hasFocus, isTrue); [all …]
|
D | independent_widget_layout_test.dart | 204 expect(onscreenFocus.hasFocus, isTrue); 205 expect(offscreenFocus.hasFocus, isTrue);
|
D | editable_text_show_on_screen_test.dart | 135 expect(focusNode.hasFocus, isTrue); 185 expect(focusNode.hasFocus, isTrue);
|
D | editable_text_test.dart | 755 assert(focusNode.hasFocus); 761 expect(focusNode.hasFocus, true); 788 assert(focusNode.hasFocus); 795 expect(focusNode.hasFocus, true); 828 assert(focusNode.hasFocus); 868 assert(focusNode.hasFocus); 909 assert(focusNode.hasFocus); 947 assert(focusNode.hasFocus); 2156 assert(focusNode.hasFocus);
|
/third_party/flutter/flutter/packages/flutter/test/cupertino/material/ |
D | tab_scaffold_test.dart | 38 expect(focusNodes[0].hasFocus, isTrue); 43 expect(focusNodes[0].hasFocus, isFalse); 44 expect(focusNodes[1].hasFocus, isTrue); 49 expect(focusNodes[0].hasFocus, isTrue); 50 expect(focusNodes[1].hasFocus, isFalse); 87 focusNodes.any((FocusNode node) => node.hasFocus), 94 focusNodes.indexOf(focusNodes.singleWhere((FocusNode node) => node.hasFocus)), 104 focusNodes.indexOf(focusNodes.singleWhere((FocusNode node) => node.hasFocus)), 114 focusNodes.indexOf(focusNodes.singleWhere((FocusNode node) => node.hasFocus)),
|
/third_party/vk-gl-cts/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);
|
/third_party/flutter/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/helpers/ |
D | FullScreenHelper.java | 35 public static void setFullScreenOnWindowFocusChanged(Activity activity, boolean hasFocus) { in setFullScreenOnWindowFocusChanged() argument 36 if (hasFocus) { in setFullScreenOnWindowFocusChanged()
|
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/ |
D | focus_scope.dart | 16 /// For keyboard events, [onKey] is called if [FocusNode.hasFocus] is true for 29 /// [Focus.hasFocus] from a build method, which also establishes a relationship 92 /// final bool hasFocus = focusNode.hasFocus; 95 /// if (hasFocus) { 106 /// color: hasFocus ? _color : Colors.white, 107 /// child: Text(hasFocus ? "I'm in color! Press R,G,B!" : 'Press to focus'), 237 /// the children of this node, and [FocusNode.hasFocus] can still return true 308 static bool isAt(BuildContext context) => Focus.of(context, nullOk: true)?.hasFocus ?? false; 345 _hasFocus = focusNode.hasFocus; 414 if (_hasFocus != focusNode.hasFocus) { [all …]
|
D | focus_manager.dart | 153 /// or [FocusScope.of] instead. [Focus.hasFocus] can also be used to establish a 271 /// if (_node.hasFocus != _focused) { 273 /// _focused = _node.hasFocus; 404 /// and [hasFocus] can still return true if this node is the ancestor of a 440 /// [hasFocus] returns true). 514 /// The [hasFocus] accessor is different from [hasPrimaryFocus] in that 515 /// [hasFocus] is true if the node is anywhere in the focus chain, but for 519 /// A node that returns true for [hasFocus] will receive key events if none of 529 bool get hasFocus { 542 /// nearest ancestor [FocusScopeNode] and [hasFocus] is true for all its [all …]
|
D | raw_keyboard_listener.dart | 97 if (widget.focusNode.hasFocus)
|
D | editable_text.dart | 1031 bool get wantKeepAlive => widget.focusNode.hasFocus; 1273 bool get _hasFocus => widget.focusNode.hasFocus; 1728 hasFocus: _hasFocus, 1794 this.hasFocus, 1830 final bool hasFocus; 1866 hasFocus: hasFocus, 1903 ..hasFocus = hasFocus
|
/third_party/flutter/skia/platform_tools/android/apps/arcore/src/main/java/org/skia/arcore/ |
D | HelloArActivity.java | 291 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument 292 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged() 293 if (hasFocus) { in onWindowFocusChanged()
|
/third_party/flutter/flutter/packages/flutter/test/cupertino/ |
D | text_field_test.dart | 3309 expect(focusNode.hasFocus, false); 3312 expect(focusNode.hasFocus, true); 3315 expect(focusNode.hasFocus, false); 3322 expect(focusNode.hasFocus, true); 3357 expect(focusNode.hasFocus, false); 3360 expect(focusNode.hasFocus, true); 3363 expect(focusNode.hasFocus, false); 3370 expect(focusNode.hasFocus, true); 3405 expect(focusNode.hasFocus, false); 3408 expect(focusNode.hasFocus, true); [all …]
|
D | tab_scaffold_test.dart | 160 expect(focusNodes[0].hasFocus, isTrue); 165 expect(focusNodes[0].hasFocus, isFalse); 166 expect(focusNodes[1].hasFocus, isTrue); 171 expect(focusNodes[0].hasFocus, isTrue); 172 expect(focusNodes[1].hasFocus, isFalse); 206 focusNodes.any((FocusNode node) => node.hasFocus), 213 focusNodes.indexOf(focusNodes.singleWhere((FocusNode node) => node.hasFocus)), 223 focusNodes.indexOf(focusNodes.singleWhere((FocusNode node) => node.hasFocus)), 233 focusNodes.indexOf(focusNodes.singleWhere((FocusNode node) => node.hasFocus)),
|
/third_party/flutter/flutter/packages/flutter/test/rendering/ |
D | editable_test.dart | 525 test('editable hasFocus correctly initialized', () { 538 hasFocus: true, 543 expect(editable.hasFocus, true); 544 editable.hasFocus = false; 545 expect(editable.hasFocus, false);
|
/third_party/skia/tools/viewer/ |
D | SlideDir.cpp | 136 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()
|
/third_party/flutter/skia/tools/viewer/ |
D | SlideDir.cpp | 124 bool hasFocus() const { return fState == State::kFocused; } in hasFocus() function in SlideDir::FocusController 371 if (fFocusController->hasFocus()) { in onChar() 388 if (fFocusController->hasFocus()) { in onMouse()
|
/third_party/flutter/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/app/ |
D | HelloCanvasAR.java | 281 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument 282 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged() 283 FullScreenHelper.setFullScreenOnWindowFocusChanged(this, hasFocus); in onWindowFocusChanged()
|
/third_party/flutter/flutter/packages/flutter/test/material/ |
D | search_test.dart | 37 expect(textField.focusNode.hasFocus, isTrue); 159 expect(textField.focusNode.hasFocus, isFalse); 207 expect(textField.focusNode.hasFocus, isFalse); 214 expect(textField.focusNode.hasFocus, isTrue); 240 expect(textField.focusNode.hasFocus, isFalse);
|
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/plugin/platform/ |
D | PlatformViewsController.java | 106 (view, hasFocus) -> { 107 if (hasFocus) {
|
/third_party/flutter/skia/third_party/externals/sdl/android-project/src/org/libsdl/app/ |
D | SDLActivity.java | 220 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument 221 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged() 222 Log.v(TAG, "onWindowFocusChanged(): " + hasFocus); in onWindowFocusChanged() 228 SDLActivity.mHasFocus = hasFocus; in onWindowFocusChanged() 229 if (hasFocus) { in onWindowFocusChanged()
|
/third_party/flutter/flutter/dev/manual_tests/lib/ |
D | raw_keyboard.dart | 64 if (!_focusNode.hasFocus) {
|