Age | Commit message (Collapse) | Author |
|
Bug: 76692459
Test: make Terminal and run on emulator
Change-Id: I7dd06a956ea21b61b43a9acb1da21a90987f1fa2
|
|
Change-Id: I77e3cf2f8d4bdc19b2830bf632b54ed46a3d58c3
|
|
Switch terminal rendering to use ListView, splitting each row into a
TerminalLineView item. This leverages existing ListView display list
optimizations when scrolling, and gives us fling and overscroll for
free. However, the simple case of a single line scrolling requires
an entire screen rebind.
Added locking between I/O thread and UI thread to provide consistent
view of terminal state. Snap to current upstream libvterm, which has
updated scrollback API. Examine full cell style when building runs.
Address terminals using "keys" instead of indicies, since ordering
can shift. Save and restore instance state to remember scrollback
position. Avoid crashing after closing last terminal.
Remove unused callbacks.
Bug: 8332387
Change-Id: I06468d16ae8e1ff8ac79b7115c7cb3f9434b3c0d
|
|
Bind to new TerminalService when UI is running, and keep service
started as long as terminals are active. Use ViewPager to show
multiple active terminals, and menu items to open/close terminals.
Anti-alias terminal text. Reduce callback logging. Add method to
stop a running shell; still need to kill child process.
Change-Id: I8efcb43aeaf8813762cd0ceebcd5388fc51ebaab
|
|
Also switch to ScopedCharArrayRW.
Change-Id: I1e22a166c48ba7209e624fc49bee8618e9b36f0d
|
|
View sets terminal dimensions to match screen, and handles any draw
requests for dirty regions. damage() calls from below are translated
into normal View invalidates.
For now makes separate getCell() calls for each cell while drawing
across screen. This currently costs about 130ms for a 38x59 shell.
Change-Id: I2d106a8aeb18e9d6993f30cfb02438e85ee63c65
|
|
Change-Id: I4b2ecb2eef9bef7a8236391d19a3708751a7c71d
|