18e963a5a6016d246184ed65906f9d103e92b17e2Sascha Haeberlingpackage com.android.camera.util;
2a84dd7a82442ed41e7671b84c9d2c5ab744b25a7Bobby Georgescu
3a84dd7a82442ed41e7671b84c9d2c5ab744b25a7Bobby Georgescuimport android.content.Context;
4a84dd7a82442ed41e7671b84c9d2c5ab744b25a7Bobby Georgescu
5a84dd7a82442ed41e7671b84c9d2c5ab744b25a7Bobby Georgescupublic class UsageStatistics {
6a84dd7a82442ed41e7671b84c9d2c5ab744b25a7Bobby Georgescu
7a84dd7a82442ed41e7671b84c9d2c5ab744b25a7Bobby Georgescu    public static final String COMPONENT_GALLERY = "Gallery";
8a84dd7a82442ed41e7671b84c9d2c5ab744b25a7Bobby Georgescu    public static final String COMPONENT_CAMERA = "Camera";
9a84dd7a82442ed41e7671b84c9d2c5ab744b25a7Bobby Georgescu    public static final String COMPONENT_EDITOR = "Editor";
1000c80bbed8cf59e374c6698c82a5d7fa830e2917Bobby Georgescu    public static final String COMPONENT_IMPORTER = "Importer";
11cbd8267ee99e457f72822e8d8187b5e6823104f8Seth Raphael    public static final String COMPONENT_LIGHTCYCLE = "Lightcycle";
12cbd8267ee99e457f72822e8d8187b5e6823104f8Seth Raphael    public static final String COMPONENT_PANORAMA = "Panorama";
13cbd8267ee99e457f72822e8d8187b5e6823104f8Seth Raphael    public static final String COMPONENT_GCAM = "GCam";
14a84dd7a82442ed41e7671b84c9d2c5ab744b25a7Bobby Georgescu
15a84dd7a82442ed41e7671b84c9d2c5ab744b25a7Bobby Georgescu    public static final String TRANSITION_BACK_BUTTON = "BackButton";
16a84dd7a82442ed41e7671b84c9d2c5ab744b25a7Bobby Georgescu    public static final String TRANSITION_UP_BUTTON = "UpButton";
17a84dd7a82442ed41e7671b84c9d2c5ab744b25a7Bobby Georgescu    public static final String TRANSITION_PINCH_IN = "PinchIn";
18a84dd7a82442ed41e7671b84c9d2c5ab744b25a7Bobby Georgescu    public static final String TRANSITION_PINCH_OUT = "PinchOut";
19a84dd7a82442ed41e7671b84c9d2c5ab744b25a7Bobby Georgescu    public static final String TRANSITION_INTENT = "Intent";
20a84dd7a82442ed41e7671b84c9d2c5ab744b25a7Bobby Georgescu    public static final String TRANSITION_ITEM_TAP = "ItemTap";
21a84dd7a82442ed41e7671b84c9d2c5ab744b25a7Bobby Georgescu    public static final String TRANSITION_MENU_TAP = "MenuTap";
22a84dd7a82442ed41e7671b84c9d2c5ab744b25a7Bobby Georgescu    public static final String TRANSITION_BUTTON_TAP = "ButtonTap";
23a84dd7a82442ed41e7671b84c9d2c5ab744b25a7Bobby Georgescu    public static final String TRANSITION_SWIPE = "Swipe";
24a84dd7a82442ed41e7671b84c9d2c5ab744b25a7Bobby Georgescu
25301b64679cfbd452060ac5b9595d315135550120Bobby Georgescu    public static final String ACTION_CAPTURE_START = "CaptureStart";
26301b64679cfbd452060ac5b9595d315135550120Bobby Georgescu    public static final String ACTION_CAPTURE_FAIL = "CaptureFail";
27301b64679cfbd452060ac5b9595d315135550120Bobby Georgescu    public static final String ACTION_CAPTURE_DONE = "CaptureDone";
28cbd8267ee99e457f72822e8d8187b5e6823104f8Seth Raphael
29cbd8267ee99e457f72822e8d8187b5e6823104f8Seth Raphael    public static final String ACTION_STITCHING_START = "StitchingStart";
30cbd8267ee99e457f72822e8d8187b5e6823104f8Seth Raphael    public static final String ACTION_STITCHING_DONE = "StitchingDone";
31cbd8267ee99e457f72822e8d8187b5e6823104f8Seth Raphael
32cbd8267ee99e457f72822e8d8187b5e6823104f8Seth Raphael    public static final String ACTION_FOREGROUNDED = "Foregrounded";
33cbd8267ee99e457f72822e8d8187b5e6823104f8Seth Raphael    public static final String ACTION_OPEN_FAIL = "OpenFailure";
34cbd8267ee99e457f72822e8d8187b5e6823104f8Seth Raphael    public static final String ACTION_SCREEN_CHANGED = "ScreenChanged";
35cbd8267ee99e457f72822e8d8187b5e6823104f8Seth Raphael    public static final String ACTION_FILMSTRIP = "Filmstrip";
36cbd8267ee99e457f72822e8d8187b5e6823104f8Seth Raphael    public static final String ACTION_TOUCH_FOCUS= "TouchFocus";
37cbd8267ee99e457f72822e8d8187b5e6823104f8Seth Raphael    public static final String ACTION_DELETE = "Delete";
38cbd8267ee99e457f72822e8d8187b5e6823104f8Seth Raphael    public static final String ACTION_GALLERY = "Gallery";
39cbd8267ee99e457f72822e8d8187b5e6823104f8Seth Raphael    public static final String ACTION_EDIT= "Edit";
40cbd8267ee99e457f72822e8d8187b5e6823104f8Seth Raphael    public static final String ACTION_CROP= "Crop";
41cbd8267ee99e457f72822e8d8187b5e6823104f8Seth Raphael    public static final String ACTION_PLAY_VIDEO= "PlayVideo";
42301b64679cfbd452060ac5b9595d315135550120Bobby Georgescu
43608e27fb708aa24afe5790b0f0825c977a7df784Bobby Georgescu    public static final String CATEGORY_LIFECYCLE = "AppLifecycle";
44608e27fb708aa24afe5790b0f0825c977a7df784Bobby Georgescu    public static final String CATEGORY_BUTTON_PRESS = "ButtonPress";
45608e27fb708aa24afe5790b0f0825c977a7df784Bobby Georgescu
46608e27fb708aa24afe5790b0f0825c977a7df784Bobby Georgescu    public static final String LIFECYCLE_START = "Start";
47608e27fb708aa24afe5790b0f0825c977a7df784Bobby Georgescu
48cbd8267ee99e457f72822e8d8187b5e6823104f8Seth Raphael    public static final String ACTION_SHARE = "Share";
49cbd8267ee99e457f72822e8d8187b5e6823104f8Seth Raphael
50a84dd7a82442ed41e7671b84c9d2c5ab744b25a7Bobby Georgescu    public static void initialize(Context context) {}
51a84dd7a82442ed41e7671b84c9d2c5ab744b25a7Bobby Georgescu    public static void setPendingTransitionCause(String cause) {}
52a84dd7a82442ed41e7671b84c9d2c5ab744b25a7Bobby Georgescu    public static void onContentViewChanged(String screenComponent, String screenName) {}
53a84dd7a82442ed41e7671b84c9d2c5ab744b25a7Bobby Georgescu    public static void onEvent(String category, String action, String label) {};
5477775f170a4596421fd566005522f56f82b1c276Seth Raphael    public static void onEvent(String category, String action, String label, long optionalValue) {};
5577775f170a4596421fd566005522f56f82b1c276Seth Raphael    public static void onEvent(String category, String action, String label, long optionalValue,
56cbd8267ee99e457f72822e8d8187b5e6823104f8Seth Raphael                               String fileNameHash) {};
5777775f170a4596421fd566005522f56f82b1c276Seth Raphael    public static void onEvent(String category, String action, String label,
5877775f170a4596421fd566005522f56f82b1c276Seth Raphael                               long optionalValue, String fileNameHash, String parameters) {}
59cbd8267ee99e457f72822e8d8187b5e6823104f8Seth Raphael    public static String hashFileName(String fileName) {
60cbd8267ee99e457f72822e8d8187b5e6823104f8Seth Raphael        return "";
61cbd8267ee99e457f72822e8d8187b5e6823104f8Seth Raphael    }
62a84dd7a82442ed41e7671b84c9d2c5ab744b25a7Bobby Georgescu}
63