summaryrefslogtreecommitdiff
path: root/java/com/android/incallui/rtt/impl
AgeCommit message (Collapse)Author
2018-06-26UI refresh for voice call screen.wangqi
Bug: 79878432 Test: screen diff tests PiperOrigin-RevId: 201758864 Change-Id: Ib3ed6636df3d337cb2fa7c5f6d8f24da035cbd0c
2018-06-06Update mute states after add voice call from RTT call.wangqi
This fixes bug that new added call and original RTT call are both muted. Bug: 79956827 Test: manual PiperOrigin-RevId: 199539018 Change-Id: I242fcdd8f2e23470cf222dd4ccc390478d3e2919
2018-06-01Fix color in RTT call screen.wangqi
Bug: 79883035 Test: manual PiperOrigin-RevId: 198884630 Change-Id: I61636776c234a4000dbaf1e206ffd0429364d942
2018-05-29Began implementation of Dialer dark theme.calderwoodra
- README on how to properly theme Dialer going forward. - Migrated all widgets to use global colors. - Removed all activity and application themes where it wasn't necessary. - Added themeing test rule for Espresso tests. Bug: 79883035 Test: tap PiperOrigin-RevId: 197634256 Change-Id: I4b7d94d45aeeb59d484b0069fdd1e200a654910b
2018-05-04Update audio route after user select different audio route.wangqi
Bug: 79195339 Test: manual PiperOrigin-RevId: 195344623 Change-Id: I64225b781c84d363848a15bcdaa351585dce6b04
2018-05-04Don't force open keyboard when RTT is active.wangqi
Bug: 79094585 Test: manual PiperOrigin-RevId: 195130360 Change-Id: I2763ddd950d0fe2479b442fe18363b8ec45a3178
2018-04-30Fix bug that displaying local message is not in sync.wangqi
Test: manual PiperOrigin-RevId: 194828525 Change-Id: Ib9f1faece83525c00feadf32b43a6901d54ea76e
2018-04-30Store RTT transcript message received when UI is in background.wangqi
If the call disconnects when RTT UI is in background, any messages received from remote should be saved to transcript. RttCallPrensenter might not be available at this point, so the job is done inside DialerCall#onRemovedFromCallList Bug: 78576798 Test: presubmit PiperOrigin-RevId: 194821868 Change-Id: I10381b1c292f918763360c7a4bcd0470250f2293
2018-04-30Update RTT transcript advisory text.wangqi
Bug: 78519871 Test: none PiperOrigin-RevId: 194814100 Change-Id: Iaaa1b250ca8242f459e89043915db1328ae50f49
2018-04-28Move DialerCall.State to an independent package.wangqi
This refactoring will remove dependency on incall/call package for those classes only dependent on DialerCall.State. The benefit is to remove unnecessary dependency and avoid potential loop dependency in the future. Test: presubmit PiperOrigin-RevId: 194594382 Change-Id: I6b3241bcf10a0a15c495c3c90a13f174c32e3f72
2018-04-26Fix bug that title of RTT call is not centered.wangqi
This change also increase the button size for easier clicking. Bug: 76207637 Test: manual PiperOrigin-RevId: 194440220 Change-Id: I1d5742876e4a9ce27b81182e2abd5d2a27c71790
2018-04-26Add advisory text to RTT call about transcript storage.wangqi
Bug: 78519871 Test: RttChatFragmentTest.java PiperOrigin-RevId: 194421459 Change-Id: I4d04ee3045afdd4d5553032d7434ead280810543
2018-04-25UI tweak to RTT chat input box.wangqi
1. Hide input box when RTT call is not connected 2. Auto show keyboard when RTT call is connected Bug: 70177426,76209308 Test: manual PiperOrigin-RevId: 194273134 Change-Id: I36916560910e5bd47c291c8d3864db3948304db0
2018-04-25Log send button impressions for RTT call.wangqi
Bug: 78243122 Test: none PiperOrigin-RevId: 194128823 Change-Id: Ic886fd9c2236bbac4cbc884b7d777cea20451f0b
2018-04-12Add RTT transcript to call details.wangqi
1. Save RTT transcript when call is destroyed 2. Show RTT transcript link when it's available Bug: 67596257,77717594 Test: manual PiperOrigin-RevId: 192673172 Change-Id: If541ad9137c965166548d2fb449e835b95566727
2018-04-10Change speaker button for in call UI and bubble.yueg
Bug: 74238896 Test: ButtonControllerTest PiperOrigin-RevId: 192370117 Change-Id: I265cc9541957c2dd376176ed7a703b4938fe4563
2018-04-06Add tests for RttChatFragment.wangqi
This is to test how the fragment handle messages. Test: RttChatFragmentTest PiperOrigin-RevId: 191912866 Change-Id: Ia50688cdf8eceab376e163aa09bda56406a64933
2018-04-04Migrate RTT chat history to use proto buffer.wangqi
This change also moved chat history to be saved in DialerCall, thus it will be persist when switching calls. Bug: 67596257 Test: RttChatMessageTest PiperOrigin-RevId: 191626079 Change-Id: I65e9c6ac7aa41beb45dfe561b0a48506ea938e6f
2018-04-03Implement dialog for responding RTT request.wangqi
Bug: 67596257 Test: manual PiperOrigin-RevId: 191365412 Change-Id: Ida741a837d6495c0d5f51b748f4d6c09a1beafec
2018-04-02Update contact photo for RTT call screen.wangqi
Bug: 70177426 Test: manual PiperOrigin-RevId: 191348602 Change-Id: I332d53ab0c3c628b3dca0c184435bafcf2a13d02
2018-03-29UI adjustment to RTT screen.wangqi
1. Don't close overflow menu after menu item is clicked. 2. Add correct shadow and animation to overflow menu. 3. Only scroll when remote message is updated if input box is empty. 4. Only hide keyboard if scrolling up is triggered by user. 5. Add paddingTop to recyclerView so that first message won't be covered by toolbar. Bug: 70177426 Test: manual PiperOrigin-RevId: 191002774 Change-Id: Ic69f80323e3d31d7853d4e8d0c6e4c100fe4a776
2018-03-29Replace png icons with vector drawable for video call screen.wangqi
Bug: 76221932 Test: manual PiperOrigin-RevId: 190948113 Change-Id: I4151ab3fc5231183d49fc1bdc247a09e5ffadc22
2018-03-26Add waiting for join banner to RTT outgoing call.wangqi
Bug: 67596257 Test: manual PiperOrigin-RevId: 190126654 Change-Id: I412f8fbf5b345005f9fb3651c345303d965e4e02
2018-03-26Allow user to delete previous bubbles.wangqi
After this change, user will be able to delete text in previous finished bubble. It will also correctly handle deletion from remote. Bug: 67596257 Test: RttChatMessageTest PiperOrigin-RevId: 190122728 Change-Id: Ifebcbe874e5f03857d109b58e758e53f408e7e44
2018-03-16Use single return to break bubble of RTT chat.wangqi
Also change "done" button to "send" in input box and disallow multiple line since return will be interpreted as "send". Bug: 67596257 Test: manual PiperOrigin-RevId: 189409725 Change-Id: I3d3bf3e11cd04d6689125399f4567e88ee3f28f0
2018-03-15Add audio select menu.wangqi
Bug: 67596257 Test: manual PiperOrigin-RevId: 189204691 Change-Id: I9ecd36ce1c27072dea4ae87beeecd4565bf05378
2018-03-14Add swap call button to RTT call.wangqi
Bug: 67596257 Test: manual PiperOrigin-RevId: 189064976 Change-Id: I3265881114baceb4d63fcc3d55d1c904cd3216dc
2018-03-13Fix full screen issue when switching between RTT and voice call.wangqi
Incall and answer screen is using transparent status and navigation bar, while RTT screen is using customized color. Switch between them require correct setting of system UI. Bug: 67596257 Test: manually test to make RTT call and voice call, then switch between them. PiperOrigin-RevId: 188956868 Change-Id: I3c17ff453be943f0b2ad28fe5cae434453fbe326
2018-03-09Dismiss keyboard when opening overflow menu in RTT call.wangqi
This is to prevent dialpad showing with keyboard open. The alternative way to dismiss keyboard after dialpad shows up doesn't work. Bug: 67596257 Test: manual PiperOrigin-RevId: 188556453 Change-Id: I4b917d8ac83246d2002641ae7759261699149c65
2018-03-09Save RTT chat history during the call.wangqi
Thus putting call into background won't lose the history. This is only stored in memory by making RttChatMessage Parcelable and saved along with fragment's life cycle. Bug: 67596257 Test: manual PiperOrigin-RevId: 188500104 Change-Id: I11e8e55f0475defd9c3b9a8cc10db4186392ddd8
2018-03-08Add support of dialpad in RTT call.wangqi
This change also dismiss overflow menu when any button is clicked inside it. Bug: 67596257 Test: manual PiperOrigin-RevId: 188424236 Change-Id: I90b803d592f12525cdb8727aaeebc45c3da5dcdd
2018-03-08Optimize characters sent to remote party for RTT chat.wangqi
Instead of using things provided by Android of onTextChanged, we compare the text in EditText with the text in bubble before the change and compute the delta string need to send to remote party. This way we could minimize characters sent thus reduce latency. Bug: 67596257 Test: RttChatMessageTest PiperOrigin-RevId: 188389325 Change-Id: I3023b484c32b2369ca8720104da74cf6906bb46e
2018-03-08Refactor array of RttChatMessage to List.wangqi
Bug: 67596257 Test: RttChatMessageTest PiperOrigin-RevId: 188373256 Change-Id: I0f0798a5310225456619757dcca5bbd5df372b91
2018-03-05Add support for bluetooth etc. audio route for RTT call.wangqi
Bug: 67596257 Test: manual PiperOrigin-RevId: 187944752 Change-Id: I2bbe45d2bda22bb000239f8613576fffb9f6ab28
2018-03-02Add ripple effect to RTT incall buttons.wangqi
Bug: 67596257 Test: manual PiperOrigin-RevId: 187564625 Change-Id: I7e848e975bbab19e605d09283dee24eeb02550f1
2018-03-01Implement overflow menu for RTT call.wangqi
Bug: 67596257 Test: manual PiperOrigin-RevId: 187529383 Change-Id: I6ef6593a79ef0c4fb407284eede966a1eaabcd1e
2018-02-28Remove background of RTT chat fragment.wangqi
The default incall gradiant background will be shown instead. Bug: 67596257 Test: manual PiperOrigin-RevId: 187384455 Change-Id: Icf91804d78aa98d051248a9eca0d13be0ea880f0
2018-02-27Fix bug that soft keyboard pushes action bar out of window.wangqi
This is happening on outgoing call. Bug: 67596257 Test: manual PiperOrigin-RevId: 187207221 Change-Id: I09e8be0dbad695a1a5afb64e08faf533d068e5c4
2018-02-26Updating PrimaryCallState value class to use AutoValue with builder pattern.Android Dialer
Bug: 34502119 Test: BottomRowTest,CallCardPresenterTest,PrimaryCallStateTest,TopRowTest PiperOrigin-RevId: 187071451 Change-Id: Ib1b4baee397f61eade84bf1a887596dddc37230a
2018-02-23Fix bugs of RTT chat.wangqi
1. send bubble break characters to remote 2. correctly handle text replacement Bug: 67596257 Test: RttChatMessageTest PiperOrigin-RevId: 186850402 Change-Id: I0aebb0f4315a021da1463d7903d28e912918efca
2018-02-22Updating PrimaryInfo value class to use AutoValue with builder pattern.Android Dialer
Bug: 34502119 Test: BottomRowTest,CallCardPresenterTest,PrimaryInfoTest,TopRowTest PiperOrigin-RevId: 186460178 Change-Id: Ifb90019b6a5568788d51f4a55a07f7693c803eaf
2018-02-22Implement read/write text stream to RttCall.wangqi
This change also: 1. Add simulator support of RTT request during call (always accept at this moment, will add random accept/decline in the future) 2. Fix bugs of putting RTT call in background and back to call Bug: 67596257 Test: Simulator PiperOrigin-RevId: 185920527 Change-Id: I51016fa6cf1ccc8a5a21335f9dacf286ae393706
2018-02-22Move RttChatBot to simulator.wangqi
Bug: 67596257 Test: none PiperOrigin-RevId: 185561470 Change-Id: I96755cc76e2a1cba65cd496d74593cdd1dedddae
2018-02-22Update RTT call with real name/number and timer.wangqi
Bug: 67596257 Test: manual PiperOrigin-RevId: 185561269 Change-Id: I81bdf379dd2411540c012df40dc0461f31aca9ea
2018-02-22Add simulator RTT call.wangqi
This change will also: 1. Disable proximity sensor for RTT call 2. Update RTT call screen, including colors and banner buttons Bug: 67596257 Test: presubmit PiperOrigin-RevId: 185541897 Change-Id: I571373efbb8ced4ee2ad94879e9d37bed33b6a28
2018-01-10Update content description of back button on banner of RTT chat.wangqi
Bug: 70177426 Test: none PiperOrigin-RevId: 181500079 Change-Id: Ia07e5fc487b9fe64ecfedb074a543fc993b303c4
2018-01-09Adjustment to banner of RTT chat window.wangqi
1. Change name and timer font to roboto medium 2. Change close button to back button Bug: 67596257,70177426 Test: manual PiperOrigin-RevId: 181404033 Change-Id: I19137c51a6617276dd5ae6a7ba47c12d995e2feb
2018-01-08Add RTT call chat window.wangqi
This change add a mock in simulator with a type bot that's simulating remote typing. The integration into incall UI will be in following changes. Bug: 67596257 Test: RttChatMessageTest PiperOrigin-RevId: 181211591 Change-Id: If6cdcb010afc0c25e90d3a44fe349920d5a856c6