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

/frameworks/base/core/java/android/widget/
H A DImageView.java214 * true 2) set maxWidth and maxHeight to 100 3) set the height and width layout params to
223 * @param maxWidth maximum width for this view
228 public void setMaxWidth(int maxWidth) { argument
229 mMaxWidth = maxWidth;
236 * true 2) set maxWidth and maxHeight to 100 3) set the height and width layout params to
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp429 int count, float maxWidth, jfloatArray jmeasured,
435 SkFloatToScalar(maxWidth), &measured, tbd);
447 int index, int count, float maxWidth, jfloatArray jmeasuredWidth) {
467 count = breakText(env, *paint, text + index, count, maxWidth,
475 bool forwards, float maxWidth, jfloatArray jmeasuredWidth) {
486 count = breakText(env, *paint, text, count, maxWidth,
428 breakText(JNIEnv* env, const SkPaint& paint, const jchar text[], int count, float maxWidth, jfloatArray jmeasured, SkPaint::TextBufferDirection tbd) argument
446 breakTextC(JNIEnv* env, jobject jpaint, jcharArray jtext, int index, int count, float maxWidth, jfloatArray jmeasuredWidth) argument
474 breakTextS(JNIEnv* env, jobject jpaint, jstring jtext, bool forwards, float maxWidth, jfloatArray jmeasuredWidth) argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java564 float maxWidth, float[] measuredWidth) {
594 if (res > maxWidth) {
607 float maxWidth, float[] measuredWidth) {
608 return native_breakText(thisPaint, text.toCharArray(), 0, text.length(), maxWidth,
563 native_breakText(Paint thisPaint, char[] text, int index, int count, float maxWidth, float[] measuredWidth) argument
606 native_breakText(Paint thisPaint, String text, boolean measureForwards, float maxWidth, float[] measuredWidth) argument
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java1075 * Measure the text, stopping early if the measured width exceeds maxWidth.
1085 * @param maxWidth The maximum width to accumulate.
1092 float maxWidth, float[] measuredWidth) {
1094 return native_breakText(text, index, count, maxWidth, measuredWidth);
1098 int res = native_breakText(text, index, count, maxWidth*mCompatScaling,
1106 float maxWidth, float[] measuredWidth);
1109 * Measure the text, stopping early if the measured width exceeds maxWidth.
1118 * @param maxWidth The maximum width to accumulate.
1126 float maxWidth, float[] measuredWidth) {
1128 return breakText((String) text, measureForwards, maxWidth,
1091 breakText(char[] text, int index, int count, float maxWidth, float[] measuredWidth) argument
1105 native_breakText(char[] text, int index, int count, float maxWidth, float[] measuredWidth) argument
1124 breakText(CharSequence text, int start, int end, boolean measureForwards, float maxWidth, float[] measuredWidth) argument
1163 breakText(String text, boolean measureForwards, float maxWidth, float[] measuredWidth) argument
1177 native_breakText(String text, boolean measureForwards, float maxWidth, float[] measuredWidth) argument
[all...]

Completed in 503 milliseconds