/frameworks/base/core/java/android/widget/ |
D | AbsoluteLayout.java | 60 int maxWidth = 0; in onMeasure() local 78 maxWidth = Math.max(maxWidth, childRight); in onMeasure() 84 maxWidth += mPaddingLeft + mPaddingRight; in onMeasure() 89 maxWidth = Math.max(maxWidth, getSuggestedMinimumWidth()); in onMeasure() 91 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, 0), in onMeasure()
|
D | FrameLayout.java | 287 int maxWidth = 0; in onMeasure() local 295 maxWidth = Math.max(maxWidth, in onMeasure() 310 maxWidth += getPaddingLeftWithForeground() + getPaddingRightWithForeground(); in onMeasure() 315 maxWidth = Math.max(maxWidth, getSuggestedMinimumWidth()); in onMeasure() 321 maxWidth = Math.max(maxWidth, drawable.getMinimumWidth()); in onMeasure() 324 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState), in onMeasure()
|
D | LinearLayout.java | 597 int maxWidth = 0; in measureVertical() local 708 maxWidth = Math.max(maxWidth, measuredWidth); in measureVertical() 824 maxWidth = Math.max(maxWidth, measuredWidth); in measureVertical() 873 maxWidth = alternativeMaxWidth; in measureVertical() 876 maxWidth += mPaddingLeft + mPaddingRight; in measureVertical() 879 maxWidth = Math.max(maxWidth, getSuggestedMinimumWidth()); in measureVertical() 881 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState), in measureVertical()
|
D | StackView.java | 1134 int maxWidth = 0; 1145 if (childMeasuredWidth > maxWidth) { 1146 maxWidth = childMeasuredWidth; 1158 if (maxWidth > 0 && count > 0 && maxWidth < childWidth) { 1159 mNewPerspectiveShiftX = measuredWidth - maxWidth;
|
D | ImageView.java | 262 public void setMaxWidth(int maxWidth) { in setMaxWidth() argument 263 mMaxWidth = maxWidth; in setMaxWidth()
|
D | SearchView.java | 276 int maxWidth = a.getDimensionPixelSize(R.styleable.SearchView_maxWidth, -1); in SearchView() local 277 if (maxWidth != -1) { in SearchView() 278 setMaxWidth(maxWidth); in SearchView()
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
D | TargetDrawable.java | 137 int maxWidth = 0; in resizeDrawables() local 141 maxWidth = Math.max(maxWidth, childDrawable.getIntrinsicWidth()); in resizeDrawables() 145 + maxWidth + "x" + maxHeight); in resizeDrawables() 146 d.setBounds(0, 0, maxWidth, maxHeight); in resizeDrawables() 150 + maxWidth + "x" + maxHeight); in resizeDrawables() 151 childDrawable.setBounds(0, 0, maxWidth, maxHeight); in resizeDrawables()
|
/frameworks/base/core/java/android/app/ |
D | FragmentBreadCrumbs.java | 179 int maxWidth = 0; in onMeasure() local 187 maxWidth = Math.max(maxWidth, child.getMeasuredWidth()); in onMeasure() 195 maxWidth += mPaddingLeft + mPaddingRight; in onMeasure() 200 maxWidth = Math.max(maxWidth, getSuggestedMinimumWidth()); in onMeasure() 202 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, measuredChildState), in onMeasure()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 1351 float maxWidth, float[] measuredWidth) { in breakText() argument 1363 return native_breakText(text, index, count, maxWidth, measuredWidth); in breakText() 1368 int res = native_breakText(text, index, count, maxWidth*mCompatScaling, in breakText() 1376 float maxWidth, float[] measuredWidth); in native_breakText() argument 1396 float maxWidth, float[] measuredWidth) { in breakText() argument 1408 return breakText((String) text, measureForwards, maxWidth, in breakText() 1418 result = breakText(buf, 0, end - start, maxWidth, measuredWidth); in breakText() 1420 result = breakText(buf, 0, -(end - start), maxWidth, measuredWidth); in breakText() 1444 float maxWidth, float[] measuredWidth) { in breakText() argument 1453 return native_breakText(text, measureForwards, maxWidth, measuredWidth); in breakText() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | LoadAverageService.java | 265 int maxWidth = stats.mLoadWidth; in updateDisplay() local 268 if (st.nameWidth > maxWidth) { in updateDisplay() 269 maxWidth = st.nameWidth; in updateDisplay() 273 int neededWidth = mPaddingLeft + mPaddingRight + maxWidth; in updateDisplay()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | IconMerger.java | 62 final int maxWidth = r - l; in onLayout() local 102 if (fitRight - fitLeft <= maxWidth) { in onLayout()
|
/frameworks/base/media/java/android/media/videoeditor/ |
D | MediaProperties.java | 382 final int maxWidth = veProfile.maxOutputVideoFrameWidth; in getSupportedResolutions() local 390 if ((resolutions[i].first <= maxWidth) && in getSupportedResolutions()
|
/frameworks/base/libs/rs/ |
D | rsFont.h | 172 … CacheTextureLine(uint32_t maxHeight, uint32_t maxWidth, uint32_t currentRow, uint32_t currentCol) in CacheTextureLine() 173 : mMaxHeight(maxHeight), mMaxWidth(maxWidth), mCurrentRow(currentRow), in CacheTextureLine()
|
/frameworks/base/media/java/android/media/ |
D | RemoteControlClient.java | 848 private Bitmap scaleBitmapIfTooBig(Bitmap bitmap, int maxWidth, int maxHeight) { in scaleBitmapIfTooBig() argument 852 if (width > maxWidth || height > maxHeight) { in scaleBitmapIfTooBig() 853 float scale = Math.min((float) maxWidth / width, (float) maxHeight / height); in scaleBitmapIfTooBig()
|
/frameworks/base/libs/hwui/ |
D | FontRenderer.h | 244 CacheTextureLine(uint16_t maxWidth, uint16_t maxHeight, uint32_t currentRow, in CacheTextureLine() 247 mMaxWidth(maxWidth), in CacheTextureLine()
|
/frameworks/base/opengl/tests/hwc/ |
D | hwcCommit.cpp | 253 uint32_t maxWidth; member 261 uint32_t maxWidth; member 491 measPtr->df.maxWidth = dfMaxWidth(format->format); in main() 492 testPrintI(" dfMaxWidth: %u", measPtr->df.maxWidth); in main() 510 measPtr->sc.maxWidth = scMaxWidth(format->format, measPtr->df.maxDim); in main() 511 testPrintI(" scMaxWidth: %s%u", (measPtr->sc.maxWidth in main() 513 measPtr->sc.maxWidth); in main()
|
/frameworks/base/core/jni/android/graphics/ |
D | Paint.cpp | 739 int count, float maxWidth, jfloatArray jmeasured, in breakText() argument 745 SkFloatToScalar(maxWidth), &measured, tbd); in breakText() 757 int index, int count, float maxWidth, jfloatArray jmeasuredWidth) { in breakTextC() argument 777 count = breakText(env, *paint, text + index, count, maxWidth, in breakTextC() 785 bool forwards, float maxWidth, jfloatArray jmeasuredWidth) { in breakTextS() argument 796 count = breakText(env, *paint, text, count, maxWidth, in breakTextS()
|
/frameworks/base/core/java/android/view/ |
D | IWindowManager.aidl | 211 Bitmap screenshotApplications(IBinder appToken, int maxWidth, int maxHeight); in screenshotApplications() argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Paint_Delegate.java | 589 float maxWidth, float[] measuredWidth) { in native_breakText() argument 619 if (res > maxWidth) { in native_breakText() 632 float maxWidth, float[] measuredWidth) { in native_breakText() argument 633 return native_breakText(thisPaint, text.toCharArray(), 0, text.length(), maxWidth, in native_breakText()
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 392 private CharSequence ellipsizeText(CharSequence text, TextPaint paint, float maxWidth) { in ellipsizeText() argument 394 if (maxWidth <= 0 && Log.isLoggable(TAG, Log.DEBUG)) { in ellipsizeText() 395 Log.d(TAG, "Max width is negative: " + maxWidth); in ellipsizeText() 397 return TextUtils.ellipsize(text, paint, maxWidth, in ellipsizeText()
|
/frameworks/base/core/java/android/webkit/ |
D | WebView.java | 8573 int maxWidth = contentToViewDimension(data.mContentWidth); 8584 width + ",maxWidth=" + maxWidth + 8592 (Math.min(maxWidth, x + viewWidth)) - viewWidth);
|
/frameworks/base/api/ |
D | current.txt | 663 field public static final int maxWidth = 16843039; // 0x101011f
|
D | 14.txt | 663 field public static final int maxWidth = 16843039; // 0x101011f
|