Home
last modified time | relevance | path

Searched refs:currentState (Results 1 – 25 of 96) sorted by relevance

1234

/third_party/flutter/flutter/packages/flutter/test/widgets/
Dfocus_scope_test.dart79 expect(key.currentState.focusNode.hasFocus, isFalse);
81 FocusScope.of(key.currentContext).requestFocus(key.currentState.focusNode);
84 expect(key.currentState.focusNode.hasFocus, isTrue);
100 expect(keyA.currentState.focusNode.hasFocus, isFalse);
102 expect(keyB.currentState.focusNode.hasFocus, isFalse);
105 FocusScope.of(keyA.currentContext).requestFocus(keyA.currentState.focusNode);
108 expect(keyA.currentState.focusNode.hasFocus, isTrue);
110 expect(keyB.currentState.focusNode.hasFocus, isFalse);
114 FocusScope.of(keyB.currentContext).requestFocus(keyB.currentState.focusNode);
117 expect(keyA.currentState.focusNode.hasFocus, isFalse);
[all …]
Dreparent_state_test.dart74 final StateMarkerState leftState = left.currentState;
76 final StateMarkerState rightState = right.currentState;
101 expect(left.currentState, equals(leftState));
103 expect(right.currentState, equals(rightState));
122 expect(left.currentState, equals(leftState));
124 expect(right.currentState, isNull);
145 final StateMarkerState leftState = left.currentState;
147 final StateMarkerState rightState = right.currentState;
168 expect(left.currentState, equals(leftState));
170 expect(right.currentState, equals(rightState));
[all …]
Dform_test.dart40 formKey.currentState.save();
116 formKey.currentState.reset();
123 formKey.currentState.validate();
128 formKey.currentState.reset();
144 String errorText(String input) => '${fieldKey.currentState.value}/error';
227 expect(inputKey.currentState.value, equals(initialValue));
230 expect(inputKey.currentState.value, equals('world'));
273 expect(inputKey.currentState.value, equals(initialValue));
276 expect(inputKey.currentState.value, equals('world'));
316 expect(inputKey.currentState.value, equals('Xyzzy'));
[all …]
Dapp_navigator_key_test.dart23 expect(key.currentState, isInstanceOf<NavigatorState>());
28 expect(key.currentState, isNull);
34 expect(key.currentState, isInstanceOf<NavigatorState>());
Ddrawer_test.dart37 scaffoldKey.currentState.openDrawer();
62 scaffoldKey.currentState.openDrawer();
104 scaffoldKey.currentState.openDrawer();
158 scaffoldKey.currentState.openDrawer();
220 scaffoldKey.currentState.openDrawer();
256 scaffoldKey.currentState.openDrawer();
285 scaffoldKey.currentState.openDrawer();
312 scaffoldKey.currentState.openDrawer();
Doverlay_test.dart186 final OverlayState overlay = overlayKey.currentState;
224 final OverlayState overlay = overlayKey.currentState;
269 final OverlayState overlay = overlayKey.currentState;
322 final OverlayState overlay = overlayKey.currentState;
368 final OverlayState overlay = overlayKey.currentState;
420 final OverlayState overlay = overlayKey.currentState;
483 final OverlayState overlay = overlayKey.currentState;
546 final OverlayState overlay = overlayKey.currentState;
609 final OverlayState overlay = overlayKey.currentState;
Dunique_widget_test.dart26 final TestUniqueWidgetState state = widget.currentState;
32 expect(widget.currentState, equals(state));
Danimated_list_test.dart67 listKey.currentState.insertItem(0, duration: const Duration(milliseconds: 100));
82 listKey.currentState.insertItem(0, duration: const Duration(milliseconds: 100));
83 listKey.currentState.insertItem(0, duration: const Duration(milliseconds: 100));
151 listKey.currentState.removeItem(0,
Dautomatic_keep_alive_test.dart96 const GlobalObjectKey<_LeafState>(60).currentState.setKeepAlive(true);
106 const GlobalObjectKey<_LeafState>(60).currentState.setKeepAlive(false);
146 const GlobalObjectKey<_LeafState>(60).currentState.setKeepAlive(true);
156 const GlobalObjectKey<_LeafState>(60).currentState.setKeepAlive(false);
198 const GlobalObjectKey<_LeafState>(60).currentState.setKeepAlive(true);
208 const GlobalObjectKey<_LeafState>(60).currentState.setKeepAlive(false);
274 const GlobalObjectKey<_LeafState>(0).currentState.setKeepAlive(true);
283 const GlobalObjectKey<_LeafState>(1).currentState.setKeepAlive(true);
291 const GlobalObjectKey<_LeafState>(0).currentState.setKeepAlive(false);
299 const GlobalObjectKey<_LeafState>(1).currentState.setKeepAlive(false);
[all …]
/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestautomation_mouse.c283 int currentState; in mouse_showCursor() local
286 currentState = SDL_ShowCursor(SDL_QUERY); in mouse_showCursor()
288 SDLTest_AssertCheck(currentState == SDL_DISABLE || currentState == SDL_ENABLE, in mouse_showCursor()
289 "Validate result is %i or %i, got: %i", SDL_DISABLE, SDL_ENABLE, currentState); in mouse_showCursor()
290 if (currentState == SDL_DISABLE) { in mouse_showCursor()
294 } else if (currentState == SDL_ENABLE) { in mouse_showCursor()
368 SDL_bool currentState; in mouse_getSetRelativeMouseMode() local
380 currentState = SDL_GetRelativeMouseMode(); in mouse_getSetRelativeMouseMode()
382 …SDLTest_AssertCheck(currentState == SDL_FALSE, "Validate current state is FALSE, got: %i", current… in mouse_getSetRelativeMouseMode()
392 currentState = SDL_GetRelativeMouseMode(); in mouse_getSetRelativeMouseMode()
[all …]
Dtestautomation_keyboard.c295 SDL_Keymod currentState; in keyboard_getSetModState() local
316 currentState = result; in keyboard_getSetModState()
334 if (currentState != 0) { in keyboard_getSetModState()
335 SDL_SetModState(currentState); in keyboard_getSetModState()
336 SDLTest_AssertPass("Call to SDL_SetModState(%i)", currentState); in keyboard_getSetModState()
339 …SDLTest_AssertCheck(result == currentState, "Verify result from call is valid, expected: %i, got: … in keyboard_getSetModState()
/third_party/node/deps/icu-small/source/common/
Ducnv_ct.cpp346 COMPOUND_TEXT_CONVERTERS currentState, tmpState; in UConverter_fromUnicode_CompoundText_OFFSETS() local
353 currentState = myConverterData->state; in UConverter_fromUnicode_CompoundText_OFFSETS()
402 if (tmpState != DO_SEARCH && currentState != tmpState) { in UConverter_fromUnicode_CompoundText_OFFSETS()
404 currentState = tmpState; in UConverter_fromUnicode_CompoundText_OFFSETS()
405 for (i = 0; escSeqCompoundText[currentState][i] != 0; i++) { in UConverter_fromUnicode_CompoundText_OFFSETS()
406 tmpTargetBuffer[tmpTargetBufferLength++] = escSeqCompoundText[currentState][i]; in UConverter_fromUnicode_CompoundText_OFFSETS()
416 if (currentState != tmpState) { in UConverter_fromUnicode_CompoundText_OFFSETS()
417 currentState = tmpState; in UConverter_fromUnicode_CompoundText_OFFSETS()
418 for (j = 0; escSeqCompoundText[currentState][j] != 0; j++) { in UConverter_fromUnicode_CompoundText_OFFSETS()
419 … tmpTargetBuffer[tmpTargetBufferLength++] = escSeqCompoundText[currentState][j]; in UConverter_fromUnicode_CompoundText_OFFSETS()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Ducnv_ct.cpp346 COMPOUND_TEXT_CONVERTERS currentState, tmpState; in UConverter_fromUnicode_CompoundText_OFFSETS() local
353 currentState = myConverterData->state; in UConverter_fromUnicode_CompoundText_OFFSETS()
402 if (tmpState != DO_SEARCH && currentState != tmpState) { in UConverter_fromUnicode_CompoundText_OFFSETS()
404 currentState = tmpState; in UConverter_fromUnicode_CompoundText_OFFSETS()
405 for (i = 0; escSeqCompoundText[currentState][i] != 0; i++) { in UConverter_fromUnicode_CompoundText_OFFSETS()
406 tmpTargetBuffer[tmpTargetBufferLength++] = escSeqCompoundText[currentState][i]; in UConverter_fromUnicode_CompoundText_OFFSETS()
416 if (currentState != tmpState) { in UConverter_fromUnicode_CompoundText_OFFSETS()
417 currentState = tmpState; in UConverter_fromUnicode_CompoundText_OFFSETS()
418 for (j = 0; escSeqCompoundText[currentState][j] != 0; j++) { in UConverter_fromUnicode_CompoundText_OFFSETS()
419 … tmpTargetBuffer[tmpTargetBufferLength++] = escSeqCompoundText[currentState][j]; in UConverter_fromUnicode_CompoundText_OFFSETS()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Ducnv_ct.cpp346 COMPOUND_TEXT_CONVERTERS currentState, tmpState; in UConverter_fromUnicode_CompoundText_OFFSETS() local
353 currentState = myConverterData->state; in UConverter_fromUnicode_CompoundText_OFFSETS()
402 if (tmpState != DO_SEARCH && currentState != tmpState) { in UConverter_fromUnicode_CompoundText_OFFSETS()
404 currentState = tmpState; in UConverter_fromUnicode_CompoundText_OFFSETS()
405 for (i = 0; escSeqCompoundText[currentState][i] != 0; i++) { in UConverter_fromUnicode_CompoundText_OFFSETS()
406 tmpTargetBuffer[tmpTargetBufferLength++] = escSeqCompoundText[currentState][i]; in UConverter_fromUnicode_CompoundText_OFFSETS()
416 if (currentState != tmpState) { in UConverter_fromUnicode_CompoundText_OFFSETS()
417 currentState = tmpState; in UConverter_fromUnicode_CompoundText_OFFSETS()
418 for (j = 0; escSeqCompoundText[currentState][j] != 0; j++) { in UConverter_fromUnicode_CompoundText_OFFSETS()
419 … tmpTargetBuffer[tmpTargetBufferLength++] = escSeqCompoundText[currentState][j]; in UConverter_fromUnicode_CompoundText_OFFSETS()
[all …]
/third_party/icu/icu4c/source/common/
Ducnv_ct.cpp346 COMPOUND_TEXT_CONVERTERS currentState, tmpState; in UConverter_fromUnicode_CompoundText_OFFSETS() local
353 currentState = myConverterData->state; in UConverter_fromUnicode_CompoundText_OFFSETS()
402 if (tmpState != DO_SEARCH && currentState != tmpState) { in UConverter_fromUnicode_CompoundText_OFFSETS()
404 currentState = tmpState; in UConverter_fromUnicode_CompoundText_OFFSETS()
405 for (i = 0; escSeqCompoundText[currentState][i] != 0; i++) { in UConverter_fromUnicode_CompoundText_OFFSETS()
406 tmpTargetBuffer[tmpTargetBufferLength++] = escSeqCompoundText[currentState][i]; in UConverter_fromUnicode_CompoundText_OFFSETS()
416 if (currentState != tmpState) { in UConverter_fromUnicode_CompoundText_OFFSETS()
417 currentState = tmpState; in UConverter_fromUnicode_CompoundText_OFFSETS()
418 for (j = 0; escSeqCompoundText[currentState][j] != 0; j++) { in UConverter_fromUnicode_CompoundText_OFFSETS()
419 … tmpTargetBuffer[tmpTargetBufferLength++] = escSeqCompoundText[currentState][j]; in UConverter_fromUnicode_CompoundText_OFFSETS()
[all …]
/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetCompoundText.java351 byte currentState = state; in encodeLoop()
444 if (currentState != tmpState) { in encodeLoop()
445 currentState = tmpState; in encodeLoop()
448 for (i = 0; i < escSeqCompoundText[currentState].length; i++) { in encodeLoop()
449 targetBytes[i] = escSeqCompoundText[currentState][i]; in encodeLoop()
480 state = currentState; in encodeLoop()
516 byte currentState = state; in decodeLoop()
517 byte tmpState = currentState; in decodeLoop()
553 if (tmpState != currentState) { in decodeLoop()
554 currentState = tmpState; in decodeLoop()
[all …]
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/
Dcontacts_demo.dart127 _scaffoldKey.currentState.showSnackBar(const SnackBar(
195 _scaffoldKey.currentState.showSnackBar(const SnackBar(
208 _scaffoldKey.currentState.showSnackBar(const SnackBar(
221 _scaffoldKey.currentState.showSnackBar(const SnackBar(
240 _scaffoldKey.currentState.showSnackBar(const SnackBar(
253 _scaffoldKey.currentState.showSnackBar(const SnackBar(
271 _scaffoldKey.currentState.showSnackBar(const SnackBar(
285 _scaffoldKey.currentState.showSnackBar(const SnackBar(
299 _scaffoldKey.currentState.showSnackBar(const SnackBar(
/third_party/skia/third_party/externals/oboe/apps/fxlab/app/src/main/cpp/
DDuplexEngine.cpp77 auto currentState = outStream->getState(); in startStreams() local
79 while (result == oboe::Result::OK && currentState != oboe::StreamState::Started) { in startStreams()
80 result = outStream->waitForStateChange(currentState, &nextState, timeoutNanos); in startStreams()
81 currentState = nextState; in startStreams()
/third_party/flutter/flutter/packages/flutter/test/material/
Dtext_selection_test.dart33 expect(materialTextSelectionControls.canSelectAll(key.currentState), false);
42 expect(materialTextSelectionControls.canSelectAll(key.currentState), true);
52 expect(materialTextSelectionControls.canSelectAll(key.currentState), true);
62 expect(materialTextSelectionControls.canSelectAll(key.currentState), false);
Dtooltip_test.dart78 …(key.currentState as dynamic).ensureTooltipVisible(); // Before using "as dynamic" in your code, s…
135 …(key.currentState as dynamic).ensureTooltipVisible(); // Before using "as dynamic" in your code, s…
189 …(key.currentState as dynamic).ensureTooltipVisible(); // Before using "as dynamic" in your code, s…
245 …(key.currentState as dynamic).ensureTooltipVisible(); // Before using "as dynamic" in your code, s…
312 …(key.currentState as dynamic).ensureTooltipVisible(); // Before using "as dynamic" in your code, s…
367 …(key.currentState as dynamic).ensureTooltipVisible(); // Before using "as dynamic" in your code, s…
424 …(key.currentState as dynamic).ensureTooltipVisible(); // Before using "as dynamic" in your code, s…
472 …(key.currentState as dynamic).ensureTooltipVisible(); // Before using "as dynamic" in your code, s…
517 …(key.currentState as dynamic).ensureTooltipVisible(); // Before using "as dynamic" in your code, s…
543 …(key.currentState as dynamic).ensureTooltipVisible(); // Before using "as dynamic" in your code, s…
[all …]
Dtooltip_theme_test.dart137 …(key.currentState as dynamic).ensureTooltipVisible(); // Before using "as dynamic" in your code, s…
195 …(key.currentState as dynamic).ensureTooltipVisible(); // Before using "as dynamic" in your code, s…
255 …(key.currentState as dynamic).ensureTooltipVisible(); // Before using "as dynamic" in your code, s…
324 …(key.currentState as dynamic).ensureTooltipVisible(); // Before using "as dynamic" in your code, s…
395 …(key.currentState as dynamic).ensureTooltipVisible(); // Before using "as dynamic" in your code, s…
452 …(key.currentState as dynamic).ensureTooltipVisible(); // Before using "as dynamic" in your code, s…
501 …(key.currentState as dynamic).ensureTooltipVisible(); // Before using "as dynamic" in your code, s…
557 …(key.currentState as dynamic).ensureTooltipVisible(); // Before using "as dynamic" in your code, s…
605 …(key.currentState as dynamic).ensureTooltipVisible(); // Before using "as dynamic" in your code, s…
634 …(key.currentState as dynamic).ensureTooltipVisible(); // Before using "as dynamic" in your code, s…
[all …]
/third_party/flutter/flutter/packages/flutter/test/cupertino/
Dtext_selection_test.dart33 expect(cupertinoTextSelectionControls.canSelectAll(key.currentState), false);
42 expect(cupertinoTextSelectionControls.canSelectAll(key.currentState), true);
52 expect(cupertinoTextSelectionControls.canSelectAll(key.currentState), false);
62 expect(cupertinoTextSelectionControls.canSelectAll(key.currentState), false);
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Dunique_widget.dart16 /// the [currentState] property.
36 T get currentState {
38 return globalKey.currentState;
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/material/
Doverscroll_demo.dart33 _scaffoldKey.currentState?.showSnackBar(SnackBar(
38 _refreshIndicatorKey.currentState.show();
57 _refreshIndicatorKey.currentState.show();
/third_party/typescript/src/compiler/transformers/
Des2015.ts2757 const currentState = createConvertedLoopState(node); constant
2761 convertedLoopState = currentState;
2763 …rOfForStatement(node) ? createFunctionForInitializerOfForStatement(node, currentState) : undefined;
2764 …tionStatement(node) ? createFunctionForBodyOfIterationStatement(node, currentState, outerConverted…
2771 addExtraDeclarationsForConvertedLoop(statements, currentState, outerConvertedLoopState);
2874 const currentState: ConvertedLoopState = { loopParameters, loopOutParameters }; constant
2881 currentState.argumentsName = convertedLoopState.argumentsName;
2886 currentState.thisName = convertedLoopState.thisName;
2891 currentState.hoistedLocalVariables = convertedLoopState.hoistedLocalVariables;
2894 return currentState;
[all …]

1234