13847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu/* 23847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu * Copyright (C) 2013 The Android Open Source Project 33847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu * 43847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu * Licensed under the Apache License, Version 2.0 (the "License"); 53847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu * you may not use this file except in compliance with the License. 63847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu * You may obtain a copy of the License at 73847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu * 83847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu * http://www.apache.org/licenses/LICENSE-2.0 93847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu * 103847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu * Unless required by applicable law or agreed to in writing, software 113847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu * distributed under the License is distributed on an "AS IS" BASIS, 123847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 133847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu * See the License for the specific language governing permissions and 143847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu * limitations under the License. 153847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu */ 163847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu 173847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescupackage com.android.gallery3d.util; 183847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu 193847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescuimport android.content.Context; 203847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu 213847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescupublic class UsageStatistics { 223847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu 233847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu public static final String COMPONENT_GALLERY = "Gallery"; 243847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu public static final String COMPONENT_CAMERA = "Camera"; 253847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu public static final String COMPONENT_EDITOR = "Editor"; 26384971f7ce93c98249825d0498ad4bcbd4104895Bobby Georgescu public static final String COMPONENT_IMPORTER = "Importer"; 273847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu 283847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu public static final String TRANSITION_BACK_BUTTON = "BackButton"; 293847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu public static final String TRANSITION_UP_BUTTON = "UpButton"; 303847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu public static final String TRANSITION_PINCH_IN = "PinchIn"; 313847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu public static final String TRANSITION_PINCH_OUT = "PinchOut"; 323847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu public static final String TRANSITION_INTENT = "Intent"; 333847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu public static final String TRANSITION_ITEM_TAP = "ItemTap"; 343847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu public static final String TRANSITION_MENU_TAP = "MenuTap"; 353847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu public static final String TRANSITION_BUTTON_TAP = "ButtonTap"; 363847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu public static final String TRANSITION_SWIPE = "Swipe"; 373847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu 381d99f5c584affd24a88edb0514533fa05327cb0dBobby Georgescu public static final String ACTION_CAPTURE_START = "CaptureStart"; 391d99f5c584affd24a88edb0514533fa05327cb0dBobby Georgescu public static final String ACTION_CAPTURE_FAIL = "CaptureFail"; 401d99f5c584affd24a88edb0514533fa05327cb0dBobby Georgescu public static final String ACTION_CAPTURE_DONE = "CaptureDone"; 412251386437163898eb4b6f7546705d1365744fd1Flavio Lerda public static final String ACTION_SHARE = "Share"; 421d99f5c584affd24a88edb0514533fa05327cb0dBobby Georgescu 43842985c1561b6e0447c71ebb18298cf5cb62fce2Bobby Georgescu public static final String CATEGORY_LIFECYCLE = "AppLifecycle"; 44842985c1561b6e0447c71ebb18298cf5cb62fce2Bobby Georgescu public static final String CATEGORY_BUTTON_PRESS = "ButtonPress"; 45842985c1561b6e0447c71ebb18298cf5cb62fce2Bobby Georgescu 46842985c1561b6e0447c71ebb18298cf5cb62fce2Bobby Georgescu public static final String LIFECYCLE_START = "Start"; 47842985c1561b6e0447c71ebb18298cf5cb62fce2Bobby Georgescu 483847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu public static void initialize(Context context) {} 493847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu public static void setPendingTransitionCause(String cause) {} 503847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu public static void onContentViewChanged(String screenComponent, String screenName) {} 513847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu public static void onEvent(String category, String action, String label) {}; 523847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu public static void onEvent(String category, String action, String label, long optional_value) {}; 533847e4e8e26ed6c6f18ee4a6b2984d33051d155eBobby Georgescu} 54