Searched defs:maxWidth (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/libs/hwui/
H A DFontRenderer.h244 CacheTextureLine(uint16_t maxWidth, uint16_t maxHeight, uint32_t currentRow, argument
247 mMaxWidth(maxWidth),
/frameworks/base/libs/rs/
H A DrsFont.h172 CacheTextureLine(uint32_t maxHeight, uint32_t maxWidth, uint32_t currentRow, uint32_t currentCol) argument
173 : mMaxHeight(maxHeight), mMaxWidth(maxWidth), mCurrentRow(currentRow),
/frameworks/base/media/java/android/media/
H A DRemoteControlClient.java843 * @param maxWidth
848 private Bitmap scaleBitmapIfTooBig(Bitmap bitmap, int maxWidth, int maxHeight) { argument
852 if (width > maxWidth || height > maxHeight) {
853 float scale = Math.min((float) maxWidth / width, (float) maxHeight / height);
/frameworks/base/core/java/android/widget/
H A DImageView.java247 * adjustViewBounds to true 2) set maxWidth and maxHeight to 100 3) set the height and width
257 * @param maxWidth maximum width for this view
262 public void setMaxWidth(int maxWidth) { argument
263 mMaxWidth = maxWidth;
270 * adjustViewBounds to true 2) set maxWidth and maxHeight to 100 3) set the height and width
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp739 int count, float maxWidth, jfloatArray jmeasured,
745 SkFloatToScalar(maxWidth), &measured, tbd);
757 int index, int count, float maxWidth, jfloatArray jmeasuredWidth) {
777 count = breakText(env, *paint, text + index, count, maxWidth,
785 bool forwards, float maxWidth, jfloatArray jmeasuredWidth) {
796 count = breakText(env, *paint, text, count, maxWidth,
738 breakText(JNIEnv* env, const SkPaint& paint, const jchar text[], int count, float maxWidth, jfloatArray jmeasured, SkPaint::TextBufferDirection tbd) argument
756 breakTextC(JNIEnv* env, jobject jpaint, jcharArray jtext, int index, int count, float maxWidth, jfloatArray jmeasuredWidth) argument
784 breakTextS(JNIEnv* env, jobject jpaint, jstring jtext, bool forwards, float maxWidth, jfloatArray jmeasuredWidth) argument
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java1336 * Measure the text, stopping early if the measured width exceeds maxWidth.
1344 * @param maxWidth The maximum width to accumulate.
1351 float maxWidth, float[] measuredWidth) {
1363 return native_breakText(text, index, count, maxWidth, measuredWidth);
1368 int res = native_breakText(text, index, count, maxWidth*mCompatScaling,
1376 float maxWidth, float[] measuredWidth);
1379 * Measure the text, stopping early if the measured width exceeds maxWidth.
1388 * @param maxWidth The maximum width to accumulate.
1396 float maxWidth, float[] measuredWidth) {
1408 return breakText((String) text, measureForwards, maxWidth,
1350 breakText(char[] text, int index, int count, float maxWidth, float[] measuredWidth) argument
1375 native_breakText(char[] text, int index, int count, float maxWidth, float[] measuredWidth) argument
1394 breakText(CharSequence text, int start, int end, boolean measureForwards, float maxWidth, float[] measuredWidth) argument
1443 breakText(String text, boolean measureForwards, float maxWidth, float[] measuredWidth) argument
1465 native_breakText(String text, boolean measureForwards, float maxWidth, float[] measuredWidth) argument
[all...]
/frameworks/base/opengl/tests/hwc/
H A DhwcCommit.cpp253 uint32_t maxWidth; member in struct:meas::displayFrame
261 uint32_t maxWidth; member in struct:meas::sourceCrop
491 measPtr->df.maxWidth = dfMaxWidth(format->format);
492 testPrintI(" dfMaxWidth: %u", measPtr->df.maxWidth);
510 measPtr->sc.maxWidth = scMaxWidth(format->format, measPtr->df.maxDim);
511 testPrintI(" scMaxWidth: %s%u", (measPtr->sc.maxWidth
513 measPtr->sc.maxWidth);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java589 float maxWidth, float[] measuredWidth) {
619 if (res > maxWidth) {
632 float maxWidth, float[] measuredWidth) {
633 return native_breakText(thisPaint, text.toCharArray(), 0, text.length(), maxWidth,
588 native_breakText(Paint thisPaint, char[] text, int index, int count, float maxWidth, float[] measuredWidth) argument
631 native_breakText(Paint thisPaint, String text, boolean measureForwards, float maxWidth, float[] measuredWidth) argument
/frameworks/ex/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java402 private CharSequence ellipsizeText(CharSequence text, TextPaint paint, float maxWidth) { argument
404 if (maxWidth <= 0 && Log.isLoggable(TAG, Log.DEBUG)) {
405 Log.d(TAG, "Max width is negative: " + maxWidth);
407 return TextUtils.ellipsize(text, paint, maxWidth,

Completed in 373 milliseconds