Searched refs:firstVisibleChar (Results 1 – 1 of 1) sorted by relevance
58 int firstVisibleChar = textView.getLayout().getLineStart(firstVisibleLine); in onSaveInstanceState() local59 outState.putInt(STATE_SCROLL_POS, firstVisibleChar); in onSaveInstanceState()66 final int firstVisibleChar = savedInstanceState.getInt(STATE_SCROLL_POS); in onRestoreInstanceState() local72 int firstVisibleLine = textView.getLayout().getLineForOffset(firstVisibleChar); in onRestoreInstanceState()