• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1syntax = "proto2";
2
3package com.android.dialer.logging;
4option java_package = "com.android.dialer.logging";
5option java_multiple_files = true;
6
7
8
9
10message UiAction {
11  enum Type {
12    UNKNOWN = 0;
13
14    // General action starting from 1
15    CHANGE_TAB_TO_FAVORITE = 1;
16    CHANGE_TAB_TO_CALL_LOG = 2;
17    CHANGE_TAB_TO_CONTACTS = 3;
18    CHANGE_TAB_TO_VOICEMAIL = 4;
19    PRESS_ANDROID_BACK_BUTTON = 5;
20    TEXT_CHANGE_WITH_INPUT = 6;
21    SCROLL = 7;
22
23    // In call log, starting from 100
24    CLICK_CALL_LOG_ITEM = 100;
25    OPEN_CALL_DETAIL = 101;
26    CLOSE_CALL_DETAIL_WITH_CANCEL_BUTTON = 102;
27    COPY_NUMBER_IN_CALL_DETAIL = 103;
28    EDIT_NUMBER_BEFORE_CALL_IN_CALL_DETAIL = 104;
29
30    // In dialpad, starting from 200
31    OPEN_DIALPAD = 200;
32    CLOSE_DIALPAD = 201;
33    PRESS_CALL_BUTTON_WITHOUT_CALLING = 202;
34
35    // In search, starting from 300
36    OPEN_SEARCH = 300;
37    HIDE_KEYBOARD_IN_SEARCH = 301;
38    CLOSE_SEARCH_WITH_HIDE_BUTTON = 302;
39
40    // In call history, starting from 400
41    OPEN_CALL_HISTORY = 400;
42    CLOSE_CALL_HISTORY_WITH_CANCEL_BUTTON = 401;
43  }
44}
45