/frameworks/support/volley/tests/src/com/android/volley/toolbox/ |
H A D | ImageRequestTest.java | 61 private void verifyResize(NetworkResponse networkResponse, int maxWidth, int maxHeight, argument 64 "", null, maxWidth, maxHeight, Config.RGB_565, null);
|
/frameworks/support/volley/src/com/android/volley/toolbox/ |
H A D | ImageRequest.java | 63 * @param maxWidth Maximum width to decode this bitmap to, or zero for none 69 public ImageRequest(String url, Response.Listener<Bitmap> listener, int maxWidth, int maxHeight, argument 76 mMaxWidth = maxWidth;
|
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetHostView.java | 222 * @param maxWidth The maximum width that the widget will be displayed at. 226 public void updateAppWidgetSize(Bundle options, int minWidth, int minHeight, int maxWidth, argument 243 options.putInt(AppWidgetManager.OPTION_APPWIDGET_MAX_WIDTH, maxWidth - xPaddingDips);
|
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.h | 86 CacheTextureLine(uint16_t maxWidth, uint16_t maxHeight, uint32_t currentRow, argument 89 mMaxWidth(maxWidth),
|
H A D | FontRenderer.cpp | 715 uint16_t maxWidth = 0; local 717 maxWidth = Caches::getInstance().maxTextureSize; 720 if (maxWidth > MAX_TEXT_CACHE_WIDTH || maxWidth == 0) { 721 maxWidth = MAX_TEXT_CACHE_WIDTH; 725 mCacheTexture128 = createCacheTexture(maxWidth, 256, false); 726 mCacheTexture256 = createCacheTexture(maxWidth, 256, false); 727 mCacheTexture512 = createCacheTexture(maxWidth, 512, false); 749 mCacheLines.push(new CacheTextureLine(maxWidth, 128, 0, 0, mCacheTexture128)); 750 mCacheLines.push(new CacheTextureLine(maxWidth, 12 [all...] |
/frameworks/rs/ |
H A D | rsFont.h | 174 CacheTextureLine(uint32_t maxHeight, uint32_t maxWidth, uint32_t currentRow, uint32_t currentCol) argument 175 : mMaxHeight(maxHeight), mMaxWidth(maxWidth), mCurrentRow(currentRow),
|
/frameworks/base/core/java/android/widget/ |
H A D | ImageView.java | 269 * adjustViewBounds to true 2) set maxWidth and maxHeight to 100 3) set the height and width 279 * @param maxWidth maximum width for this view 286 public void setMaxWidth(int maxWidth) { argument 287 mMaxWidth = maxWidth; 307 * adjustViewBounds to true 2) set maxWidth and maxHeight to 100 3) set the height and width
|
/frameworks/base/media/java/android/media/ |
H A D | RemoteControlClient.java | 1112 * @param maxWidth 1117 private Bitmap scaleBitmapIfTooBig(Bitmap bitmap, int maxWidth, int maxHeight) { argument 1121 if (width > maxWidth || height > maxHeight) { 1122 float scale = Math.min((float) maxWidth / width, (float) maxHeight / height);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Paint.cpp | 684 int count, float maxWidth, jfloatArray jmeasured, 693 SkFloatToScalar(maxWidth), &measured, tbd); 705 int index, int count, float maxWidth, jfloatArray jmeasuredWidth) { 725 count = breakText(env, *paint, text + index, count, maxWidth, 733 bool forwards, float maxWidth, jfloatArray jmeasuredWidth) { 744 count = breakText(env, *paint, text, count, maxWidth, 683 breakText(JNIEnv* env, SkPaint& paint, const jchar text[], int count, float maxWidth, jfloatArray jmeasured, SkPaint::TextBufferDirection tbd) argument 704 breakTextC(JNIEnv* env, jobject jpaint, jcharArray jtext, int index, int count, float maxWidth, jfloatArray jmeasuredWidth) argument 732 breakTextS(JNIEnv* env, jobject jpaint, jstring jtext, bool forwards, float maxWidth, jfloatArray jmeasuredWidth) argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Paint_Delegate.java | 594 float maxWidth, float[] measuredWidth) { 624 if (res > maxWidth) { 637 float maxWidth, float[] measuredWidth) { 638 return native_breakText(thisPaint, text.toCharArray(), 0, text.length(), maxWidth, 593 native_breakText(Paint thisPaint, char[] text, int index, int count, float maxWidth, float[] measuredWidth) argument 636 native_breakText(Paint thisPaint, String text, boolean measureForwards, float maxWidth, float[] measuredWidth) argument
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 442 private CharSequence ellipsizeText(CharSequence text, TextPaint paint, float maxWidth) { argument 444 if (maxWidth <= 0 && Log.isLoggable(TAG, Log.DEBUG)) { 445 Log.d(TAG, "Max width is negative: " + maxWidth); 447 return TextUtils.ellipsize(text, paint, maxWidth,
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcCommit.cpp | 252 uint32_t maxWidth; member in struct:meas::displayFrame 260 uint32_t maxWidth; member in struct:meas::sourceCrop 490 measPtr->df.maxWidth = dfMaxWidth(format->format); 491 testPrintI(" dfMaxWidth: %u", measPtr->df.maxWidth); 509 measPtr->sc.maxWidth = scMaxWidth(format->format, measPtr->df.maxDim); 510 testPrintI(" scMaxWidth: %s%u", (measPtr->sc.maxWidth 512 measPtr->sc.maxWidth);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Paint.java | 1391 * Measure the text, stopping early if the measured width exceeds maxWidth. 1399 * @param maxWidth The maximum width to accumulate. 1406 float maxWidth, float[] measuredWidth) { 1418 return native_breakText(text, index, count, maxWidth, measuredWidth); 1423 int res = native_breakText(text, index, count, maxWidth*mCompatScaling, 1431 float maxWidth, float[] measuredWidth); 1434 * Measure the text, stopping early if the measured width exceeds maxWidth. 1443 * @param maxWidth The maximum width to accumulate. 1451 float maxWidth, float[] measuredWidth) { 1463 return breakText((String) text, measureForwards, maxWidth, 1405 breakText(char[] text, int index, int count, float maxWidth, float[] measuredWidth) argument 1430 native_breakText(char[] text, int index, int count, float maxWidth, float[] measuredWidth) argument 1449 breakText(CharSequence text, int start, int end, boolean measureForwards, float maxWidth, float[] measuredWidth) argument 1498 breakText(String text, boolean measureForwards, float maxWidth, float[] measuredWidth) argument 1520 native_breakText(String text, boolean measureForwards, float maxWidth, float[] measuredWidth) argument [all...] |
/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL.h | 1596 XAuint32 maxWidth; member in struct:XACameraDescriptor_ 2817 XAuint32 maxWidth; member in struct:XAImageCodecDescriptor_ 2991 XAuint32 maxWidth; member in struct:XAVideoCodecDescriptor_
|