Home
last modified time | relevance | path

Searched refs:Interaction (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
DInteraction.java29 public class Interaction { class
42 private final @Interaction.Type int mType;
45 Interaction.Type.TAP,
46 Interaction.Type.FLING,
47 Interaction.Type.PINCH,
48 Interaction.Type.KEY_EVENT})
56 public static Interaction newFling(float startX, float startY, in newFling()
58 return new Interaction(Interaction.Type.FLING, new float[]{startX, endX}, in newFling()
62 public static Interaction newFlingDown(float startX, float startY) { in newFlingDown()
63 return new Interaction(Interaction.Type.FLING, in newFlingDown()
[all …]
DAutomator.java59 protected final void addInteraction(Interaction interaction) { in addInteraction()
67 protected final void setInteractions(List<Interaction> interactions) { in setInteractions()
71 private List<Interaction> mInteractions;
88 LinkedList<Interaction> mInteractions;
146 Interaction interaction = mInteractions.poll(); in nextInteraction()
154 private void doInteraction(Interaction interaction) { in doInteraction()
161 if (interaction.getType() == Interaction.Type.KEY_EVENT) { in doInteraction()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
DListViewScrollActivity.java30 import com.android.benchmark.ui.automation.Interaction;
81 Interaction flingUp = Interaction.newFlingUp(middleX, middleY); in onCreate()
82 Interaction flingDown = Interaction.newFlingDown(middleX, middleY); in onCreate()
DTextScrollActivity.java27 import com.android.benchmark.ui.automation.Interaction;
82 Interaction flingUp = Interaction.newFlingUp(middleX, middleY); in onCreate()
83 Interaction flingDown = Interaction.newFlingDown(middleX, middleY); in onCreate()
DShadowGridActivity.java29 import com.android.benchmark.ui.automation.Interaction;
82 Interaction flingUp = Interaction.newFlingUp(middleX, middleY); in onCreate()
83 Interaction flingDown = Interaction.newFlingDown(middleX, middleY); in onCreate()
DEditTextInputActivity.java28 import com.android.benchmark.ui.automation.Interaction;
75 Interaction tap = Interaction.newTap(middleX, middleY); in onCreate()
107 Interaction typeAlphabet = Interaction.newKeyInput(new int[] { in onCreate()
DFullScreenOverdrawActivity.java34 import com.android.benchmark.ui.automation.Interaction;
109 addInteraction(Interaction.newTap(middleX, middleY)); in onCreate()
DBitmapUploadActivity.java37 import com.android.benchmark.ui.automation.Interaction;
153 addInteraction(Interaction.newTap(middleX, middleY)); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DSegmentedButtons.java94 Interaction.register(b, new Interaction.Callback() { in addButton()
126 public interface Callback extends Interaction.Callback {
DInteraction.java24 public class Interaction { class
DZenModePanel.java745 Interaction.register(tag.rb, mInteractionCallback); in bind()
746 Interaction.register(tag.lines, mInteractionCallback); in bind()
747 Interaction.register(button1, mInteractionCallback); in bind()
748 Interaction.register(button2, mInteractionCallback); in bind()
1012 private final Interaction.Callback mInteractionCallback = new Interaction.Callback() {