Home
last modified time | relevance | path

Searched refs:scratch (Results 1 – 19 of 19) 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/
DSensorService.cpp1203 sensors_event_t* scratch, in sendEvents() argument
1208 if (scratch) { in sendEvents()
1253 scratch[count++] = buffer[i]; in sendEvents()
1258 scratch[count++] = buffer[i++]; in sendEvents()
1266 scratch = const_cast<sensors_event_t *>(buffer); in sendEvents()
1283 memcpy(&mEventCache[mCacheSize], scratch, count * sizeof(sensors_event_t)); in sendEvents()
1289 reAllocateCacheLocked(scratch, count); in sendEvents()
1295 memcpy(&mEventCache[mCacheSize], scratch, in sendEvents()
1305 memcpy(&mEventCache[mCacheSize - numEventsDropped], scratch + remaningCacheSize, in sendEvents()
1311 int index_wake_up_event = findWakeUpSensorEventLocked(scratch, count); in sendEvents()
[all …]
DSensorService.h89 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);
175 sensors_event_t* scratch,
/frameworks/base/core/jni/
Dandroid_hardware_SensorManager.cpp135 jobject receiverObject, jfloatArray scratch) { in Receiver() argument
140 mScratch = (jfloatArray)env->NewGlobalRef(scratch); in Receiver()
221 …nitSensorEventQueue(JNIEnv *env, jclass clazz, jobject eventQ, jobject msgQ, jfloatArray scratch) { in nativeInitSensorEventQueue() argument
231 sp<Receiver> receiver = new Receiver(queue, messageQueue, eventQ, scratch); in nativeInitSensorEventQueue()
/frameworks/base/docs/html/training/graphics/opengl/
Dmotion.jd55 float[] scratch = new float[16];
67 Matrix.multiplyMM(scratch, 0, mMVPMatrix, 0, mRotationMatrix, 0);
70 mTriangle.draw(scratch);
Dtouch.jd142 float[] scratch = new float[16];
152 Matrix.multiplyMM(scratch, 0, mMVPMatrix, 0, mRotationMatrix, 0);
155 mTriangle.draw(scratch);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
DomxVCM4P2_MCReconBlock_s.s106 M_LOAD_X $pSrc, $srcStep, $out0, $out1, $scratch, $offset
111 LDM $pSrc, {$out0, $out1, $scratch}
117 ORR $out1, $out1, $scratch, LSL #(32 - 8 * ($offset))
/frameworks/base/libs/hwui/
DFontRenderer.cpp776 uint8_t* scratch = new uint8_t[width * height]; in blurImage() local
777 Blur::horizontal(gaussian, intRadius, *image, scratch, width, height); in blurImage()
778 Blur::vertical(gaussian, intRadius, scratch, *image, width, height); in blurImage()
781 delete[] scratch; in blurImage()
/frameworks/base/docs/html/training/tv/playback/
Dindex.jd36 Building such an experience from scratch, while making sure that it is fast, fluid, and attractive
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java226 float[] scratch); in nativeInitBaseEventQueue() argument
/frameworks/base/docs/html/training/multiple-apks/
Dtexture.jd105 <p>Whether you’re modifying an existing Android application or starting one from scratch, this is
130 <p>If, on the other hand, you’re creating the application from scratch, try as
Dapi.jd145 <p>Whether you’re modifying an existing Android application or starting one from scratch, this is
171 <p>If, on the other hand, you’re creating the application from scratch, try as
Dscreensize.jd122 <p>Whether you’re modifying an existing Android application or starting one from scratch, this is
149 <p>If, on the other hand, you’re creating the application from scratch, try as
Dmultiple.jd174 <p>Whether you’re modifying an existing Android application or starting one from scratch, this is
199 <p>If, on the other hand, you’re creating the application from scratch, try as
/frameworks/base/docs/html/design/wear/
Dstructure.jd66 …es for Android notifications. But you can also make your own layout from scratch with an <a href="…
/frameworks/base/docs/html/tools/devices/
Dmanaging-avds.jd94 <p>Or, to start from scratch, click <strong>New Hardware Profile</strong>.</p>
/frameworks/base/docs/html/training/sync-adapters/
Dcreating-sync-adapter.jd101 scratch, just as you use {@link android.app.Activity#onCreate Activity.onCreate()} to set up an
/frameworks/base/docs/html/google/play/billing/
Dbilling_integrate.jd82 in Eclipse. If you are creating a new Android project from scratch, click
/frameworks/base/docs/html/training/articles/
Dsmp.jd1545 <p>While this document does more than merely scratch the surface, it doesn’t