Home
last modified time | relevance | path

Searched refs:setState (Results 1 – 25 of 128) sorted by relevance

123456

/expo/apps/native-component-list/src/screens/
H A DSMSScreen.tsx26 this.setState({
29 setTimeout(() => this.setState({ error: undefined }), 10000);
36 setTimeout(() => this.setState({ result: undefined }), 5000);
39 this.setState({ error: e.message });
40 setTimeout(() => this.setState({ error: undefined }), 10000);
47 this.setState({
50 setTimeout(() => this.setState({ error: undefined }), 10000);
62 this.setState({ error: e.message });
63 setTimeout(() => this.setState({ error: undefined }), 10000);
75 this.setState({
[all …]
H A DAppleAuthenticationScreen.tsx66 this.setState({ credentials: null });
72 this.setState({ isAvailable });
81 this.setState({ credentials });
98 this.setState({ credentials });
111 this.setState({ credentials: null, credentialState: null });
121 this.setState({ credentialState });
124 this.setState({ credentialState: AppleAuthenticationCredentialState.NOT_FOUND });
178 onPress={() => this.setState({ buttonStyle: AppleAuthenticationButtonStyle.WHITE })}
185 this.setState({ buttonStyle: AppleAuthenticationButtonStyle.WHITE_OUTLINE })
190 onPress={() => this.setState({ buttonStyle: AppleAuthenticationButtonStyle.BLACK })}
[all …]
H A DModalScreen.tsx28 this.setState({ modalVisible: false });
39 this.setState({ modalVisible: false });
48 this.setState({ modalVisible: false });
58 this.setState({ modalVisible: true, animationType: 'slide' });
68 this.setState({ modalVisible: true, animationType: 'fade' });
H A DTextToSpeechScreen.tsx106 onValueChange={(voice) => this.setState({ voice })}>
152 this.setState({ inProgress: true });
155 this.state.inProgress && this.setState({ inProgress: false, paused: false });
172 this.setState({
184 this.setState({ paused: true });
189 this.setState({ paused: false });
193 this.setState((state) => ({
200 this.setState((state) => ({
207 this.setState((state) => ({
214 this.setState((state) => ({
[all …]
H A DLocalAuthenticationScreen.tsx36 this.setState({ hasHardware, isEnrolled, supportedAuthenticationTypes });
54 this.setState({ waiting: true });
67 this.setState({ waiting: false });
H A DFaceDetectorScreen.tsx30 this.setState({
42 this.setState({
51 this.setState({
69 this.setState({ selection: undefined });
72 this.setState({ selection: asset });
H A DFileSystemScreen.tsx57 this.setState({
113 this.setState({
123 this.setState({
140 this.setState({
173 this.setState({
243 this.setState({
262 this.setState({
285 this.setState({
306 this.setState({
/expo/apps/router-e2e/__e2e__/auth/
H A DuseStorageState.ts35 const [state, setState] = useAsyncState<string>(); constant
41 setState(localStorage.getItem(key));
45 setState(value);
54 setState(value);
/expo/apps/native-component-list/src/utilities/
H A DuseResettingState.ts17 const [state, setState] = useState<T | undefined>(value); constant
21 state !== undefined && setState(undefined);
27 return [state, setState] as const;
H A DuseAppState.ts7 const [state, setState] = useState<AppStateStatus | null>(initialState); constant
10 const appStateSubscription = AppState.addEventListener('change', setState);
/expo/apps/test-suite/screens/
H A DTestScreen.js50 if (this._isMounted) return this.setState({ testPortal });
55 if (this._isMounted) this.setState({ testPortal: null }, resolve);
61 this.setState(initialState);
147 app.setState({ numFailed: failedSpecs.length, results: jsonResult });
170 app.setState({ done: true, numFailed: failedSpecs.length, results: jsonResult });
199 app.setState(({ state }) => ({
217 app.setState(({ state }) => ({
231 app.setState(({ state }) => ({
248 app.setState(({ state }) => ({
/expo/apps/native-component-list/src/screens/Camera/
H A DCameraScreen.tsx115 this.setState({ permission: status, permissionsGranted: status === 'granted' });
135 this.setState((state) => ({
141 setRatio = (ratio: string) => this.setState({ ratio });
146 this.setState((state) => ({
154 setFocusDepth = (depth: number) => this.setState({ depth });
157 this.setState((state) => ({ barcodeScanning: !state.barcodeScanning }));
169 this.setState((state) => ({ recording: !state.recording }));
204 this.setState({ newPhotos: true });
209 this.setState(() => ({
215 onFacesDetected = ({ faces }: { faces: any }) => this.setState({ faces });
[all …]
/expo/home/screens/DiagnosticsScreen/
H A DLocationDiagnosticsScreen.tsx74 this.setState({ isBackgroundLocationAvailable });
83 this.setState({
89 this.setState({ error: null });
100 this.setState({ savedLocations: locations });
107 this.setState((state) => ({
158 this.setState({ isTracking: true });
163 this.setState({ isTracking: false });
168 this.setState({ savedLocations: [] });
179 this.setState({ savedLocations: [] });
188 this.setState({ accuracy });
[all …]
H A DGeofencingDiagnosticsScreen.tsx64 this.setState({
70 this.setState({ error: null });
83 this.setState({
122 this.setState({ geofencingRegions: [] });
129 this.setState((state) => ({ isGeofencing: !state.isGeofencing }));
136 this.setState({ newRegionRadius: radius });
154 this.setState(
/expo/apps/native-component-list/src/screens/Screens/
H A DnativeStack.tsx24 this.setState({ stack: [...stack, key], transitioning: 1 });
29 this.setState({ transitioning: 0, stack: stack.slice(0, -1) });
34 this.setState({ stack: stack.filter((v, idx) => idx !== index) });
39 this.setState({ stack: stack.filter((v) => key !== v) });
/expo/apps/native-component-list/src/screens/WebBrowser/
H A DWebBrowserScreen.tsx37 .then((packages) => this.setState({ packages }));
54 this.setState({
63 this.setState({
77 this.setState({ selectedPackage: value });
/expo/packages/eslint-config-universe/__tests__/fixtures/
H A Dweb-native-01.js8 this.setState({});
/expo/ios/versioned-react-native/ABI48_0_0/Expo/ExpoKit/Core/Internal/
H A DABI48_0_0EXAppState.h10 - (void)setState:(NSString *)state;
/expo/ios/versioned-react-native/ABI49_0_0/Expo/ExpoKit/Core/Internal/
H A DABI49_0_0EXAppState.h10 - (void)setState:(NSString *)state;
/expo/ios/Exponent/Versioned/Core/Internal/
H A DEXAppState.h10 - (void)setState:(NSString *)state;
/expo/ios/versioned-react-native/ABI47_0_0/Expo/ExpoKit/Core/Internal/
H A DABI47_0_0EXAppState.h10 - (void)setState:(NSString *)state;
/expo/packages/@expo/metro-runtime/build/error-overlay/overlay/
H A DLogBoxInspectorSourceMapStatus.js39 const [state, setState] = (0, react_1.useState)({
53 setState({
66 setState({
/expo/apps/native-component-list/src/screens/AV/
H A DAudioModeSelector.android.tsx33 this.setState({ setMode: modeToSet });
46 this.setState((state) => ({ modeToSet: { ...state.modeToSet, interruptionModeAndroid } }));
73 this.setState((state) => ({
/expo/apps/native-component-list/src/screens/SVG/examples/
H A DPanResponder.tsx44 this.setState({
51 this.setState({
57 this.setState({
/expo/packages/@expo/metro-runtime/src/error-overlay/overlay/
H A DLogBoxInspectorSourceMapStatus.tsx20 const [state, setState] = useState<{
40 setState({
52 setState({

123456