Searched refs:labelWidth (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | AlbumLabelMaker.java | 161 int labelWidth; in run() local 164 labelWidth = mLabelWidth; in run() 170 bitmap = Bitmap.createBitmap(labelWidth + borders, in run() 186 drawText(canvas, x, y, title, labelWidth - s.leftMargin, mTitlePaint); in run() 193 labelWidth - s.leftMargin - s.iconSize, mCountPaint); in run()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | KeyboardView.java | 582 float labelWidth = 0; in onDrawKeyTopVisuals() local 594 labelWidth = getLabelWidth(label, paint) + icon.getIntrinsicWidth() in onDrawKeyTopVisuals() 596 positionX = centerX + labelWidth / 2; in onDrawKeyTopVisuals() 599 labelWidth = getLabelWidth(label, paint) + icon.getIntrinsicWidth() in onDrawKeyTopVisuals() 601 positionX = centerX - labelWidth / 2; in onDrawKeyTopVisuals() 632 final int iconX = (int)(centerX - labelWidth / 2); in onDrawKeyTopVisuals() 635 final int iconX = (int)(centerX + labelWidth / 2 - iconWidth); in onDrawKeyTopVisuals()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactListItemView.java | 358 final int labelWidth; in onMeasure() local 364 labelWidth = ((totalWidth * mLabelViewWidthWeight) / in onMeasure() 368 labelWidth = 0; in onMeasure() 373 labelWidth = effectiveWidth; in onMeasure() 375 labelWidth = 0; in onMeasure() 390 mLabelView.measure(MeasureSpec.makeMeasureSpec(labelWidth, mode), in onMeasure()
|