am 94c441a4: am cdaee868: Merge "Preserve a class for testing"
* commit '94c441a424875f815d7e84d02da5c8943ad6f7a6': Preserve a class for testingmain
commit
9cf3937281
|
@ -22,6 +22,7 @@ import android.view.MotionEvent;
|
||||||
import android.view.MotionEvent.PointerCoords;
|
import android.view.MotionEvent.PointerCoords;
|
||||||
import android.view.MotionEvent.PointerProperties;
|
import android.view.MotionEvent.PointerProperties;
|
||||||
|
|
||||||
|
import com.android.inputmethod.annotations.UsedForTesting;
|
||||||
import com.android.inputmethod.latin.define.ProductionFlag;
|
import com.android.inputmethod.latin.define.ProductionFlag;
|
||||||
|
|
||||||
import java.io.BufferedReader;
|
import java.io.BufferedReader;
|
||||||
|
@ -64,6 +65,7 @@ public class MotionEventReader {
|
||||||
return replayData;
|
return replayData;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@UsedForTesting
|
||||||
static class ReplayData {
|
static class ReplayData {
|
||||||
final ArrayList<Integer> mActions = new ArrayList<Integer>();
|
final ArrayList<Integer> mActions = new ArrayList<Integer>();
|
||||||
final ArrayList<PointerProperties[]> mPointerPropertiesArrays
|
final ArrayList<PointerProperties[]> mPointerPropertiesArrays
|
||||||
|
@ -134,6 +136,7 @@ public class MotionEventReader {
|
||||||
* },
|
* },
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
|
@UsedForTesting
|
||||||
/* package for test */ void readLogStatement(final JsonReader jsonReader,
|
/* package for test */ void readLogStatement(final JsonReader jsonReader,
|
||||||
final ReplayData replayData) throws IOException {
|
final ReplayData replayData) throws IOException {
|
||||||
String logStatementType = null;
|
String logStatementType = null;
|
||||||
|
|
Loading…
Reference in New Issue