Home | History | Annotate | Download | only in pinyin

Lines Matching refs:xPos

434             float xPos;
435 xPos = 0;
436 xPos += mSeparatorDrawable.getIntrinsicWidth();
437 while (xPos < mContentWidth && pStart + pSize < candSize) {
445 if (xPos + itemWidth < mContentWidth || 0 == pSize) {
446 xPos += itemWidth;
459 float marginExtra = (mContentWidth - xPos) / pSize / 2;
461 if (mContentWidth - xPos > lastItemWidth) {
500 float xPos = mPaddingLeft;
504 xPos += drawVerticalSeparator(canvas, xPos);
524 mActiveCellRect.set(xPos, mPaddingTop + 1, xPos
533 mCandRects.elementAt(i).set(xPos - 1, yPos + mFmiCandidates.top,
534 xPos + itemTotalWidth + 1, yPos + mFmiCandidates.bottom);
538 canvas.drawText(footnote, xPos + (candMargin - footnoteSize)
543 xPos += candMargin;
544 if (candidateWidth > mContentWidth - xPos - centerOffset) {
546 mContentWidth - xPos - centerOffset);
553 canvas.drawText(cand, xPos + centerOffset, yPos,
557 xPos += candidateWidth + candMargin;
560 xPos += drawVerticalSeparator(canvas, xPos);
584 private float drawVerticalSeparator(Canvas canvas, float xPos) {
585 mSeparatorDrawable.setBounds((int) xPos, mPaddingTop, (int) xPos