Home
last modified time | relevance | path

Searched refs:q (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/base/libs/rs/
DrsNoise.cpp127 float *q; in SC_noisef2() local
158 q = g2[b00]; u = rx0 * q[0] + ry0 * q[1]; in SC_noisef2()
159 q = g2[b10]; v = rx1 * q[0] + ry0 * q[1]; in SC_noisef2()
162 q = g2[b01]; u = rx0 * q[0] + ry1 * q[1]; in SC_noisef2()
163 q = g2[b11]; v = rx1 * q[0] + ry1 * q[1]; in SC_noisef2()
174 float *q; in SC_noisef3() local
212 q = g3[b00 + bz0]; u = rx0 * q[0] + ry0 * q[1] + rz0 * q[2]; in SC_noisef3()
213 q = g3[b10 + bz0]; v = rx1 * q[0] + ry0 * q[1] + rz0 * q[2]; in SC_noisef3()
216 q = g3[b01 + bz0]; u = rx0 * q[0] + ry1 * q[1] + rz0 * q[2]; in SC_noisef3()
217 q = g3[b11 + bz0]; v = rx1 * q[0] + ry1 * q[1] + rz0 * q[2]; in SC_noisef3()
[all …]
/frameworks/base/core/jni/android/opengl/
Dpoly_clip.cpp41 #define CLIP_AND_SWAP(elem, sign, k, p, q, r) { \ argument
42 poly_clip_to_halfspace(p, q, &v->elem-(float *)v, sign, sign*k); \
43 if (q->n==0) {p1->n = 0; return POLY_CLIP_OUT;} \
44 SWAP(p, q, r); \
59 void poly_clip_to_halfspace(Poly* p, Poly* q, int index, float sign, float k) in poly_clip_to_halfspace() argument
68 q->n = 0; in poly_clip_to_halfspace()
82 wp = (float *)&q->vert[q->n].sx; in poly_clip_to_halfspace()
86 q->n++; in poly_clip_to_halfspace()
89 q->vert[q->n++] = *v; in poly_clip_to_halfspace()
112 Poly p2, *p, *q, *r; in poly_clip_to_frustum() local
[all …]
/frameworks/base/services/sensorservice/tests/
Dsensorservicetest.cpp27 sp<SensorEventQueue> q((SensorEventQueue*)data); in receiver() local
33 while ((n = q->read(buffer, 8)) > 0) { in receiver()
66 sp<SensorEventQueue> q = mgr.createEventQueue(); in main() local
67 printf("queue=%p\n", q.get()); in main()
72 q->enableSensor(accelerometer); in main()
74 q->setEventRate(accelerometer, ms2ns(10)); in main()
77 loop->addFd(q->getFd(), 0, ALOOPER_EVENT_INPUT, receiver, q.get()); in main()
/frameworks/base/media/jni/
Dandroid_media_MediaProfiles.cpp173 camcorder_quality q = static_cast<camcorder_quality>(quality); in android_media_MediaProfiles_native_get_camcorder_profile() local
174 int duration = sProfiles->getCamcorderProfileParamByName("duration", id, q); in android_media_MediaProfiles_native_get_camcorder_profile()
175 int fileFormat = sProfiles->getCamcorderProfileParamByName("file.format", id, q); in android_media_MediaProfiles_native_get_camcorder_profile()
176 int videoCodec = sProfiles->getCamcorderProfileParamByName("vid.codec", id, q); in android_media_MediaProfiles_native_get_camcorder_profile()
177 int videoBitRate = sProfiles->getCamcorderProfileParamByName("vid.bps", id, q); in android_media_MediaProfiles_native_get_camcorder_profile()
178 int videoFrameRate = sProfiles->getCamcorderProfileParamByName("vid.fps", id, q); in android_media_MediaProfiles_native_get_camcorder_profile()
179 int videoFrameWidth = sProfiles->getCamcorderProfileParamByName("vid.width", id, q); in android_media_MediaProfiles_native_get_camcorder_profile()
180 int videoFrameHeight = sProfiles->getCamcorderProfileParamByName("vid.height", id, q); in android_media_MediaProfiles_native_get_camcorder_profile()
181 int audioCodec = sProfiles->getCamcorderProfileParamByName("aud.codec", id, q); in android_media_MediaProfiles_native_get_camcorder_profile()
182 int audioBitRate = sProfiles->getCamcorderProfileParamByName("aud.bps", id, q); in android_media_MediaProfiles_native_get_camcorder_profile()
[all …]
/frameworks/base/media/libstagefright/codecs/amrwb/src/
Disp_az.cpp146 int16 q, q_sug; in Isp_Az() local
240 q = 4 - normalize_amr_wb(tmax); /* adaptive scaling enabled */ in Isp_Az()
244 q = 0; /* adaptive scaling disabled */ in Isp_Az()
248 if (q > 0) in Isp_Az()
250 q_sug = 12 + q; in Isp_Az()
267 a[0] >>= q; in Isp_Az()
272 q = 0; in Isp_Az()
285 a[m] = shr_rnd(isp[m - 1], (3 + q)); /* from Q15 to Q12 */ in Isp_Az()
Dpvamrwbdecoder_mem_funcs.h63 #define pv_memcmp(p, q, n) memcmp(p, q, n) argument
Dpvamrwbdecoder.h143 uint8 q,
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/
Disp_az.c50 Word16 q, q_sug; in Isp_Az() local
130 q = 4 - norm_l(tmax); /* adaptive scaling enabled */ in Isp_Az()
132 q = 0; /* adaptive scaling disabled */ in Isp_Az()
134 if (q > 0) in Isp_Az()
136 q_sug = (12 + q); in Isp_Az()
147 a[0] = shr(a[0], q); in Isp_Az()
152 q = 0; in Isp_Az()
162 a[m] = vo_shr_r(isp[m - 1], (3 + q)); /* from Q15 to Q12 */ in Isp_Az()
/frameworks/base/opengl/libs/ETC1/
Detc1.cpp190 etc1_byte* q = pOut + 3 * (x + 4 * y); in decode_subblock() local
191 *q++ = clamp(r + delta); in decode_subblock()
192 *q++ = clamp(g + delta); in decode_subblock()
193 *q++ = clamp(b + delta); in decode_subblock()
539 etc1_byte* q = block + (cy * 4) * 3; in etc1_encode_image() local
542 memcpy(q, p, xEnd * 3); in etc1_encode_image()
546 *q++ = convert5To8(pixel >> 11); in etc1_encode_image()
547 *q++ = convert6To8(pixel >> 5); in etc1_encode_image()
548 *q++ = convert5To8(pixel); in etc1_encode_image()
592 const etc1_byte* q = block + (cy * 4) * 3; in etc1_decode_image() local
[all …]
/frameworks/base/media/libstagefright/codecs/aacdec/
Daac_mem_funcs.h46 #define pv_memcmp(p, q, n) memcmp(p, q, n) argument
Dget_sign_bits.h89 Int q[],
/frameworks/base/media/libstagefright/codecs/mp3dec/src/
Dmp3_mem_funcs.h69 #define pv_memcmp(p, q, n) memcmp(p, q, n) argument
/frameworks/base/core/java/android/widget/
DOverScroller.java255 float q = (float) (elapsedTime) / duration; in computeScrollOffset() local
258 q = Scroller.viscousFluid(q); in computeScrollOffset()
260 q = mInterpolator.getInterpolation(q); in computeScrollOffset()
262 mScrollerX.updateScroll(q); in computeScrollOffset()
263 mScrollerY.updateScroll(q); in computeScrollOffset()
537 void updateScroll(float q) { in updateScroll() argument
538 mCurrentPosition = mStart + Math.round(q * (mFinal - mStart)); in updateScroll()
/frameworks/base/core/jni/
Dandroid_view_InputQueue.cpp292 NativeInputQueue* q = static_cast<NativeInputQueue*>(data); in handleInputChannelDisposed() local
293 q->unregisterInputChannel(env, inputChannelObj); in handleInputChannelDisposed()
297 NativeInputQueue* q = static_cast<NativeInputQueue*>(data); in handleReceiveCallback() local
305 AutoMutex _l(q->mLock); in handleReceiveCallback()
307 ssize_t connectionIndex = q->mConnectionsByReceiveFd.indexOfKey(receiveFd); in handleReceiveCallback()
314 connection = q->mConnectionsByReceiveFd.valueAt(connectionIndex); in handleReceiveCallback()
396 q->finished(env, finishedToken, false); in handleReceiveCallback()
415 q->finished(env, finishedToken, true /*ignoreSpuriousFinish*/); in handleReceiveCallback()
/frameworks/base/core/java/android/webkit/
DNetwork.java182 RequestQueue q = mRequestQueue; in requestURL() local
185 handle = q.queueSynchronousRequest(url, loader.getWebAddress(), in requestURL()
191 handle = q.queueRequest(url, loader.getWebAddress(), method, in requestURL()
/frameworks/base/media/libstagefright/codecs/avc/enc/src/
Dfindhalfpel.cpp72 int h, hmin, q, qmin; in AVCFindHalfPelMB() local
116 for (q = 0; q < 8; q++) in AVCFindHalfPelMB()
118 d = SATD_MB(encvid->qpel_cand[q], cur, dmin); in AVCFindHalfPelMB()
119 mvcost = MV_COST_S(lambda_motion, mot->x + xq[q], mot->y + yq[q], cmvx, cmvy); in AVCFindHalfPelMB()
124 qmin = q; in AVCFindHalfPelMB()
/frameworks/base/core/java/android/net/
DMailTo.java80 for (String q : queries) { in parse()
81 String[] nameval = q.split("="); in parse()
/frameworks/base/media/libstagefright/matroska/
Dmkvparser.cpp264 unsigned char* q = p + 4; in Unserialize4Float() local
268 hr = pReader->Read(pos, 1, --q); in Unserialize4Float()
271 if (q == p) in Unserialize4Float()
291 unsigned char* q = p + 8; in Unserialize8Double() local
295 const long hr = pReader->Read(pos, 1, --q); in Unserialize8Double()
298 if (q == p) in Unserialize8Double()
346 unsigned char* q = p + 2; in Unserialize2SInt() local
350 hr = pReader->Read(pos, 1, --q); in Unserialize2SInt()
353 if (q == p) in Unserialize2SInt()
1339 Cluster** q = qq; in AppendCluster() local
[all …]
/frameworks/base/tools/preload/
Dsorttable.js314 var q = list[i]; list[i] = list[i+1]; list[i+1] = q;
324 var q = list[i]; list[i] = list[i-1]; list[i-1] = q;
/frameworks/base/media/jni/soundpool/
DSoundPool.cpp496 uint8_t* q = static_cast<uint8_t*>(p->pointer()) + p->size() - 10; in doLoad() local
667 uint8_t* q = (uint8_t*) b->i8; in process() local
676 memcpy(q, p, count); in process()
677 LOGV("fill: q=%p, p=%p, mPos=%u, b->size=%u, count=%d", q, p, mPos, b->size, count); in process()
683 memset(q, 0, count); in process()
684 LOGV("fill extra: q=%p, mPos=%u, b->size=%u, count=%d", q, mPos, b->size, count); in process()
/frameworks/base/libs/ui/
DRegion.cpp293 Rect const* q = head; in flushSpan() local
294 if (p->top == q->bottom) { in flushSpan()
296 while (q != tail) { in flushSpan()
297 if ((p->left != q->left) || (p->right != q->right)) { in flushSpan()
301 p++, q++; in flushSpan()
/frameworks/base/libs/utils/
DString16.cpp84 char16_t *q = dst; in strcpy16() local
89 *q++ = ch = *p++; in strcpy16()
106 char16_t *q = dst; in strncpy16() local
112 *q++ = ch = *p++; in strncpy16()
117 *q = 0; in strncpy16()
/frameworks/base/tools/localize/
DXMLHandler.cpp288 const char* q = str.c_str() + str.length() - 1; in trim_string() local
289 while (q > p && isspace(*q)) { in trim_string()
290 q--; in trim_string()
292 q++; in trim_string()
293 return string(p, q-p); in trim_string()
/frameworks/base/docs/html/
Dsecurity_at_android_dot_com.txt16 U3Xs+lbquuVEA5x+mNnJriRnq1q1ZA8J43z0lCqT6n+q/nICuE/SjGxfp+8G/K3/
/frameworks/base/docs/html/guide/publishing/
Dpublishing.jd184 <p style="margin-left:2em"><code>market://search?q=&lt;paramtype&gt;:&lt;value&gt;</code></p>
278 <td><code>http://market.android.com/search?q=pname:&lt;package&gt;</code> or<br>
279 <code>market://search?q=pname:&lt;package&gt;</code></td>
286 <td><code>http://market.android.com/search?q=pub:&lt;Developer&nbsp;Name&gt;</code>
287 or<br> <code>market://search?q=pub:&lt;Developer Name&gt;</code></td>
294 <td><code>http://market.android.com/search?q=&lt;substring&gt;</code> or
295 <br><code>market://search?q=&lt;substring&gt;</code></td>
303 <td>Example:<p><code>http://market.android.com/search?q=world pname:com.android.hello pub:Android</…

123