Home
last modified time | relevance | path

Searched refs:xs (Results 1 – 17 of 17) sorted by relevance

/frameworks/compile/mclinker/include/mcld/ADT/
Dilist_sort.h22 void sort(llvm::iplist<T, Alloc>& xs, size_t size, Comparator is_less_than) { in sort() argument
26 assert(xs.size() == size && "Incorrect list size argument"); in sort()
35 iterator first = xs.begin(); in sort()
36 iterator second = xs.begin(); in sort()
39 xs.splice(first, xs, second); in sort()
47 iterator mid_iter(xs.begin()); in sort()
51 ys.splice(ys.begin(), xs, mid_iter, xs.end()); in sort()
54 sort(xs, mid, is_less_than); in sort()
58 iterator xs_it = xs.begin(); in sort()
59 iterator xs_end = xs.end(); in sort()
[all …]
/frameworks/base/services/core/java/com/android/server/display/utils/
DPlog.java80 public Plog logCurve(String name, float[] xs, float[] ys) { in logCurve() argument
81 write(formatCurve(name, xs, ys)); in logCurve()
93 private String formatCurve(String name, float[] xs, float[] ys) { in formatCurve() argument
96 int n = xs.length <= ys.length ? xs.length : ys.length; in formatCurve()
98 sb.append("(" + xs[i] + "," + ys[i] + "),"); in formatCurve()
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
DQuad.java76 List<Float> xs = Arrays.asList(p0.x, p1.x, p2.x, p3.x); in boundingBox() local
78 float x0 = Collections.min(xs); in boundingBox()
80 float x1 = Collections.max(xs); in boundingBox()
86 List<Float> xs = Arrays.asList(p0.x, p1.x, p2.x, p3.x); in getBoundingWidth() local
87 return Collections.max(xs) - Collections.min(xs); in getBoundingWidth()
/frameworks/base/rs/java/android/renderscript/
DMatrix3f.java130 float xs = x * s; in loadRotate() local
138 mMat[7] = yz*nc - xs; in loadRotate()
140 mMat[5] = yz*nc + xs; in loadRotate()
DMatrix4f.java175 float xs = x * s; in loadRotate() local
183 mMat[ 9] = yz*nc - xs; in loadRotate()
185 mMat[ 6] = yz*nc + xs; in loadRotate()
/frameworks/rs/support/java/src/androidx/renderscript/
DMatrix3f.java133 float xs = x * s; in loadRotate() local
141 mMat[7] = yz*nc - xs; in loadRotate()
143 mMat[5] = yz*nc + xs; in loadRotate()
DMatrix4f.java176 float xs = x * s; in loadRotate() local
184 mMat[ 9] = yz*nc - xs; in loadRotate()
186 mMat[ 6] = yz*nc + xs; in loadRotate()
/frameworks/base/libs/hwui/
DRecordingCanvas.cpp354 DrawImageLattice(sk_sp<const SkImage>&& image, int xs, int ys, int fs, const SkIRect& src, in DrawImageLattice()
357 , xs(xs) in DrawImageLattice()
368 int xs, ys, fs; member
374 auto xdivs = pod<int>(this, 0), ydivs = pod<int>(this, xs * sizeof(int)); in draw()
375 auto colors = (0 == fs) ? nullptr : pod<SkColor>(this, (xs + ys) * sizeof(int)); in draw()
378 this, (xs + ys) * sizeof(int) + fs * sizeof(SkColor)); in draw()
379 c->drawImageLattice(image.get(), {xdivs, ydivs, flags, xs, ys, &src, colors}, dst, &paint); in draw()
629 int xs = lattice.fXCount, ys = lattice.fYCount; in drawImageLattice() local
630 int fs = lattice.fRectTypes ? (xs + 1) * (ys + 1) : 0; in drawImageLattice()
631 size_t bytes = (xs + ys) * sizeof(int) + fs * sizeof(SkCanvas::Lattice::RectType) + in drawImageLattice()
[all …]
DMatrix.cpp360 const float xs = x * s; in loadRotate() local
369 data[9] = yz * nc - xs; in loadRotate()
371 data[6] = yz * nc + xs; in loadRotate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPathInterpolatorBuilder.java114 private PathInterpolator(float[] xs, float[] ys) { in PathInterpolator() argument
115 mX = xs; in PathInterpolator()
/frameworks/rs/
DrsMatrix4x4.cpp224 const float xs = x * s; in loadRotate() local
232 m[ 9] = yz*nc - xs; in loadRotate()
234 m[ 6] = yz*nc + xs; in loadRotate()
/frameworks/ml/nn/tools/systrace_parser/parser/
Daggregate.py163 def max_ignoring_nans(xs): argument
164 return max(map(nan_to_zero, xs))
/frameworks/base/media/mca/filterfw/native/core/
Dshader_program.cpp514 const float xs = 1.0f / static_cast<float>(tile_x_count_); in DrawTiled() local
526 GetTileCoords(source_coords_, x + xs, y, &s[2], &s[3]); in DrawTiled()
528 GetTileCoords(source_coords_, x + xs, y + ys, &s[6], &s[7]); in DrawTiled()
532 GetTileCoords(target_coords_, x + xs, y, &t[2], &t[3]); in DrawTiled()
534 GetTileCoords(target_coords_, x + xs, y + ys, &t[6], &t[7]); in DrawTiled()
/frameworks/base/opengl/java/android/opengl/
DMatrix.java622 float xs = x * s; in setRotateM() local
630 rm[rmOffset + 9] = yz*nc - xs; in setRotateM()
632 rm[rmOffset + 6] = yz*nc + xs; in setRotateM()
/frameworks/native/libs/math/include/math/
DTMatHelpers.h514 T xs = x * s; in rotate() local
518 r[0][1] = xy*nc + zs; r[1][1] = y*y*nc + c; r[2][1] = yz*nc - xs; in rotate()
519 r[0][2] = zx*nc - ys; r[1][2] = yz*nc + xs; r[2][2] = z*z*nc + c; in rotate()
/frameworks/native/opengl/libagl/
Dmatrix.cpp369 const GLfloat xs = x * s; in rotate() local
373 r[ 1] = xy*nc + zs; r[ 5] = y*y*nc + c; r[ 9] = yz*nc - xs; in rotate()
374 r[ 2] = zx*nc - ys; r[ 6] = yz*nc + xs; r[10] = z*z*nc + c; in rotate()
/frameworks/base/core/java/android/widget/
DGridLayout.java958 int[] xs = mHorizontalAxis.locations; in onDebugDraw() local
959 if (xs != null) { in onDebugDraw()
960 for (int i = 0, length = xs.length; i < length; i++) { in onDebugDraw()
961 int x = left + xs[i]; in onDebugDraw()