/packages/services/Telephony/src/com/android/phone/ |
H A D | EmergencyDialer.java | 442 final int right = (v.getWidth() - v.getPaddingRight()); 447 if ((x > left) && (x < right) && (y > top) && (y < bottom)) {
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
H A D | BummerView.java | 94 public void onLayoutChange(View v, int left, int top, int right, int bottom, 96 if (v == parent && right != oldRight) {
|
H A D | PhotoCarousel.java | 278 public void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 280 mWidth = right - left; 291 super.onLayout(changed, left, top, right, bottom);
|
H A D | PhotoTable.java | 369 final double[] right = { Math.sin(alpha + beta), 379 if (cross(delta, left) > 0.0 && cross(delta, right) < 0.0) { 425 public void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 426 super.onLayout(changed, left, top, right, bottom); 427 log("onLayout (%d, %d, %d, %d)", left, top, right, bottom); 430 mWidth = right - left; 532 public void onLayoutChange(View v, int left, int top, int right, int bottom, 708 /** On deck is to the left or right of the selected photo. */ 830 hit.right < 0f || hit.left > getWidth());
|
/packages/inputmethods/PinyinIME/jni/share/ |
H A D | userdict.cpp | 2024 int right = left + 1; 2025 if (left >= n && right >= n) 2027 if (right >= n) { 2033 } else if (sop[left].score > sop[right].score && 2038 } else if (sop[right].score > sop[left].score && 2039 sop[right].score > sop[par].score) { 2040 swap(sop, right, par); 2041 par = right;
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
H A D | BalloonHint.java | 176 return mPaddingRect.right;
|
H A D | CandidateView.java | 191 * Left and right margins for a candidate. It is specified in xml, and is 202 * Left and right extra margins for a candidate. 527 (int) mActiveCellRect.top, (int) mActiveCellRect.right, 556 // Candidate and right margin 612 if (r.left < x && r.right > x && r.top < y && r.bottom > y) { 615 float disx = (r.left + r.right) / 2 - x; 692 int desired_width = (int) (r.right - r.left);
|
H A D | SoftKey.java | 86 public void setKeyDimensions(float left, float top, float right, argument 90 mRightF = right;
|
H A D | SoftKeyboard.java | 107 /** The left and right margin of a key. */ 239 return mSkbCoreWidth + padding.left + padding.right;
|
H A D | XmlKeyboardLoader.java | 55 * Attribute tag of the left and right margin for a key. A key's width 555 float left, right, top, bottom; 558 right = left + attrKeys.keyWidth; 562 if (right - left < 2 * mKeyXMargin) return null; 565 softKey.setKeyDimensions(left, top, right, bottom); 567 mKeyXPos = right; 653 float left, right, top, bottom; 655 right = left + attrKey.keyWidth; 659 if (right - left < 2 * mKeyXMargin) return null; 693 softKey.setKeyDimensions(left, top, right, botto [all...] |
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
H A D | ndbdic.c | 559 NJ_INT16 left, right, mid; local 639 right = ytbl_cnt; 642 while (left <= right) { 643 mid = (left + right) >> 1; 652 right = mid - 1; 657 right = mid - 1; 663 while (left <= right) { 664 mid = (left + right) >> 1; 672 right = mid - 1; 1991 NJ_INT16 left, right, mi local [all...] |
H A D | ndldic.c | 1199 NJ_UINT16 right, mid = 0, left, max; local 1214 right = max - 1; 1236 while (left <= right) { 1237 mid = left + ((right - left) / 2); 1268 printf(" [%d][%d][%d]COMPARE:[%s] = %d\n", left, mid, right, str, ret); 1276 right = mid - 1; 1352 for (right = mid + 1; right < max; right++) { 1386 *to = right 1397 NJ_UINT16 right, mid = 0, left, max = 0; local 2312 NJ_UINT16 right, mid = 0, left, max; local [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
H A D | OpenWnnClauseConverterJAJP.java | 326 if (connectible(stem.partOfSpeech.right, terminal.left)) { 330 if (connectible(stem.partOfSpeech.right, fzk.partOfSpeech.left) 331 && connectible(fzk.partOfSpeech.right, terminal.left)) { 377 * @param right Right attribute of the preceding word/clause 381 private boolean connectible(int right, int left) { argument 383 if (mConnectMatrix[left][right] != 0) { 443 if (connectible(word.partOfSpeech.right, follow.partOfSpeech.left)) { 444 fzks.add(new WnnWord(key, key, new WnnPOS(word.partOfSpeech.left, follow.partOfSpeech.right))); 498 if (w.partOfSpeech.right == word.partOfSpeech.right) { [all...] |
H A D | OpenWnnEngineJAJP.java | 495 if (word.partOfSpeech.right == 0) { 530 if (word.partOfSpeech.right == 0) {
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | KeyboardView.java | 102 * Called when the user quickly moves the finger from right to left. 107 * Called when the user quickly moves the finger from left to right. 704 invalidKey.x + invalidKey.width + kbdPaddingLeft + 1 >= clipRegion.right && 725 if (key.width != bounds.right || 753 (key.width - padding.left + 7 - padding.right) / 2 760 (key.width - padding.left - padding.right) / 2 771 drawableX = (key.width - padding.left + 12 - padding.right 776 drawableX = (key.width - padding.left - padding.right
|
H A D | OpenWnnDictionaryImpl.java | 608 OpenWnnDictionaryImplJni.setRightPartOfSpeech( this.mWnnWork, wnnWord.partOfSpeech.right ); 652 result.partOfSpeech.right = mDbCursor.getInt( 3 ); 688 result.partOfSpeech.right = OpenWnnDictionaryImplJni.getRightPartOfSpeech( this.mWnnWork ); 812 result.right = OpenWnnDictionaryImplJni.getRightPartOfSpeechSpecifiedType( this.mWnnWork, type ); 814 if( result.left < 0 || result.right < 0 ) { 901 content.put( COLUMN_NAME_POS_RIGHT, word[index].partOfSpeech.right ); 1068 content.put( COLUMN_NAME_POS_RIGHT, word.partOfSpeech.right ); 1073 content.put( COLUMN_NAME_PREVIOUS_POS_RIGHT, previousWord.partOfSpeech.right );
|
H A D | WnnClause.java | 67 new WnnPOS(stem.partOfSpeech.left, fzk.partOfSpeech.right),
|
H A D | WnnPOS.java | 28 /** The part of speech at right side */ 29 public int right = 0; field in class:WnnPOS 40 * @param right The part of speech at right side 42 public WnnPOS(int left, int right) { argument 44 this.right = right;
|
H A D | WnnSentence.java | 70 this.partOfSpeech = new WnnPOS(headClause.partOfSpeech.left, lastClause.partOfSpeech.right); 105 this.partOfSpeech = new WnnPOS(prev.partOfSpeech.left, clause.partOfSpeech.right); 136 this.partOfSpeech = new WnnPOS(head.partOfSpeech.left, tail.partOfSpeech.right);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
H A D | ButtonSwitcher.java | 68 protected void onLayout(final boolean changed, final int left, final int top, final int right, argument 70 super.onLayout(changed, left, top, right, bottom);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
H A D | EmojiCategoryPageIndicatorView.java | 64 final float right = left + unitWidth; 66 canvas.drawRect(left, top, right, bottom, mPaint);
|
H A D | Key.java | 231 * @param row the row that this key belongs to. row's x-coordinate will be the right edge of 533 mHitBox.right = params.mOccupiedWidth - params.mRightPadding; 845 final int right = left + mWidth; 848 final int edgeX = x < left ? left : (x > right ? right : x);
|
H A D | KeyboardView.java | 335 final int bgWidth = key.getDrawWidth() + padding.left + padding.right; 343 if (bgWidth != bounds.right || bgHeight != bounds.bottom) { 456 // The hint label is placed just right of the key label. Used mainly on 465 // The hint label is placed at top-right corner of the key. Used mainly on tablet. 472 // The hint letter is placed at top-right corner of the key. Used mainly on phone. 522 // Draw popup hint "..." at the bottom right corner of the key.
|
H A D | MoreKeysKeyboard.java | 109 // should be shifted to the right unless the parent key is on the left edge. 114 // If the right keys fill the right side of the parent key, entire more keys 115 // should be shifted to the left unless the parent key is on the right edge. 188 int right = 1; // include default position key. 192 // Assign right key if available. 193 if (right < mRightKeys) { 194 pos = right; 195 right++; 294 // left/right/to [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/ |
H A D | dic_node.h | 517 AK_FORCE_INLINE bool compare(const DicNode *right) { argument 518 if (!isUsed() && !right->isUsed()) { 520 return this > right; 525 if (!right->isUsed()) { 530 const bool rightExactMatch = right->isExactMatch(); 535 right->getNormalizedCompoundDistance() - getNormalizedCompoundDistance(); 543 const int depthDiff = right->getNodeCodePointCount() - depth; 549 const int rightCodePoint = right->mDicNodeState.mDicNodeStateOutput.getCodePointAt(i); 555 return this > right;
|