/frameworks/av/media/libnbaio/ |
H A D | SourceAudioBufferProvider.cpp | 48 status_t SourceAudioBufferProvider::getNextBuffer(Buffer *buffer, int64_t pts) argument 68 ssize_t actual = mSource->read(mAllocated, buffer->frameCount, pts);
|
/frameworks/base/core/java/android/gesture/ |
H A D | GestureStroke.java | 88 private GestureStroke(RectF bbx, float len, float[] pts, long[] times) { argument 91 points = pts.clone(); 162 final float[] pts = GestureUtils.temporalSampling(this, numSample); 165 GestureUtils.translate(pts, -rect.left, -rect.top); 170 GestureUtils.scale(pts, scale, scale); 177 final int count = pts.length; 180 float x = pts[i]; 181 float y = pts[i + 1]; 202 final float[] pts = points; 211 out.writeFloat(pts[ [all...] |
/frameworks/av/media/libmedia/ |
H A D | IAudioTrack.cpp | 137 int64_t pts) { 141 data.writeInt64(pts); 252 uint64_t pts = data.readInt64(); local 253 reply->writeInt32(queueTimedBuffer(buffer, pts)); 136 queueTimedBuffer(const sp<IMemory>& buffer, int64_t pts) argument
|
H A D | AudioTrack.cpp | 1496 int64_t pts) 1498 status_t status = mAudioTrack->queueTimedBuffer(buffer, pts); 1495 queueTimedBuffer(const sp<IMemory>& buffer, int64_t pts) argument
|
/frameworks/base/libs/hwui/ |
H A D | DrawProfiler.cpp | 213 float pts[4]; local 214 pts[0] = 0.0f; 215 pts[1] = pts[3] = canvas->getViewportHeight() - (FRAME_THRESHOLD * mVerticalUnit); 216 pts[2] = canvas->getViewportWidth(); 217 canvas->drawLines(pts, 4, &paint);
|
H A D | ShadowTessellator.cpp | 216 SkPoint pts[4]; local 220 while (SkPath::kDone_Verb != (v = iter.next(pts))) { 223 arrayForDirection.add((Vector2){pts[0].x(), pts[0].y()}); 226 arrayForDirection.add((Vector2){pts[1].x(), pts[1].y()}); 229 arrayForDirection.add((Vector2){pts[1].x(), pts[1].y()}); 230 arrayForDirection.add((Vector2){pts[2].x(), pts[ [all...] |
H A D | SkiaShader.cpp | 303 static void toUnitMatrix(const SkPoint pts[2], SkMatrix* matrix) { argument 304 SkVector vec = pts[1] - pts[0]; 309 matrix->setSinCos(-vec.fY, vec.fX, pts[0].fX, pts[0].fY); 310 matrix->postTranslate(-pts[0].fX, -pts[0].fY);
|
H A D | PathTessellator.cpp | 570 2 + 4 + 6 + 2 + 3 * (2 * middlePts) = 14 + 6 * middlePts = 2 + 6 * pts 575 = 2 + 6 * pts + 6 * roundDivs 924 SkPoint pts[4]; local 926 while (SkPath::kDone_Verb != (v = iter.next(pts))) { 929 pushToVector(outputVertices, pts[0].x(), pts[0].y()); 930 ALOGV("Move to pos %f %f", pts[0].x(), pts[0].y()); 933 ALOGV("Close at pos %f %f", pts[0].x(), pts[ [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Shader.cpp | 93 SkPoint pts[2]; local 94 pts[0].set(x0, y0); 95 pts[1].set(x1, y1); 107 SkShader* shader = SkGradientShader::CreateLinear(pts, 120 SkPoint pts[2]; local 121 pts[0].set(x0, y0); 122 pts[1].set(x1, y1); 128 SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL, 2, (SkShader::TileMode)tileMode);
|
H A D | SkiaCanvas.cpp | 488 SkPoint* pts = storage.get(); local 490 pts[i].set(points[0], points[1]); 493 mCanvas->drawPoints(mode, count, pts, paint);
|
/frameworks/av/services/audioflinger/ |
H A D | FastMixer.cpp | 398 int64_t pts; local 399 if (outputSink == NULL || (OK != outputSink->getNextWriteTimestamp(&pts))) { 400 pts = AudioBufferProvider::kInvalidPTS; 404 mixer->process(pts);
|
H A D | PlaybackTracks.h | 87 int64_t pts = kInvalidPTS); 182 TimedBuffer(const sp<IMemory>& buffer, int64_t pts); 184 int64_t pts() const { return mPTS; } function in class:TimedTrack::TimedBuffer 198 int64_t pts); 205 int64_t pts); 310 int64_t pts);
|
H A D | AudioMixer.cpp | 123 int64_t pts) 126 // this, pBuffer, pBuffer->frameCount, pts); 128 status_t res = mTrackBufferProvider->getNextBuffer(pBuffer, pts); 136 status_t res = mTrackBufferProvider->getNextBuffer(&mBuffer, pts); 1042 void AudioMixer::process(int64_t pts) argument 1044 mState.hook(&mState, pts); 1048 void AudioMixer::process__validate(state_t* state, int64_t pts) argument 1177 state->hook(state, pts); 1502 void AudioMixer::process__nop(state_t* state, int64_t pts) argument 1537 t3, pts, stat 122 getNextBuffer(AudioBufferProvider::Buffer *pBuffer, int64_t pts) argument 1549 process__genericNoResampling(state_t* state, int64_t pts) argument 1657 process__genericResampling(state_t* state, int64_t pts) argument 1727 process__OneTrack16BitsStereoNoResampling(state_t* state, int64_t pts) argument 1971 process_NoResampleOneTrack(state_t* state, int64_t pts) argument [all...] |
H A D | Tracks.cpp | 323 int64_t pts) { 334 return tt->queueTimedBuffer(buffer, pts); 596 AudioBufferProvider::Buffer* buffer, int64_t pts __unused) 1259 bufEnd = mTimedBufferQueue[trimEnd + 1].pts(); 1278 bufEnd += mTimedBufferQueue[trimEnd].pts(); 1337 const sp<IMemory>& buffer, int64_t pts) { 1349 mTimedBufferQueue.add(TimedBuffer(buffer, pts)); 1378 AudioBufferProvider::Buffer* buffer, int64_t pts) 1380 if (pts == AudioBufferProvider::kInvalidPTS) { 1418 if (!mMediaTimeTransform.doForwardTransform(head.pts(), 322 queueTimedBuffer(const sp<IMemory>& buffer, int64_t pts) argument 1336 queueTimedBuffer( const sp<IMemory>& buffer, int64_t pts) argument 1377 getNextBuffer( AudioBufferProvider::Buffer* buffer, int64_t pts) argument 1644 TimedBuffer( const sp<IMemory>& buffer, int64_t pts) argument 1897 getNextBuffer( AudioBufferProvider::Buffer* buffer, int64_t pts) argument 2177 getNextBuffer( AudioBufferProvider::Buffer* buffer, int64_t pts) argument [all...] |
H A D | Threads.cpp | 3107 int64_t pts; local 3111 status = mNormalSink->getNextWriteTimestamp(&pts); 3113 status = mOutputSink->getNextWriteTimestamp(&pts); 3117 pts = AudioBufferProvider::kInvalidPTS; 3121 mAudioMixer->process(pts); 6000 AudioBufferProvider::Buffer* buffer, int64_t pts __unused)
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Matrix_Delegate.java | 887 * @param pts The array [x0, y0, x1, y1, ...] of points to transform. 890 private void mapPoints(float[] pts) { argument 891 mapPoints(pts, 0, pts, 0, pts.length >> 1);
|
H A D | Canvas_Delegate.java | 533 /*package*/ static void native_drawPoints(long nativeCanvas, float[] pts, int offset, int count, argument 555 final float[] pts, final int offset, final int count, 562 graphics.drawLine((int) pts[i + offset], (int) pts[i + offset + 1], 563 (int) pts[i + offset + 2], (int) pts[i + offset + 3]); 554 native_drawLines(long nativeCanvas, final float[] pts, final int offset, final int count, long nativePaint) argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Matrix.java | 700 * @param pts The array [x0, y0, x1, y1, ...] of points to transform. 702 public void mapPoints(float[] pts) { argument 703 mapPoints(pts, 0, pts, 0, pts.length >> 1);
|
H A D | Canvas.java | 1039 * specified by pts[], and its diameter is specified by the paint's stroke 1046 * @param pts Array of points to draw [x0 y0 x1 y1 x2 y2 ...] 1053 public void drawPoints(float[] pts, int offset, int count, @NonNull Paint paint) { argument 1054 native_drawPoints(mNativeCanvasWrapper, pts, offset, count, paint.mNativePaint); 1060 public void drawPoints(@NonNull float[] pts, @NonNull Paint paint) { argument 1061 drawPoints(pts, 0, pts.length, paint); 1090 * in the pts array. Thus to draw 1 line, the array must contain at least 4 1092 * drawLine(pts[0], pts[ 1103 drawLines(float[] pts, int offset, int count, Paint paint) argument 1107 drawLines(@onNull float[] pts, @NonNull Paint paint) argument 2022 native_drawPoints(long canvasHandle, float[] pts, int offset, int count, long paintHandle) argument 2028 native_drawLines(long canvasHandle, float[] pts, int offset, int count, long paintHandle) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | GLES20Canvas.java | 762 public void drawLines(float[] pts, int offset, int count, Paint paint) { argument 765 if ((offset | count) < 0 || offset + count > pts.length) { 768 nDrawLines(mRenderer, pts, offset, count, paint.mNativePaint); 775 public void drawLines(float[] pts, Paint paint) { argument 776 drawLines(pts, 0, pts.length, paint); 823 public void drawPoints(float[] pts, Paint paint) { argument 824 drawPoints(pts, 0, pts.length, paint); 828 public void drawPoints(float[] pts, in argument [all...] |