• 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;
6option optimize_for = LITE_RUNTIME;
7
8
9
10
11message UiAction {
12  enum Type {
13    UNKNOWN = 0;
14
15    // General action starting from 1
16    CHANGE_TAB_TO_FAVORITE = 1;
17    CHANGE_TAB_TO_CALL_LOG = 2;
18    CHANGE_TAB_TO_CONTACTS = 3;
19    CHANGE_TAB_TO_VOICEMAIL = 4;
20    PRESS_ANDROID_BACK_BUTTON = 5;
21    TEXT_CHANGE_WITH_INPUT = 6;
22    SCROLL = 7;
23
24    // In call log, starting from 100
25    CLICK_CALL_LOG_ITEM = 100;
26    OPEN_CALL_DETAIL = 101;
27    CLOSE_CALL_DETAIL_WITH_CANCEL_BUTTON = 102;
28    COPY_NUMBER_IN_CALL_DETAIL = 103;
29    EDIT_NUMBER_BEFORE_CALL_IN_CALL_DETAIL = 104;
30
31    // In dialpad, starting from 200
32    OPEN_DIALPAD = 200;
33    CLOSE_DIALPAD = 201;
34    PRESS_CALL_BUTTON_WITHOUT_CALLING = 202;
35
36    // In search, starting from 300
37    OPEN_SEARCH = 300;
38    HIDE_KEYBOARD_IN_SEARCH = 301;
39    CLOSE_SEARCH_WITH_HIDE_BUTTON = 302;
40
41    // In call history, starting from 400
42    OPEN_CALL_HISTORY = 400;
43    CLOSE_CALL_HISTORY_WITH_CANCEL_BUTTON = 401;
44  }
45}
46