5b68e8ad082625206492ca9baf889f8c5427eb01 |
|
31-Dec-2014 |
Tom Marshall <tdm@cyngn.com> |
Show cursor Change-Id: I31e99d20f3c0fa887f057b352e69969cb805016e
/packages/apps/Terminal/src/com/android/terminal/TerminalView.java
|
1c4704e650a86914e3afdc57ce9df4f95d7c7d44 |
|
31-Dec-2014 |
Tom Marshall <tdm@cyngn.com> |
Show soft keyboad on click Change-Id: Ieb87e7a8b4217c21eb3ba2738d253125c14d7bc0
/packages/apps/Terminal/src/com/android/terminal/TerminalView.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/TerminalView.java
|
26c9bb3a573b236f009654903461e496410a4147 |
|
26-Feb-2013 |
Michael Wright <michaelwr@google.com> |
Start hooking up keyboard input to view Change-Id: I37fb55f8fadd79bf4f32f55bee83f879d4d90680
/packages/apps/Terminal/src/com/android/terminal/TerminalView.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/TerminalView.java
|
cedf158c17dc147163734ad1070032ff934d1b2e |
|
23-Feb-2013 |
Jeff Sharkey <jsharkey@android.com> |
Correctly resize terminal, hook up colors. Resize needed to kick the vterm library. Hook up colors to CellRun and cluster cells into single run until style changes. Change-Id: Ib2984d8eedaf6085aba98df7997104b59a832967
/packages/apps/Terminal/src/com/android/terminal/TerminalView.java
|
6a142b6d4831c3841b6be1705fc97c9b75a7c9d1 |
|
23-Feb-2013 |
Jeff Sharkey <jsharkey@android.com> |
Working damage! Flushing damage to the UI is now driven by the read() thread, and moverect() data is now passed across JNI. TerminalView currently treats moverect() as invalidating the union of the two rects, which repaints everything correctly, yay! Change-Id: I0d38e5c7755d3da06a23802c03fd2e2839aa1a02
/packages/apps/Terminal/src/com/android/terminal/TerminalView.java
|
a76e33884c55bbd5db7e512b7687210cc3f635cf |
|
22-Feb-2013 |
Jeff Sharkey <jsharkey@android.com> |
Start hooking up damage, shell script to test. It's still pretty broken and I need to grok how damage and moveRect play together. Avoid allocations inside onDraw(). Change-Id: I0fca467439178d902c4d11ff1523a0ec25c2dd39
/packages/apps/Terminal/src/com/android/terminal/TerminalView.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/TerminalView.java
|
9cae0a9616b1b71eac7e762d198fe1da47fea901 |
|
21-Feb-2013 |
Jeff Sharkey <jsharkey@android.com> |
Add CellRun to speed up cell rendering. Change to using CellRun class, and ask JNI to fill it until text style changes. Switch to drawPosText(), which paints an entire run at once. Together these changes improve screen rendering times from 170ms to only 7ms! Change-Id: I62f12ffbb746c0c54191a15f395bbb80229cc959
/packages/apps/Terminal/src/com/android/terminal/TerminalView.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/TerminalView.java
|