Searched defs:modeIndex (Results 1 - 5 of 5) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/app/
H A DAppController.java132 public int getModuleId(int modeIndex); argument
147 * @param modeIndex mode switcher index.
150 public int getPreferredChildModeIndex(int modeIndex); argument
H A DCameraAppUI.java1533 public void onModeButtonPressed(int modeIndex) { argument
1535 int pressedModuleId = mController.getModuleId(modeIndex);
1545 * @param modeIndex mode index of the selected mode
1548 public void onModeSelected(int modeIndex) { argument
1560 mController.onModeSelected(modeIndex);
1877 public void setBottomBarShutterIcon(int modeIndex) { argument
1878 int shutterIconId = CameraUtil.getCameraShutterIconId(modeIndex,
/packages/apps/Camera2/src/com/android/camera/ui/
H A DModeListView.java917 public void onModeButtonPressed(int modeIndex); argument
918 public void onModeSelected(int modeIndex); argument
1264 private void onModeSelected(int modeIndex) { argument
1266 mModeSwitchListener.onModeSelected(modeIndex);
/packages/apps/Camera2/src/com/android/camera/util/
H A DCameraUtil.java1115 * @param modeIndex index of the mode
1119 public static int getCameraThemeColorId(int modeIndex, Context context) { argument
1124 if (modeIndex >= colorRes.length() || modeIndex < 0) {
1126 Log.e(TAG, "Invalid mode index: " + modeIndex);
1129 return colorRes.getResourceId(modeIndex, 0);
1135 * @param modeIndex index of the mode
1139 public static int getCameraModeIconResId(int modeIndex, Context context) { argument
1143 if (modeIndex >= cameraModesIcons.length() || modeIndex <
1158 getCameraModeText(int modeIndex, Context context) argument
1177 getCameraModeContentDescription(int modeIndex, Context context) argument
1194 getCameraShutterIconId(int modeIndex, Context context) argument
1212 getCameraModeParentModeId(int modeIndex, Context context) argument
1230 getCameraModeCoverIconResId(int modeIndex, Context context) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/
H A DCameraActivity.java1690 int modeIndex = -1;
1699 modeIndex = videoIndex;
1703 modeIndex = captureIntentIndex;
1707 modeIndex = mSettingsManager.getInteger(SettingsManager.SCOPE_GLOBAL,
1716 modeIndex = photoIndex;
1721 modeIndex = mSettingsManager.getInteger(SettingsManager.SCOPE_GLOBAL,
1723 if ((modeIndex == gcamIndex &&
1724 !GcamHelper.hasGcamAsSeparateModule(mFeatureConfig)) || modeIndex < 0) {
1725 modeIndex = photoIndex;
1728 return modeIndex;
2425 getPreferredChildModeIndex(int modeIndex) argument
2436 onModeSelected(int modeIndex) argument
2482 getModuleId(int modeIndex) argument
2494 setModuleFromModeIndex(int modeIndex) argument
[all...]

Completed in 717 milliseconds