blob: 6af020b37bd0c17b8da2423f1f965c1ec5b194a1 [file] [log] [blame]
Walter Jang823b83c2016-01-20 18:37:40 -08001/*
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 */
16package com.android.contacts.common.logging;
17
Walter Jang823b83c2016-01-20 18:37:40 -080018/**
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 */
John Shaobabaa782016-05-19 16:03:43 -070022public class ScreenEvent {
Walter Jang823b83c2016-01-20 18:37:40 -080023
Walter Jang4a459182016-01-20 12:53:55 -080024 // Should match ContactsExtension.ScreenEvent.ScreenType values in
25 // http://cs/google3/logs/proto/wireless/android/contacts/contacts_extensions.proto
John Shaobabaa782016-05-19 16:03:43 -070026 public static class ScreenType {
Walter Jang13d4dbc2016-02-24 17:05:10 -080027 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;
Wenyi Wangc9ad9b12016-05-20 15:10:12 -070034 public static final int LIST_ACCOUNT = 7;
35 public static final int LIST_GROUP = 8;
36 public static final int ME_CONTACT = 9;
Walter Jang13d4dbc2016-02-24 17:05:10 -080037 }
Walter Jang823b83c2016-01-20 18:37:40 -080038}