MG
onDraw
for a reason so heh, the same would also apply to tight loops i guess)Size: a a a
MG
onDraw
for a reason so heh, the same would also apply to tight loops i guess)MG
MG
MG
nGetStringBounds(mNativePaint, text, start, end, mBidiFlags, bounds)
from C++MG
MG
MG
AB
AB
AB
MG
MG
MG
MG
MG
renderer.setTextBookView(taskBuilder.CodeView.findViewById(R.id.codeEditor));
TextView textBookView = renderer.getTextBookView();
textBookView.setTextSize(30.0f);
textBookView.setBreakStrategy(LineBreaker.BREAK_STRATEGY_SIMPLE);
try {
textBookView.setText(TextBook.readTextFile(textBookView.getResources().getAssets().open(TextBookView.SAMPLE_TEXT_LONG)));
} catch (IOException e) {
e.printStackTrace();
}
MG
MG
MG
DG
renderer.setTextBookView(taskBuilder.CodeView.findViewById(R.id.codeEditor));
TextView textBookView = renderer.getTextBookView();
textBookView.setTextSize(30.0f);
textBookView.setBreakStrategy(LineBreaker.BREAK_STRATEGY_SIMPLE);
try {
textBookView.setText(TextBook.readTextFile(textBookView.getResources().getAssets().open(TextBookView.SAMPLE_TEXT_LONG)));
} catch (IOException e) {
e.printStackTrace();
}
MG