OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:wordWidth
(Results
1 - 2
of
2
) sorted by null
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
CandidateView.java
251
int
wordWidth
;
252
if ((
wordWidth
= mWordWidth[i]) == 0) {
254
wordWidth
= Math.max(mMinTouchableWidth, (int) textWidth + X_GAP * 2);
255
mWordWidth[i] =
wordWidth
;
261
&& touchX + scrollX >= x && touchX + scrollX < x +
wordWidth
) {
264
mSelectionHighlight.setBounds(0, bgPadding.top,
wordWidth
, height);
273
canvas.drawText(suggestion, 0, wordLength, x +
wordWidth
/ 2, y, paint);
275
canvas.translate(x +
wordWidth
, 0);
280
canvas.translate(-x -
wordWidth
, 0);
283
x +=
wordWidth
;
[
all
...]
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
CandidateView.java
184
final int
wordWidth
= (int) textWidth + X_GAP * 2;
187
mWordWidth[i] =
wordWidth
;
189
if (touchX + scrollX >= x && touchX + scrollX < x +
wordWidth
&& !scrolled) {
192
mSelectionHighlight.setBounds(0, bgPadding.top,
wordWidth
, height);
208
canvas.drawLine(x +
wordWidth
+ 0.5f, bgPadding.top,
209
x +
wordWidth
+ 0.5f, height + 1, paint);
212
x +=
wordWidth
;
Completed in 174 milliseconds