Searched refs:softKey (Results 1 - 4 of 4) sorted by relevance

/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
H A DSoftKeyboardView.java418 SoftKey softKey = softKeys.get(i);
419 if (SoftKeyType.KEYTYPE_ID_NORMAL_KEY == softKey.mKeyType.mKeyTypeId) {
424 drawSoftKey(canvas, softKey, keyXMargin, keyYMargin);
436 private void drawSoftKey(Canvas canvas, SoftKey softKey, int keyXMargin, argument
440 if (mKeyPressed && softKey == mSoftKeyDown) {
441 bg = softKey.getKeyHlBg();
442 textColor = softKey.getColorHl();
444 bg = softKey.getKeyBg();
445 textColor = softKey.getColor();
449 bg.setBounds(softKey
[all...]
H A DXmlKeyboardLoader.java411 SoftKey softKey = getSoftKey(xrp, attrKey);
412 if (null == softKey) return null;
413 mSkbTemplate.addDefaultKey(keyId, softKey);
439 SoftKey softKey = null;
544 softKey = new SoftKey();
549 softKey.setKeyAttribute(keyCode, labelArr[i],
552 softKey.setKeyType(mSkbTemplate
565 softKey.setKeyDimensions(left, top, right, bottom);
566 softKeyboard.addSoftKey(softKey);
582 softKey
697 getToggleStates( KeyCommonAttributes attrKey, SoftKeyToggle softKey, int defKeyCode) argument
[all...]
H A DSkbTemplate.java41 SoftKey softKey; field in class:KeyRecord
177 public void addDefaultKey(int keyId, SoftKey softKey) { argument
178 if (null == softKey) return;
182 keyRecord.softKey = softKey;
203 return keyRecord.softKey;
H A DSoftKeyboard.java186 public boolean addSoftKey(SoftKey softKey) { argument
192 softKey.setSkbCoreSize(mSkbCoreWidth, mSkbCoreHeight);
193 softKeys.add(softKey);
194 if (softKey.mTopF < keyRow.mTopF) {
195 keyRow.mTopF = softKey.mTopF;
197 if (softKey.mBottomF > keyRow.mBottomF) {
198 keyRow.mBottomF = softKey.mBottomF;
221 SoftKey softKey = softKeys.get(i);
222 softKey.setSkbCoreSize(skbCoreWidth, skbCoreHeight);

Completed in 118 milliseconds