()
| 545 | } |
| 546 | |
| 547 | public boolean scroll() { |
| 548 | synchronized (this) { |
| 549 | if (scrollline == false || attachedList == null || scrollLen < 0) { |
| 550 | return false; |
| 551 | } |
| 552 | if (attachedList.offset >= scrollLen) { |
| 553 | scrollLen = -1; |
| 554 | attachedList.offset = 0; |
| 555 | scrollline = false; |
| 556 | } else { |
| 557 | attachedList.offset += 14; |
| 558 | } |
| 559 | |
| 560 | return true; |
| 561 | } |
| 562 | } |
| 563 | /* |
| 564 | public void destroyTask(){ |
| 565 | synchronized (this) { |