Home | History | Annotate | Download | only in util

Lines Matching refs:recording

21  * whether recording is currently enabled.
24 * supplied character to the recording buffer but only if
25 * recording is in progress. This is useful in our
27 * as the caller logic to enable/disable recording is decoupled from the logic
28 * of recording.
38 * <li>There is a size limit to the recording buffer as set in
41 * recording is currently enabled.
54 * This is where characters provided for recording are stored. Given
60 /** Holds whether we are currently recording characters or not. */
61 private boolean recording;
65 * not recording. See {@link #RECORDING_BUFFER_SIZE} for the size.
69 recording = false;
74 * of the one provided. In particular it has the same recording
80 recording = aCharacterRecorder.recording;
86 * Enables recording for incoming characters. The recording buffer is cleared
92 recording = true;
96 * Disables recording further characters.
99 recording = false;
103 * Records the {@code input} if recording is currently on and we
104 * have space available in the buffer. If recording is not
110 if (recording && (sb.length() < RECORDING_BUFFER_SIZE)) {
116 * Empties the underlying storage but does not change the recording
117 * state [i.e whether we are recording or not incoming characters].
124 * Empties the underlying storage and resets the recording indicator
125 * to indicate we are not recording currently.
129 recording = false;
143 * Returns whether or not we are currently recording incoming characters.
145 * @return {@code true} if we are recording, {@code false} otherwise
148 return recording;
160 return String.format("In recording: %s; Value: %s", isRecording(),