Home
last modified time | relevance | path

Searched refs:mDividerWidth (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryChartView.java85 private int mDividerWidth; field in BatteryChartView
340 mDividerWidth = resources.getDimensionPixelSize(R.dimen.chartview_divider_width); in initializeColors()
346 mDividerPaint.setStrokeWidth(mDividerWidth); in initializeColors()
347 Log.i(TAG, "mDividerWidth:" + mDividerWidth); in initializeColors()
401 final float topOffsetY = mIndent.top + mDividerWidth * .5f; in drawHorizontalDividers()
402 final float bottomOffsetY = mIndent.top + (height - mDividerHeight - mDividerWidth * .5f); in drawHorizontalDividers()
437 final float dividerSpace = dividerCount * mDividerWidth; in drawVerticalDividers()
441 final float trapezoidSlotOffset = mTrapezoidHOffset + mDividerWidth * .5f; in drawVerticalDividers()
451 /* baselineX= */ mIndent.left + mDividerWidth + unitWidth * .5f, in drawVerticalDividers()
452 /* offsetX= */ mDividerWidth + unitWidth, in drawVerticalDividers()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DMoreSuggestions.java50 public int mDividerWidth; field in MoreSuggestions.MoreSuggestionsParam
61 mDividerWidth = mDivider.getIntrinsicWidth(); in layout()
81 (maxWidth - mDividerWidth * (numColumn - 1)) / numColumn; in layout()
122 maxKeyWidth * numColumnInRow + mDividerWidth * (numColumnInRow - 1)); in calcurateMaxRowWidth()
145 return columnNumber * (getWidth(index) + mDividerWidth); in getX()
155 return (mOccupiedWidth - mDividerWidth * (numColumnInRow - 1)) / numColumnInRow; in getWidth()
229 params.mDividerWidth, params.mDefaultRowHeight); in build()
DSuggestionStripLayoutHelper.java70 public final int mDividerWidth; field in SuggestionStripLayoutHelper
119 mDividerWidth = dividerView.getMeasuredWidth(); in SuggestionStripLayoutHelper()
472 final int dividers = mDividerWidth * (mSuggestionsCountInStrip - 1); in getSuggestionWidth()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMoreKeysKeyboard.java53 public int mDividerWidth; field in MoreKeysKeyboard.MoreKeysKeyboardParams
131 mDividerWidth = dividerWidth; in setParameters()
132 mColumnWidth = mDefaultKeyWidth + mDividerWidth; in setParameters()
133 mBaseWidth = mOccupiedWidth = mNumColumns * mColumnWidth - mDividerWidth; in setParameters()
350 if (params.mDividerWidth > 0 && pos != 0) { in build()
351 final int dividerX = (pos > 0) ? x - params.mDividerWidth in build()
354 params, dividerX, y, params.mDividerWidth, params.mDefaultRowHeight); in build()
/packages/apps/Settings/src/com/android/settings/widget/
DMatchParentShrinkingLinearLayout.java165 private int mDividerWidth; field in MatchParentShrinkingLinearLayout
275 mDividerWidth = divider.getIntrinsicWidth(); in setDividerDrawable()
278 mDividerWidth = 0; in setDividerDrawable()
315 return mDividerWidth; in getDividerWidth()
371 position = child.getLeft() - lp.leftMargin - mDividerWidth; in drawDividersHorizontal()
385 position = getWidth() - getPaddingRight() - mDividerWidth; in drawDividersHorizontal()
390 position = child.getLeft() - lp.leftMargin - mDividerWidth; in drawDividersHorizontal()
407 left + mDividerWidth, getHeight() - getPaddingBottom() - mDividerPadding); in drawVerticalDivider()
1326 childLeft += mDividerWidth; in layoutHorizontal()