summaryrefslogtreecommitdiffstats
path: root/src_pd
diff options
context:
space:
mode:
authorSeth Raphael <magicseth@google.com>2013-11-05 18:12:36 (GMT)
committerSeth Raphael <magicseth@google.com>2013-11-08 03:37:52 (GMT)
commitcbd8267ee99e457f72822e8d8187b5e6823104f8 (patch)
tree33877c4972de343d98de7c763cc01c6c925a659c /src_pd
parent36d84c1d273faf24c6907e173cf95f233db71592 (diff)
downloadandroid_packages_apps_Snap-cbd8267ee99e457f72822e8d8187b5e6823104f8.zip
android_packages_apps_Snap-cbd8267ee99e457f72822e8d8187b5e6823104f8.tar.gz
android_packages_apps_Snap-cbd8267ee99e457f72822e8d8187b5e6823104f8.tar.bz2
Add logging to various actions
Bug: 11514148 Change-Id: Ib31a74a6badc4dcdeaa316e032f4aef17edd06b2
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 "";
+ }
}