History log of /packages/apps/Terminal/src/com/android/terminal/TerminalActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8dc54499bf4afccb60cd3500b03767cab9e2ab43 31-Dec-2014 Tom Marshall <tdm@cyngn.com> Fix focus on initial start

Change-Id: I77e3cf2f8d4bdc19b2830bf632b54ed46a3d58c3
/packages/apps/Terminal/src/com/android/terminal/TerminalActivity.java
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/TerminalActivity.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/TerminalActivity.java
479bd643981271fb0edf756ae5915e44a7352c4d 22-Feb-2013 Jeff Sharkey <jsharkey@android.com> Split init() and run().

Also switch to ScopedCharArrayRW.

Change-Id: I1e22a166c48ba7209e624fc49bee8618e9b36f0d
/packages/apps/Terminal/src/com/android/terminal/TerminalActivity.java
410e0da343fd581f3112037deb475db9fb0da850 20-Feb-2013 Jeff Sharkey <jsharkey@android.com> TerminalView to draw session contents.

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
/packages/apps/Terminal/src/com/android/terminal/TerminalActivity.java
ef946f3ae80556ab221265c0bf1c560683ea27f6 20-Feb-2013 Jeff Sharkey <jsharkey@android.com> Initial code for Terminal app, with JNI glue.

Change-Id: I4b2ecb2eef9bef7a8236391d19a3708751a7c71d
/packages/apps/Terminal/src/com/android/terminal/TerminalActivity.java