/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ContactsSectionIndexer.java | 31 private int[] mPositions; 54 mPositions = new int[counts.length]; 63 mPositions[i] = position; 78 return mPositions[section]; 86 int index = Arrays.binarySearch(mPositions, position); 109 int[] tempPositions = new int[mPositions.length + 1]; 112 for (int i = 1; i <= mPositions.length; i++) { 114 tempPositions[i] = mPositions[i - 1] + 1; 117 mPositions = tempPositions;
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Gradient_Delegate.java | 27 protected final float[] mPositions; 68 mPositions = positions; 80 private final float[] mPositions; 86 mPositions = positions; 110 while (currentPos > mPositions[nextPos]) { 114 float percent = (currentPos - mPositions[prevPos]) / 115 (mPositions[nextPos] - mPositions[prevPos]);
|
LinearGradient_Delegate.java | 108 mJavaPaint = new LinearGradientPaint(x0, y0, x1, y1, mColors, mPositions, tile);
|
RadialGradient_Delegate.java | 104 mJavaPaint = new RadialGradientPaint(x, y, radius, mColors, mPositions, tile);
|
SweepGradient_Delegate.java | 98 mJavaPaint = new SweepGradientPaint(cx, cy, mColors, mPositions);
|
/frameworks/base/graphics/java/android/graphics/ |
SweepGradient.java | 33 private float[] mPositions; 64 mPositions = positions; 96 mPositions != null ? mPositions.clone() : null);
|
LinearGradient.java | 35 private float[] mPositions; 66 mPositions = positions; 106 mPositions != null ? mPositions.clone() : null, mTileMode);
|
RadialGradient.java | 34 private float[] mPositions; 66 mPositions = positions; 107 mPositions != null ? mPositions.clone() : null, mTileMode);
|
/frameworks/base/libs/hwui/ |
SkiaShader.cpp | 189 mBounds(bounds), mColors(colors), mPositions(positions), mCount(count) { 206 delete[] mPositions; 216 copy->mPositions = new float[mCount]; 217 memcpy(copy->mPositions, mPositions, sizeof(float) * mCount); 236 Texture* texture = mCaches->gradientCache.get(mColors, mPositions, mCount); 281 copy->mPositions = new float[mCount]; 282 memcpy(copy->mPositions, mPositions, sizeof(float) * mCount); 307 mColors(colors), mPositions(positions), mCount(count) [all...] |
SkiaShader.h | 177 float* mPositions; 202 float* mPositions;
|
DisplayListOp.h | [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
FusionDictionary.java | [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
GradientDrawable.java | 750 colors, st.mPositions, Shader.TileMode.CLAMP)); [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
SpannableStringBuilderSpanTest.java | 288 private int[] mPositions; 292 mPositions = new int[capacity]; 297 if (mSize == 0 || position > mPositions[mSize - 1]) { 298 mPositions[mSize] = position; 312 return mPositions[index];
|