Home
last modified time | relevance | path

Searched refs:scratch (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/opengl/java/android/opengl/
DGLU.java75 float[] scratch = sScratch; in gluLookAt() local
76 synchronized(scratch) { in gluLookAt()
77 Matrix.setLookAtM(scratch, 0, eyeX, eyeY, eyeZ, centerX, centerY, centerZ, in gluLookAt()
79 gl.glMultMatrixf(scratch, 0); in gluLookAt()
150 float[] scratch = sScratch; in gluProject() local
151 synchronized(scratch) { in gluProject()
155 Matrix.multiplyMM(scratch, M_OFFSET, project, projectOffset, in gluProject()
158 scratch[V_OFFSET + 0] = objX; in gluProject()
159 scratch[V_OFFSET + 1] = objY; in gluProject()
160 scratch[V_OFFSET + 2] = objZ; in gluProject()
[all …]
/frameworks/native/services/sensorservice/
DSensorEventConnection.cpp292 sensors_event_t* scratch, in sendEvents() argument
300 if (scratch) { in sendEvents()
345 scratch[count++] = buffer[i]; in sendEvents()
351 scratch[count++] = buffer[i]; in sendEvents()
362 scratch = const_cast<sensors_event_t *>(buffer); in sendEvents()
366 scratch = sanitizedBuffer.get(); in sendEvents()
369 scratch[count++] = buffer[i++]; in sendEvents()
387 appendEventsToCacheLocked(scratch, count); in sendEvents()
393 index_wake_up_event = findWakeUpSensorEventLocked(scratch, count); in sendEvents()
395 scratch[index_wake_up_event].flags |= WAKE_UP_SENSOR_EVENT_NEEDS_ACK; in sendEvents()
[all …]
DSensorEventConnection.h56 status_t sendEvents(sensors_event_t const* buffer, size_t count, sensors_event_t* scratch,
90 void countFlushCompleteEventsLocked(sensors_event_t const* scratch, int numEventsDropped);
96 int findWakeUpSensorEventLocked(sensors_event_t const* scratch, int count);
113 void reAllocateCacheLocked(sensors_event_t const* scratch, int count);
/frameworks/base/tools/bit/
Dadb.cpp182 skip_bytes(int fd, ssize_t size, char* scratch, int scratchSize) in skip_bytes() argument
187 amt = read(fd, scratch, amt); in skip_bytes()
202 skip_unknown_field(int fd, uint64_t tag, char* scratch, int scratchSize) { in skip_unknown_field() argument
217 return skip_bytes(fd, 8, scratch, scratchSize); in skip_unknown_field()
229 return skip_bytes(fd, (ssize_t)size, scratch, scratchSize); in skip_unknown_field()
231 return skip_bytes(fd, 4, scratch, scratchSize); in skip_unknown_field()
239 read_instrumentation_results(int fd, char* scratch, int scratchSize, in read_instrumentation_results() argument
267 err = skip_unknown_field(fd, tag, scratch, scratchSize); in read_instrumentation_results()
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
DBasicGLRenderer.java47 float[] scratch = new float[16]; in onDrawFrame() local
59 Matrix.multiplyMM(scratch, 0, mMVPMatrix, 0, mRotationMatrix, 0); in onDrawFrame()
/frameworks/base/startop/view_compiler/
Ddex_builder.cc481 std::array<Value, kMaxArgs> scratch = GetScratchRegisters<kMaxArgs>(); in EncodeInvoke() local
502 EncodeMove(Instruction::OpWithArgs(move_op, scratch[i], instruction.args()[i])); in EncodeInvoke()
508 RegisterValue(scratch[0])); in EncodeInvoke()
/frameworks/proto_logging/stats/
Datoms.proto9980 // When Android was booted "from scratch".