OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:keyXPos
(Results
1 - 2
of
2
) sorted by null
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
KeyboardRow.java
140
public void setXPos(final float
keyXPos
) {
141
mCurrentX =
keyXPos
;
156
final float
keyXPos
= keyAttr.getFraction(R.styleable.Keyboard_Key_keyXPos,
158
if (
keyXPos
>= 0) {
159
return
keyXPos
+ mParams.mLeftPadding;
161
// If
keyXPos
is negative, the actual x-coordinate will be
162
// keyboardWidth +
keyXPos
.
163
//
keyXPos
shouldn't be less than mCurrentX because drawable area for this
167
return Math.max(
keyXPos
+ keyboardRightEdge, mCurrentX);
170
public float getKeyWidth(final TypedArray keyAttr, final float
keyXPos
) {
[
all
...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
Key.java
265
final float
keyXPos
= row.getKeyX(keyAttr);
266
final float keyWidth = row.getKeyWidth(keyAttr,
keyXPos
);
270
mX = Math.round(
keyXPos
+ horizontalGapFloat / 2);
273
mHitBox.set(Math.round(
keyXPos
), keyYPos, Math.round(
keyXPos
+ keyWidth) + 1,
276
row.setXPos(
keyXPos
+ keyWidth);
[
all
...]
Completed in 116 milliseconds