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.java221 final int stageIndex = getIntent().getIntExtra(STAGE_INDEX_EXTRA, 0); in getStageIndex() local
222 return stageIndex; in getStageIndex()
225 private String getStageString(int stageIndex) in getStageString() argument
227 if (stageIndex == STAGE_APP_PICTURE) { in getStageString()
230 if (stageIndex == STAGE_APP_VIDEO) { in getStageString()
233 if (stageIndex == STAGE_INTENT_PICTURE) { in getStageString()
236 if (stageIndex == STAGE_INTENT_PICTURE_SECURE) { in getStageString()
239 if (stageIndex == STAGE_INTENT_VIDEO) { in getStageString()
246 private String getStageIntentString(int stageIndex) in getStageIntentString() argument
248 if (stageIndex == STAGE_APP_PICTURE) { 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 …]