OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:keyWidth
(Results
1 - 15
of
15
) sorted by null
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
KeyboardView.java
346
final int
keyWidth
= key.getDrawWidth();
348
final float centerX =
keyWidth
* 0.5f;
352
drawRectangle(canvas, 0.0f, 0.0f,
keyWidth
, keyHeight, 0x800000c0, new Paint());
376
positionX =
keyWidth
- mKeyLabelHorizontalPadding;
384
+ LABEL_ICON_MARGIN *
keyWidth
;
389
+ LABEL_ICON_MARGIN *
keyWidth
;
398
(
keyWidth
* MAX_LABEL_RATIO) / TypefaceUtils.getLabelWidth(label, paint)));
430
drawHorizontalLine(canvas, baseline,
keyWidth
, 0xc0008000, line);
453
hintX =
keyWidth
- mKeyShiftedLetterHintPadding
460
hintX =
keyWidth
- mKeyHintLetterPaddin
[
all
...]
MoreKeysKeyboard.java
66
* @param
keyWidth
more keys keyboard key width in pixel, including horizontal gap.
73
public void setParameters(final int numKeys, final int maxColumns, final int
keyWidth
,
77
if (parentKeyboardWidth /
keyWidth
< Math.min(numKeys, maxColumns)) {
80
+ parentKeyboardWidth + " " +
keyWidth
+ " "
83
mDefaultKeyWidth =
keyWidth
;
97
final int maxLeftKeys = coordXInParent /
keyWidth
;
98
final int maxRightKeys = (parentKeyboardWidth - coordXInParent) /
keyWidth
;
PointerTracker.java
169
private static final float PHANTOM_SUDDEN_MOVE_THRESHOLD = 0.25f; // in
keyWidth
210
public void setKeyboardGeometry(final int
keyWidth
, final int keyHeight) {
211
final float keyDiagonal = (float)Math.hypot(
keyWidth
, keyHeight);
554
final int
keyWidth
= mKeyboard.mMostCommonKeyWidth;
556
mGestureStrokeWithPreviewPoints.setKeyboardGeometry(
keyWidth
, mKeyboard.mOccupiedHeight);
564
mPhantonSuddenMoveThreshold = (int)(
keyWidth
* PHANTOM_SUDDEN_MOVE_THRESHOLD);
565
mBogusMoveEventDetector.setKeyboardGeometry(
keyWidth
, keyHeight);
[
all
...]
Key.java
235
final float
keyWidth
= row.getKeyWidth(keyAttr, keyXPos);
241
mWidth = Math.round(
keyWidth
- horizontalGap);
242
mHitBox.set(Math.round(keyXPos), keyYPos, Math.round(keyXPos +
keyWidth
) + 1,
245
row.setXPos(keyXPos +
keyWidth
);
[
all
...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
GestureStroke.java
71
public final float mDetectFastMoveSpeedThreshold; //
keyWidth
/sec
78
public final float mDynamicDistanceThresholdFrom; //
keyWidth
79
public final float mDynamicDistanceThresholdTo; //
keyWidth
81
public final float mSamplingMinimumDistance; //
keyWidth
84
public final float mRecognitionSpeedThreshold; //
keyWidth
/sec
92
mDetectFastMoveSpeedThreshold = 1.5f; //
keyWidth
/ sec
96
mDynamicDistanceThresholdFrom = 6.0f; //
keyWidth
97
mDynamicDistanceThresholdTo = 0.35f; //
keyWidth
99
mSamplingMinimumDistance = 1.0f / 6.0f; //
keyWidth
101
mRecognitionSpeedThreshold = 5.5f; //
keyWidth
/ se
[
all
...]
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
XmlKeyboardLoader.java
298
float
keyWidth
;
311
keyWidth
= getFloat(mXrp, XMLATTR_KEY_WIDTH, defAttr.
keyWidth
);
315
if (keyType < 0 ||
keyWidth
<= 0 || keyHeight <= 0) {
558
right = left + attrKeys.
keyWidth
;
655
right = left + attrKey.
keyWidth
;
[
all
...]
/packages/inputmethods/LatinIME/native/jni/src/
proximity_info.cpp
151
const float
keyWidth
= static_cast<float>(getMostCommonKeyWidth());
153
/ SQUARE_FLOAT(
keyWidth
);
/prebuilts/sdk/10/
android.jar
/prebuilts/sdk/11/
android.jar
/prebuilts/sdk/13/
android.jar
/prebuilts/sdk/14/
android.jar
/prebuilts/sdk/15/
android.jar
/prebuilts/sdk/4/
android.jar
/prebuilts/sdk/6/
android.jar
/prebuilts/sdk/9/
android.jar
Completed in 389 milliseconds