HomeSort by relevance Sort by last modified time
    Searched refs:mPositions (Results 1 - 10 of 10) sorted by null

  /packages/apps/Contacts/src/com/android/contacts/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/libs/hwui/
SkiaShader.cpp 181 mBounds(bounds), mColors(colors), mPositions(positions), mCount(count) {
196 delete[] mPositions;
206 copy->mPositions = new float[mCount];
207 memcpy(copy->mPositions, mPositions, sizeof(float) * mCount);
223 Texture* texture = mGradientCache->get(mColors, mPositions, mCount, mTileX);
269 copy->mPositions = new float[mCount];
270 memcpy(copy->mPositions, mPositions, sizeof(float) * mCount);
293 mColors(colors), mPositions(positions), mCount(count)
    [all...]
SkiaShader.h 190 float* mPositions;
215 float* mPositions;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
FusionDictionary.java 705 final LinkedList<Position> mPositions;
709 mPositions = new LinkedList<Position>();
711 mPositions.add(rootPos);
716 for (Position p : mPositions) {
726 Position currentPos = mPositions.getLast();
737 mPositions.addLast(currentPos);
743 mPositions.removeLast();
744 currentPos = mPositions.getLast();
745 mCurrentString.setLength(mCurrentString.length() - mPositions.getLast().length);
  /frameworks/base/graphics/java/android/graphics/drawable/
GradientDrawable.java 737 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];

Completed in 360 milliseconds