Lines Matching refs:mSoftKeyDown
62 private SoftKey mSoftKeyDown;
196 if (null != mSoftKeyDown) {
198 mDirtyRect.set(mSoftKeyDown.mLeft, mSoftKeyDown.mTop,
199 mSoftKeyDown.mRight, mSoftKeyDown.mBottom);
218 if (newKey == mSoftKeyDown) moveWithinPreviousKey = true;
219 mSoftKeyDown = newKey;
221 mSoftKeyDown = mSoftKeyboard.mapToKey(x, y);
223 if (moveWithinPreviousKey || null == mSoftKeyDown) return mSoftKeyDown;
234 if (mSoftKeyDown.getPopupResId() > 0 || mSoftKeyDown.repeatable()) {
247 Drawable keyHlBg = mSoftKeyDown.getKeyHlBg();
253 desired_width = mSoftKeyDown.width() - 2 * keyXMargin;
254 desired_height = mSoftKeyDown.height() - 2 * keyYMargin;
256 .getKeyTextSize(SoftKeyType.KEYTYPE_ID_NORMAL_KEY != mSoftKeyDown.mKeyType.mKeyTypeId);
257 Drawable icon = mSoftKeyDown.getKeyIcon();
262 mBalloonOnKey.setBalloonConfig(mSoftKeyDown.getKeyLabel(),
263 textSize, true, mSoftKeyDown.getColorHl(),
267 mHintLocationToSkbContainer[0] = mPaddingLeft + mSoftKeyDown.mLeft
268 - (mBalloonOnKey.getWidth() - mSoftKeyDown.width()) / 2;
271 + (mSoftKeyDown.mBottom - keyYMargin)
276 mDirtyRect.union(mSoftKeyDown.mLeft, mSoftKeyDown.mTop,
277 mSoftKeyDown.mRight, mSoftKeyDown.mBottom);
282 if (mSoftKeyDown.needBalloon()) {
286 desired_width = mSoftKeyDown.width() + env.getKeyBalloonWidthPlus();
287 desired_height = mSoftKeyDown.height()
290 .getBalloonTextSize(SoftKeyType.KEYTYPE_ID_NORMAL_KEY != mSoftKeyDown.mKeyType.mKeyTypeId);
291 Drawable iconPopup = mSoftKeyDown.getKeyIconPopup();
296 mBalloonPopup.setBalloonConfig(mSoftKeyDown.getKeyLabel(),
297 textSize, mSoftKeyDown.needBalloon(), mSoftKeyDown
303 mHintLocationToSkbContainer[0] = mPaddingLeft + mSoftKeyDown.mLeft
304 + -(mBalloonPopup.getWidth() - mSoftKeyDown.width()) / 2;
306 mHintLocationToSkbContainer[1] = mPaddingTop + mSoftKeyDown.mTop
315 return mSoftKeyDown;
320 if (null == mSoftKeyDown) return null;
327 mDirtyRect.union(mSoftKeyDown.mLeft, mSoftKeyDown.mTop,
328 mSoftKeyDown.mRight, mSoftKeyDown.mBottom);
332 if (mSoftKeyDown.needBalloon()) {
336 if (mSoftKeyDown.moveWithinKey(x - mPaddingLeft, y - mPaddingTop)) {
337 return mSoftKeyDown;
343 if (null == mSoftKeyDown) return null;
345 if (mSoftKeyDown.moveWithinKey(x - mPaddingLeft, y - mPaddingTop)) {
346 return mSoftKeyDown;
350 mDirtyRect.union(mSoftKeyDown.mLeft, mSoftKeyDown.mTop,
351 mSoftKeyDown.mRight, mSoftKeyDown.mBottom);
364 if (mSoftKeyDown.needBalloon()) {
440 if (mKeyPressed && softKey == mSoftKeyDown) {