Home | History | Annotate | Download | only in logging
      1 /*
      2  * Copyright (C) 2016 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 package com.android.contacts.logging;
     17 
     18 /**
     19  * Stores constants identifying individual screens/dialogs/fragments in the application, and also
     20  * provides a mapping of integer id -> screen name mappings for analytics purposes.
     21  */
     22 public class ScreenEvent {
     23 
     24     // Should match ContactsExtension.ScreenEvent.ScreenType values in
     25     // http://cs/google3/logs/proto/wireless/android/contacts/contacts_extensions.proto
     26     public static class ScreenType {
     27         public static final int UNKNOWN = 0;
     28         public static final int SEARCH = 1;
     29         public static final int SEARCH_EXIT = 2;
     30         public static final int FAVORITES = 3;
     31         public static final int ALL_CONTACTS = 4;
     32         public static final int QUICK_CONTACT = 5;
     33         public static final int EDITOR = 6;
     34         public static final int LIST_ACCOUNT = 8;
     35         public static final int LIST_GROUP = 9;
     36         public static final int ME_CONTACT = 10;
     37     }
     38 }
     39