History log of /packages/apps/Terminal/src/com/android/terminal/TerminalService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
00b00812cd0c883c2380065d7fda29512d5477f0 15-Apr-2013 Jeff Sharkey <jsharkey@android.com> Add scrollback support.

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
/packages/apps/Terminal/src/com/android/terminal/TerminalService.java
de15e79aadde33fd8c880c19bd4fc6caca0bf795 24-Feb-2013 Jeff Sharkey <jsharkey@android.com> Service to host long-lived terminals, tab UI.

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
/packages/apps/Terminal/src/com/android/terminal/TerminalService.java