Searched refs:positions (Results 26 - 50 of 51) sorted by relevance

123

/frameworks/base/graphics/java/android/graphics/
H A DRadialGradient.java114 "colors and positions or center color and edge color");
121 int colors[], float positions[], int tileMode);
120 nativeCreate1(float x, float y, float radius, int colors[], float positions[], int tileMode) argument
/frameworks/support/v4/tests/java/android/support/v4/view/
H A DBaseViewPagerTest.java683 * @param positions List of "position" values passed to all
691 int pageWidth, List<Integer> positions, List<Float> positionOffsets,
693 int callbackCount = positions.size();
697 endPageIndex, (int) positions.get(callbackCount - 1));
713 int pagePositionCurr = positions.get(i);
720 int pagePositionNext = positions.get(i + 1);
783 * @param positions List of "position" values passed to all
791 int pageWidth, List<Integer> positions, List<Float> positionOffsets,
793 int callbackCount = positions.size();
797 endPageIndex, (int) positions
690 verifyScrollCallbacksToHigherPage(int startPageIndex, int endPageIndex, int pageWidth, List<Integer> positions, List<Float> positionOffsets, List<Integer> positionOffsetPixels) argument
790 verifyScrollCallbacksToLowerPage(int startPageIndex, int endPageIndex, int pageWidth, List<Integer> positions, List<Float> positionOffsets, List<Integer> positionOffsetPixels) argument
[all...]
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp333 FloatArrayHelper positions(env, positions_ref, positionsOffset, 0);
336 bool checkOK = positions.check() && sphere.check();
341 positions.bind();
349 const float* pSrc = positions.mData;
529 float[] positions, int positionsOffset,
540 FloatArrayHelper positions(env, positions_ref, positionsOffset, 0);
543 bool checkOK = ws.check() && positions.check() && indices.check();
555 positions.bind();
559 positions.mData, positions
[all...]
/frameworks/base/libs/hwui/
H A DRecordedOp.h385 TextOp(BASE_PARAMS, const glyph_t* glyphs, const float* positions, int glyphCount, argument
389 , positions(positions)
394 const float* positions; member in struct:android::uirenderer::TextOp
H A DFontRenderer.h111 int numGlyphs, int x, int y, const float* positions,
129 float radius, const float* positions);
H A DFontRenderer.cpp561 int numGlyphs, float radius, const float* positions) {
580 mCurrentFont->measure(paint, glyphs, numGlyphs, &bounds, positions);
613 Font::BITMAP, dataBuffer, paddedWidth, paddedHeight, nullptr, positions);
657 int numGlyphs, int x, int y, const float* positions,
665 mCurrentFont->render(paint, glyphs, numGlyphs, x, y, positions);
560 renderDropShadow(const SkPaint* paint, const glyph_t *glyphs, int numGlyphs, float radius, const float* positions) argument
656 renderPosText(const SkPaint* paint, const Rect* clip, const glyph_t* glyphs, int numGlyphs, int x, int y, const float* positions, Rect* bounds, TextDrawFunctor* functor, bool forceFinish) argument
H A DRecordingCanvas.cpp528 void RecordingCanvas::drawGlyphs(const uint16_t* glyphs, const float* positions, int glyphCount, argument
531 if (!glyphs || !positions || glyphCount <= 0 || PaintUtils::paintWillNotDrawText(paint)) return;
533 positions = refBuffer<float>(positions, glyphCount * 2);
540 refPaint(&paint), glyphs, positions, glyphCount, x, y)); local
H A DDisplayListCanvas.cpp287 // effectively calculates positions relative to src rect space
435 void DisplayListCanvas::drawGlyphs(const uint16_t* glyphs, const float* positions, argument
443 positions = refBuffer<float>(positions, count * 2);
447 x, y, positions, refPaint(&paint), totalAdvance, bounds);
H A DOpenGLRenderer.h197 const float* positions, const SkPaint* paint, float totalAdvance, const Rect& bounds,
639 * Draws shadow layer on text (with optional positions).
644 * @param positions The x, y positions of individual glyphs (or NULL)
651 const float* positions, FontRenderer& fontRenderer, int alpha,
H A DSkiaCanvas.cpp167 virtual void drawGlyphs(const uint16_t* text, const float* positions, int count,
758 void SkiaCanvas::drawGlyphs(const uint16_t* text, const float* positions, int count, argument
763 mCanvas->drawPosText(text, count << 1, reinterpret_cast<const SkPoint*>(positions), paint);
H A DOpenGLRenderer.cpp1961 int count, const float* positions,
1974 paint, glyphs, count, textShadow.radius, positions);
2096 const float* positions, const SkPaint* paint, float totalAdvance, const Rect& bounds,
2126 drawTextShadow(paint, glyphs, count, positions, fontRenderer,
2168 positions, hasActiveLayer ? &layerBounds : nullptr, &functor, forceFinish);
2171 positions, hasActiveLayer ? &layerBounds : nullptr, &functor, forceFinish);
1960 drawTextShadow(const SkPaint* paint, const glyph_t* glyphs, int count, const float* positions, FontRenderer& fontRenderer, int alpha, float x, float y) argument
2095 drawText(const glyph_t* glyphs, int bytesCount, int count, float x, float y, const float* positions, const SkPaint* paint, float totalAdvance, const Rect& bounds, DrawOpMode drawOpMode) argument
H A DDisplayListCanvas.h213 virtual void drawGlyphs(const uint16_t* glyphs, const float* positions, int count,
H A DRecordingCanvas.h195 virtual void drawGlyphs(const uint16_t* text, const float* positions, int count,
H A DBakedOpDispatcher.cpp212 op.paint, op.glyphs, op.glyphCount, textShadow.radius, op.positions);
310 op.positions, mustDirtyRenderTarget ? &layerBounds : nullptr, &functor, forceFinish);
H A DDisplayListOp.h1311 const float* positions, const SkPaint* paint, float totalAdvance, const Rect& bounds)
1313 mX(x), mY(y), mPositions(positions), mTotalAdvance(totalAdvance) {
1310 DrawTextOp(const glyph_t* text, int bytesCount, int count, float x, float y, const float* positions, const SkPaint* paint, float totalAdvance, const Rect& bounds) argument
/frameworks/minikin/libs/minikin/
H A DLayout.cpp810 hb_glyph_position_t* positions = hb_buffer_get_glyph_positions(buffer, NULL); local
819 positions[i].x_advance, positions[i].y_advance,
820 positions[i].x_offset, positions[i].y_offset);
822 info[i].codepoint, HBFixedToFloat(positions[i].x_advance),
823 positions[i].x_offset, positions[i].y_offset);
832 float xoff = HBFixedToFloat(positions[i].x_offset);
833 float yoff = -HBFixedToFloat(positions[
[all...]
/frameworks/base/core/tests/coretests/src/android/util/
H A DListScenario.java178 * Set positions as unselectable (a.k.a a separator)
180 public Params setPositionsUnselectable(int ...positions) { argument
181 for (int pos : positions) {
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/
H A DModelTest.java323 private Selection positionToSelection(int... positions) { argument
326 // Construct a selection of the given positions.
327 for (int p: positions) {
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DRecyclerViewAnimationsTest.java1550 RecyclerView.Recycler recycler, RecyclerView.State state, int... positions) {
1553 for (int position : positions) {
1656 Map<Integer, CollectPositionResult> positions
1659 for (Map.Entry<Integer, CollectPositionResult> entry : positions.entrySet()) {
1665 constraint.validate(state, positions.get(constraint.mPreLayoutPos),
1680 Map<Integer, CollectPositionResult> positions
1683 for (Map.Entry<Integer, CollectPositionResult> entry : positions.entrySet()) {
1689 constraint.validate(state, positions.get(constraint.mPostLayoutPos),
1549 collectPositions(RecyclerView recyclerView, RecyclerView.Recycler recycler, RecyclerView.State state, int... positions) argument
H A DStaggeredGridLayoutManagerTest.java106 int[] positions = mLayoutManager.findFirstCompletelyVisibleItemPositions(null);
107 MatcherAssert.assertThat(positions,
/frameworks/base/libs/hwui/hwui/
H A DCanvas.h212 * Specifies if the positions passed to ::drawText are absolute or relative
242 virtual void drawGlyphs(const uint16_t* glyphs, const float* positions, int count,
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGridLayoutManager.java2294 // focus, rather than making assumptions about positions and directionality
2582 CircularIntArray positions =
2584 firstView = findViewByPosition(positions.get(0));
2586 if (positions.size() > 2) {
2587 firstView = findViewByPosition(positions.get(2));
2599 CircularIntArray positions =
2601 lastView = findViewByPosition(positions.get(positions.size() - 1));
/frameworks/rs/api/
H A Drs_graphics.spec761 vertex data, e.g. positions, normals, texcoords
/frameworks/native/services/inputflinger/
H A DInputReader.cpp4519 // pointer positions at the same time as other pointers that have just gone up.
5029 // pointer positions at the same time as other pointers that have just gone up.
5241 VelocityTracker::Position positions[MAX_POINTERS]; local
5247 positions[count].x = pointer.x * mPointerXMovementScale;
5248 positions[count].y = pointer.y * mPointerYMovementScale;
5251 mCurrentCookedState.fingerIdBits, positions);
/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ...

Completed in 437 milliseconds

123