Home
last modified time | relevance | path

Searched refs:stageIndex (Results 1 – 3 of 3) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/
DCameraIntentsActivity.java214 final int stageIndex = getIntent().getIntExtra(STAGE_INDEX_EXTRA, 0); in getStageIndex() local
215 return stageIndex; in getStageIndex()
218 private String getStageString(int stageIndex) in getStageString() argument
220 if (stageIndex == STAGE_APP_PICTURE) { in getStageString()
223 if (stageIndex == STAGE_APP_VIDEO) { in getStageString()
226 if (stageIndex == STAGE_INTENT_PICTURE) { in getStageString()
229 if (stageIndex == STAGE_INTENT_VIDEO) { in getStageString()
236 private String getStageIntentString(int stageIndex) in getStageIntentString() argument
238 if (stageIndex == STAGE_APP_PICTURE) { in getStageIntentString()
241 if (stageIndex == STAGE_APP_VIDEO) { in getStageIntentString()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DGyroscopeTestActivity.java67 final int stageIndex = getIntent().getIntExtra(STAGE_INDEX_EXTRA, 0); in onCreate() local
68 Settings settings = getSettings(stageIndex); in onCreate()
71 if (stageIndex + 1 < NUM_STAGES) { in onCreate()
72 setPassButtonGoesToNextStage(stageIndex); in onCreate()
92 private Settings getSettings(int stageIndex) { in getSettings() argument
93 switch (stageIndex) { in getSettings()
95 return new Settings(stageIndex, NUM_STAGES, 0, 0, 1, 2, true); in getSettings()
97 return new Settings(stageIndex, NUM_STAGES, 0, 0, -1, 2, false); in getSettings()
99 return new Settings(stageIndex, NUM_STAGES, 0, 1, 0, 1, true); in getSettings()
101 return new Settings(stageIndex, NUM_STAGES, 0, -1, 0, 1, false); in getSettings()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
DCameraOrientationActivity.java110 final int stageIndex = getIntent().getIntExtra(STAGE_INDEX_EXTRA, 0); in onCreate() local
111 Settings settings = getSettings(stageIndex); in onCreate()
116 if (stageIndex + 1 < mNumCameras * NUM_ORIENTATIONS) { in onCreate()
117 setPassButtonGoesToNextStage(stageIndex); in onCreate()
298 final int stageIndex = in onClick() local
311 if(counter < stageIndex) { in onClick()
317 if(counter == stageIndex) { in onClick()
327 if(counter > stageIndex) { in onClick()
361 intent.putExtra(STAGE_INDEX_EXTRA, stageIndex + 1); in onClick()
545 private void setPassButtonGoesToNextStage(final int stageIndex) { in setPassButtonGoesToNextStage() argument
[all …]