Lines Matching refs:state
55 this.state = { property
70 this.state.pan.setOffset({
71 x: this.state.pan.x._value,
72 y: this.state.pan.y._value,
74 this.state.pan.setValue({x: 0, y: 0});
75 Animated.spring(this.state.scale, {
83 {dx: this.state.pan.x, dy: this.state.pan.y},
92 Animated.spring(this.state.scale, {
101 this.state.pan.flattenOffset();
108 this.state.pan.setValue({x: 0, y: 0});
153 this.state.panelHeight.setValue(
154 this.state.panelHeight._value ? 0 : this.containerHeight,
159 const tabName = this.state.panels[this.state.currentPageIndex].title;
185 if (!this.state.commandValue) return;
186 this.evalInContext(this.state.commandValue, commandContext);
215 const item = this.refsObj[this.state.currentPageIndex];
234 {this.state.panels.map((item, index) => (
238 if (index != this.state.currentPageIndex) {
247 index === this.state.currentPageIndex &&
261 const res = this.state.history.filter(f => {
262 return f == this.state.commandValue;
265 this.state.history.splice(0, 0, this.state.commandValue);
266 this.state.historyFilter.splice(0, 0, this.state.commandValue);
269 history: this.state.history,
270 historyFilter: this.state.historyFilter,
273 Storage.save('react-native-vdebug@history', this.state.history);
280 const state = {commandValue: text}; variable
282 const res = this.state.history.filter(f =>
285 if (res && res.length) state.historyFilter = res;
287 state.historyFilter = [];
289 this.setState(state);
299 height: this.state.historyFilter.length ? 120 : 40,
306 {height: this.state.historyFilter.length ? 80 : 0},
309 {this.state.historyFilter.map(text => {
338 value={this.state.commandValue}
388 currentPageIndex != this.state.currentPageIndex &&
397 style={[styles.panel, {height: this.state.panelHeight}]}>
408 {this.state.panels.map((item, index) => {
423 const {pan, scale} = this.state;