Home
last modified time | relevance | path

Searched refs:totalWidth (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/widget/
DTableLayout.java456 int widthMeasureSpec, int totalWidth, in measureChildBeforeLayout() argument
465 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight); in measureChildBeforeLayout()
562 int totalWidth = 0; in shrinkAndStretchColumns() local
564 totalWidth += width; in shrinkAndStretchColumns()
569 if ((totalWidth > size) && (mShrinkAllColumns || mShrinkableColumns.size() > 0)) { in shrinkAndStretchColumns()
572 mutateColumnsWidth(mShrinkableColumns, mShrinkAllColumns, size, totalWidth); in shrinkAndStretchColumns()
573 } else if ((totalWidth < size) && (mStretchAllColumns || mStretchableColumns.size() > 0)) { in shrinkAndStretchColumns()
576 mutateColumnsWidth(mStretchableColumns, mStretchAllColumns, size, totalWidth); in shrinkAndStretchColumns()
581 boolean allColumns, int size, int totalWidth) { in mutateColumnsWidth() argument
586 final int totalExtraSpace = size - totalWidth; in mutateColumnsWidth()
DTabWidget.java156 int widthMeasureSpec, int totalWidth, in measureChildBeforeLayout() argument
160 totalWidth + mImposedTabWidths[childIndex], MeasureSpec.EXACTLY); in measureChildBeforeLayout()
166 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight); in measureChildBeforeLayout()
DTableRow.java192 int widthMeasureSpec, int totalWidth, in measureChildBeforeLayout() argument
248 totalWidth, heightMeasureSpec, totalHeight); in measureChildBeforeLayout()
DLinearLayout.java1434 int widthMeasureSpec, int totalWidth, int heightMeasureSpec, in measureChildBeforeLayout() argument
1436 measureChildWithMargins(child, widthMeasureSpec, totalWidth, in measureChildBeforeLayout()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewController.java911 final int totalWidth = mRootView.getMeasuredWidth(); in runEnterAnimation() local
923 final float scaleW = (float) mAnimationStartWidth / totalWidth; in runEnterAnimation()
928 totalWidth, scale); in runEnterAnimation()
998 final int totalWidth = mRootView.getMeasuredWidth(); in runExitAnimation() local
1005 final float scaleW = (float) mAnimationStartWidth / totalWidth; in runExitAnimation()
1010 totalWidth, scale); in runExitAnimation()
1115 int totalWidth = mRootView.getMeasuredWidth(); in initTemporaryImage() local
1116 if (totalWidth == 0) { in initTemporaryImage()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java619 int totalWidth = 0; in resize() local
625 totalWidth += key.width; in resize()
627 if (totalGap + totalWidth > newWidth) { in resize()
629 float scaleFactor = (float)(newWidth - totalGap) / totalWidth; in resize()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DLinearLayoutCompat.java1371 int widthMeasureSpec, int totalWidth, int heightMeasureSpec, in measureChildBeforeLayout() argument
1373 measureChildWithMargins(child, widthMeasureSpec, totalWidth, in measureChildBeforeLayout()