summaryrefslogtreecommitdiffstats
path: root/src_pd
diff options
context:
space:
mode:
Diffstat (limited to 'src_pd')
-rw-r--r--src_pd/com/android/camera/util/UsageStatistics.java26
1 files changed, 25 insertions, 1 deletions
diff --git a/src_pd/com/android/camera/util/UsageStatistics.java b/src_pd/com/android/camera/util/UsageStatistics.java
index 40f74a4..faacb9d 100644
--- a/src_pd/com/android/camera/util/UsageStatistics.java
+++ b/src_pd/com/android/camera/util/UsageStatistics.java
@@ -8,6 +8,9 @@ public class UsageStatistics {
public static final String COMPONENT_CAMERA = "Camera";
public static final String COMPONENT_EDITOR = "Editor";
public static final String COMPONENT_IMPORTER = "Importer";
+ public static final String COMPONENT_LIGHTCYCLE = "Lightcycle";
+ public static final String COMPONENT_PANORAMA = "Panorama";
+ public static final String COMPONENT_GCAM = "GCam";
public static final String TRANSITION_BACK_BUTTON = "BackButton";
public static final String TRANSITION_UP_BUTTON = "UpButton";
@@ -22,16 +25,37 @@ public class UsageStatistics {
public static final String ACTION_CAPTURE_START = "CaptureStart";
public static final String ACTION_CAPTURE_FAIL = "CaptureFail";
public static final String ACTION_CAPTURE_DONE = "CaptureDone";
- public static final String ACTION_SHARE = "Share";
+
+ public static final String ACTION_STITCHING_START = "StitchingStart";
+ public static final String ACTION_STITCHING_DONE = "StitchingDone";
+
+ public static final String ACTION_FOREGROUNDED = "Foregrounded";
+ public static final String ACTION_OPEN_FAIL = "OpenFailure";
+ public static final String ACTION_SCREEN_CHANGED = "ScreenChanged";
+ public static final String ACTION_FILMSTRIP = "Filmstrip";
+ public static final String ACTION_TOUCH_FOCUS= "TouchFocus";
+ public static final String ACTION_DELETE = "Delete";
+ public static final String ACTION_GALLERY = "Gallery";
+ public static final String ACTION_EDIT= "Edit";
+ public static final String ACTION_CROP= "Crop";
+ public static final String ACTION_PLAY_VIDEO= "PlayVideo";
public static final String CATEGORY_LIFECYCLE = "AppLifecycle";
public static final String CATEGORY_BUTTON_PRESS = "ButtonPress";
public static final String LIFECYCLE_START = "Start";
+ public static final String ACTION_SHARE = "Share";
+
public static void initialize(Context context) {}
public static void setPendingTransitionCause(String cause) {}
public static void onContentViewChanged(String screenComponent, String screenName) {}
public static void onEvent(String category, String action, String label) {};
public static void onEvent(String category, String action, String label, long optional_value) {};
+ public static void onEvent(String category, String action, String label, long optional_value,
+ String fileNameHash) {};
+
+ public static String hashFileName(String fileName) {
+ return "";
+ }
}