Home
last modified time | relevance | path

Searched refs:effectiveWidth (Results 1 – 4 of 4) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactListItemView.java329 int effectiveWidth; in onMeasure() local
332 effectiveWidth = specWidth - getPaddingLeft() - getPaddingRight() in onMeasure()
335 effectiveWidth = specWidth - getPaddingLeft() - getPaddingRight(); in onMeasure()
339 effectiveWidth -= mHeaderWidth + mGapBetweenImageAndText; in onMeasure()
347 int nameTextWidth = effectiveWidth; in onMeasure()
359 MeasureSpec.makeMeasureSpec(effectiveWidth, MeasureSpec.EXACTLY), in onMeasure()
370 final int totalWidth = effectiveWidth - mGapBetweenLabelAndData; in onMeasure()
376 dataWidth = effectiveWidth; in onMeasure()
382 labelWidth = effectiveWidth; in onMeasure()
407 MeasureSpec.makeMeasureSpec(effectiveWidth, MeasureSpec.EXACTLY), in onMeasure()
[all …]
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthWeekEventsView.java283 int effectiveWidth = mWidth - mPadding * 2; in createDna() local
285 effectiveWidth -= SPACING_WEEK_NUMBER; in createDna()
287 DNA_ALL_DAY_WIDTH = effectiveWidth / numDays - 2 * DNA_SIDE_PADDING; in createDna()
576 int effectiveWidth = mWidth; in computeDayLeftPosition() local
581 effectiveWidth -= xOffset; in computeDayLeftPosition()
583 x = day * effectiveWidth / mNumDays + xOffset; in computeDayLeftPosition()
1012 int effectiveWidth = mWidth - mPadding * 2; in updateSelectionPositions() local
1013 effectiveWidth -= SPACING_WEEK_NUMBER; in updateSelectionPositions()
1014 mSelectedLeft = selectedPosition * effectiveWidth / mNumDays + mPadding; in updateSelectionPositions()
1015 mSelectedRight = (selectedPosition + 1) * effectiveWidth / mNumDays + mPadding; in updateSelectionPositions()
/packages/apps/Camera2/src/com/android/camera/
DCaptureModule.java1084 int effectiveWidth = mPreviewBufferWidth;
1099 int temp = effectiveWidth;
1100 effectiveWidth = effectiveHeight;
1106 RectF bufRect = new RectF(0, 0, effectiveWidth, effectiveHeight);
1121 int temp = effectiveWidth;
1122 effectiveWidth = effectiveHeight;
1128 Math.min(width / (float) effectiveWidth, height
1133 float previewWidth = effectiveWidth * scale;
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java2298 int effectiveWidth = mViewWidth - mHoursWidth; in computeDayLeftPosition() local
2299 return day * effectiveWidth / mNumDays + mHoursWidth; in computeDayLeftPosition()