Home | History | Annotate | Download | only in util
      1 /*
      2  * Copyright (C) 2013 The Android Open Source Project
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *      http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  * See the License for the specific language governing permissions and
     14  * limitations under the License.
     15  */
     16 
     17 package com.android.gallery3d.util;
     18 
     19 import android.content.Context;
     20 
     21 public class UsageStatistics {
     22 
     23     public static final String COMPONENT_GALLERY = "Gallery";
     24     public static final String COMPONENT_CAMERA = "Camera";
     25     public static final String COMPONENT_EDITOR = "Editor";
     26     public static final String COMPONENT_IMPORTER = "Importer";
     27 
     28     public static final String TRANSITION_BACK_BUTTON = "BackButton";
     29     public static final String TRANSITION_UP_BUTTON = "UpButton";
     30     public static final String TRANSITION_PINCH_IN = "PinchIn";
     31     public static final String TRANSITION_PINCH_OUT = "PinchOut";
     32     public static final String TRANSITION_INTENT = "Intent";
     33     public static final String TRANSITION_ITEM_TAP = "ItemTap";
     34     public static final String TRANSITION_MENU_TAP = "MenuTap";
     35     public static final String TRANSITION_BUTTON_TAP = "ButtonTap";
     36     public static final String TRANSITION_SWIPE = "Swipe";
     37 
     38     public static final String ACTION_CAPTURE_START = "CaptureStart";
     39     public static final String ACTION_CAPTURE_FAIL = "CaptureFail";
     40     public static final String ACTION_CAPTURE_DONE = "CaptureDone";
     41     public static final String ACTION_SHARE = "Share";
     42 
     43     public static void initialize(Context context) {}
     44     public static void setPendingTransitionCause(String cause) {}
     45     public static void onContentViewChanged(String screenComponent, String screenName) {}
     46     public static void onEvent(String category, String action, String label) {};
     47     public static void onEvent(String category, String action, String label, long optional_value) {};
     48 }
     49