/frameworks/base/core/tests/coretests/src/android/text/ |
D | StaticLayoutTest.java | 49 Layout l = b.build(); in testGetters1() local 50 assertVertMetrics(l, 0, 0, in testGetters1() 54 assertEquals(0, l.getLineStart(0)); in testGetters1() 55 assertEquals(Layout.DIR_LEFT_TO_RIGHT, l.getParagraphDirection(0)); in testGetters1() 56 assertEquals(false, l.getLineContainsTab(0)); in testGetters1() 57 assertEquals(Layout.DIRS_ALL_LEFT_TO_RIGHT, l.getLineDirections(0)); in testGetters1() 58 assertEquals(0, l.getEllipsisCount(0)); in testGetters1() 59 assertEquals(0, l.getEllipsisStart(0)); in testGetters1() 60 assertEquals(b.width, l.getEllipsizedWidth()); in testGetters1() 73 Layout l = b.build(); in testGetters2() local [all …]
|
D | StaticLayoutDirectionsTest.java | 130 Layout l = b.build(); in testTrailingWhitespace() local 131 if (l.getLineCount() != 2) { in testTrailingWhitespace() 132 throw new RuntimeException("expected 2 lines, got: " + l.getLineCount()); in testTrailingWhitespace() 134 Directions result = l.getLineDirections(0); in testTrailingWhitespace() 150 Layout l = b.build(); in testNextToRightOf() local 153 int t = l.getOffsetToRightOf(n); in testNextToRightOf() 166 Layout l = b.build(); in testNextToLeftOf() local 169 int t = l.getOffsetToLeftOf(n); in testNextToLeftOf() 226 private void checkDirections(Layout l, int i, String text, in checkDirections() argument 229 Directions result = l.getLineDirections(0); in checkDirections()
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
D | h264bsd_conceal.c | 270 i32 a[4], b[4], l[4], r[4]; in ConcealMb() local 368 l[0] = pData[0]; l[0] += pData[16*width]; in ConcealMb() 369 l[0] += pData[32*width]; l[0] += pData[48*width]; in ConcealMb() 371 l[1] = pData[0]; l[1] += pData[16*width]; in ConcealMb() 372 l[1] += pData[32*width]; l[1] += pData[48*width]; in ConcealMb() 374 l[2] = pData[0]; l[2] += pData[16*width]; in ConcealMb() 375 l[2] += pData[32*width]; l[2] += pData[48*width]; in ConcealMb() 377 l[3] = pData[0]; l[3] += pData[16*width]; in ConcealMb() 378 l[3] += pData[32*width]; l[3] += pData[48*width]; in ConcealMb() 381 firstPhase[0] += l[0] + l[1] + l[2] + l[3]; in ConcealMb() [all …]
|
/frameworks/av/services/camera/libcameraservice/ |
D | Camera2Client.cpp | 62 SharedParameters::Lock l(mParameters); in Camera2Client() local 63 l.mParameters.state = Parameters::DISCONNECTED; in Camera2Client() 90 SharedParameters::Lock l(mParameters); in initialize() local 92 res = l.mParameters.initialize(&(mDevice->info())); in initialize() 131 ALOGD("%s", l.mParameters.paramsFlattened.string()); in initialize() 386 SharedParameters::Lock l(mParameters); in disconnect() local 387 if (l.mParameters.state == Parameters::DISCONNECTED) return; in disconnect() 388 l.mParameters.state = Parameters::DISCONNECTED; in disconnect() 469 SharedParameters::Lock l(mParameters); in unlock() local 470 if (l.mParameters.state == Parameters::RECORD || in unlock() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | Call.java | 121 List l; in getEarliestConnection() local 126 l = getConnections(); in getEarliestConnection() 128 if (l.size() == 0) { in getEarliestConnection() 132 for (int i = 0, s = l.size() ; i < s ; i++) { in getEarliestConnection() 133 c = (Connection) l.get(i); in getEarliestConnection() 149 List l; in getEarliestCreateTime() local 152 l = getConnections(); in getEarliestCreateTime() 154 if (l.size() == 0) { in getEarliestCreateTime() 158 for (int i = 0, s = l.size() ; i < s ; i++) { in getEarliestCreateTime() 159 Connection c = (Connection) l.get(i); in getEarliestCreateTime() [all …]
|
/frameworks/av/services/camera/libcameraservice/camera2/ |
D | CaptureSequencer.cpp | 58 Mutex::Autolock l(mInputMutex); in setZslProcessor() local 65 Mutex::Autolock l(mInputMutex); in startCapture() local 81 Mutex::Autolock l(mStateMutex); in waitUntilIdle() local 97 Mutex::Autolock l(mInputMutex); in notifyAutoExposure() local 110 Mutex::Autolock l(mInputMutex); in onFrameAvailable() local 123 Mutex::Autolock l(mInputMutex); in onCaptureAvailable() local 194 Mutex::Autolock l(mStateMutex); in threadLoop() local 200 Mutex::Autolock l(mStateMutex); in threadLoop() local 220 Mutex::Autolock l(mInputMutex); in manageIdle() local 242 Mutex::Autolock l(mInputMutex); in manageDone() local [all …]
|
D | CallbackProcessor.cpp | 46 Mutex::Autolock l(mInputMutex); in onFrameAvailable() local 57 Mutex::Autolock l(mInputMutex); in updateStream() local 124 Mutex::Autolock l(mInputMutex); in deleteStream() local 143 Mutex::Autolock l(mInputMutex); in getStreamId() local 154 Mutex::Autolock l(mInputMutex); in threadLoop() local 194 SharedParameters::Lock l(client->getParameters()); in processNewCallback() local 196 if ( l.mParameters.state != Parameters::PREVIEW in processNewCallback() 197 && l.mParameters.state != Parameters::RECORD in processNewCallback() 198 && l.mParameters.state != Parameters::VIDEO_SNAPSHOT) { in processNewCallback() 205 if (! (l.mParameters.previewCallbackFlags & in processNewCallback() [all …]
|
D | FrameProcessor.cpp | 41 Mutex::Autolock l(mInputMutex); in registerListener() local 51 Mutex::Autolock l(mInputMutex); in removeListener() local 145 Mutex::Autolock l(mInputMutex); in processListeners() local 178 SharedParameters::Lock l(client->getParameters()); in processFaceDetect() local 179 enableFaceDetect = l.mParameters.enableFaceDetect; in processFaceDetect() 195 SharedParameters::Lock l(client->getParameters()); in processFaceDetect() local 205 l.mParameters.fastInfo.maxFaces) { in processFaceDetect() 208 metadata.number_of_faces, l.mParameters.fastInfo.maxFaces); in processFaceDetect() 254 face.rect[0] = l.mParameters.arrayXToNormalized(faceRects[i*4 + 0]); in processFaceDetect() 255 face.rect[1] = l.mParameters.arrayYToNormalized(faceRects[i*4 + 1]); in processFaceDetect() [all …]
|
/frameworks/av/media/libeffects/factory/ |
D | EffectsFactory.c | 241 lib_entry_t *l = NULL; in EffectGetDescriptor() local 252 ret = findEffect(NULL, uuid, &l, &d); in EffectGetDescriptor() 263 lib_entry_t *l = NULL; in EffectCreate() local 288 ret = findEffect(NULL, uuid, &l, &d); in EffectCreate() 294 ret = l->desc->create_effect(uuid, sessionId, ioId, &itfe); in EffectCreate() 296 ALOGW("EffectCreate() library %s: could not create fx %s, error %d", l->name, d->name, ret); in EffectCreate() 310 fx->lib = l; in EffectCreate() 319 … ALOGV("EffectCreate() created entry %p with sub itfe %p in library %s", *pHandle, itfe, l->name); in EffectCreate() 450 lib_entry_t *l; in loadLibrary() local 481 l = malloc(sizeof(lib_entry_t)); in loadLibrary() [all …]
|
/frameworks/compile/slang/tests/F_fs_types/ |
D | fs_types.fs | 10 long l; 21 void foo_l(long l) { 23 int i = 1l; 24 m = l; 27 void foo_ll(long long l) { 30 m = l; 33 void foo_ld(long double l) { 36 m = l;
|
/frameworks/base/location/java/android/location/ |
D | Location.java | 121 public Location(Location l) { in Location() argument 122 set(l); in Location() 128 public void set(Location l) { in set() argument 129 mProvider = l.mProvider; in set() 130 mTime = l.mTime; in set() 131 mElapsedRealtimeNanos = l.mElapsedRealtimeNanos; in set() 132 mLatitude = l.mLatitude; in set() 133 mLongitude = l.mLongitude; in set() 134 mHasAltitude = l.mHasAltitude; in set() 135 mAltitude = l.mAltitude; in set() [all …]
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_stereo_proc.cpp | 321 if (mp3_sfBandIndex[sfreq].l[4] <= sb) in pvmp3_stereo_proc() 330 while (mp3_sfBandIndex[sfreq].l[sfb] < sb) in pvmp3_stereo_proc() 338 sfbStart = mp3_sfBandIndex[sfreq].l[sfb]; in pvmp3_stereo_proc() 354 sfbStart = mp3_sfBandIndex[sfreq].l[sfbTemp]; /* = Start in 0 ... 575 */ in pvmp3_stereo_proc() 355 …sfbNo = mp3_sfBandIndex[sfreq].l[sfbTemp+1] - mp3_sfBandIndex[sfreq].l[sfbTemp]; /* No of lines to… in pvmp3_stereo_proc() 357 if (scalefac->l[sfbTemp] != 7) in pvmp3_stereo_proc() 359 pvmp3_st_intensity(xr, xl, scalefac->l[sfbTemp], sfbStart, sfbNo); in pvmp3_stereo_proc() 468 sfbStart = mp3_sfBandIndex[sfreq].l[8]; in pvmp3_stereo_proc() 573 if (mp3_sfBandIndex[sfreq].l[14] <= sb) in pvmp3_stereo_proc() 577 else if (mp3_sfBandIndex[sfreq].l[7] <= sb) in pvmp3_stereo_proc() [all …]
|
D | pvmp3_dequantize_sample.cpp | 214 next_cb_boundary = mp3_sfBandIndex[sfreq].l[1]; /* LONG blocks: 0,1,3 */ in pvmp3_dequantize_sample() 233 if (next_cb_boundary == mp3_sfBandIndex[sfreq].l[mixstart]) in pvmp3_dequantize_sample() 241 else if (ss < mp3_sfBandIndex[sfreq].l[mixstart]) in pvmp3_dequantize_sample() 243 next_cb_boundary = mp3_sfBandIndex[sfreq].l[cb+1]; in pvmp3_dequantize_sample() 257 (scalefac->l[cb] + gr_info->preflag * pretab[cb]) << 1; in pvmp3_dequantize_sample() 331 (scalefac->l[cb] + gr_info->preflag * pretab[cb]) << 1; in pvmp3_dequantize_sample() 343 if (used_freq_lines >= mp3_sfBandIndex[sfreq].l[cb+1]) in pvmp3_dequantize_sample() 350 … for (ss = mp3_sfBandIndex[sfreq].l[cb]; ss < mp3_sfBandIndex[sfreq].l[cb+1]; ss += 2) in pvmp3_dequantize_sample() 368 pv_memset(&is[ mp3_sfBandIndex[sfreq].l[cb]], in pvmp3_dequantize_sample() 370 … (mp3_sfBandIndex[sfreq].l[cb+1] - mp3_sfBandIndex[sfreq].l[cb])*sizeof(*is)); in pvmp3_dequantize_sample() [all …]
|
D | pvmp3_mpeg2_stereo_proc.cpp | 297 if (mp3_sfBandIndex[sfreq].l[4] <= sb) in pvmp3_mpeg2_stereo_proc() 306 while (mp3_sfBandIndex[sfreq].l[i] <= sb) in pvmp3_mpeg2_stereo_proc() 312 sfbNo = mp3_sfBandIndex[sfreq].l[sfbTemp]; /* number of lines to process */ in pvmp3_mpeg2_stereo_proc() 325 sfbStart = mp3_sfBandIndex[sfreq].l[sfb]; /* = Start in 0 ... 575 */ in pvmp3_mpeg2_stereo_proc() 326 …sfbNo = mp3_sfBandIndex[sfreq].l[sfb+1] - mp3_sfBandIndex[sfreq].l[sfb]; /* No of lines to process… in pvmp3_mpeg2_stereo_proc() 328 if ((uint32)(scalefac_R->l[sfb]) != scalefac_IIP_buffer[sfb]) in pvmp3_mpeg2_stereo_proc() 330 … pvmp3_st_intensity_ver2(xr, xl, io, scalefac_R->l[sfb], sfbStart, sfbNo); in pvmp3_mpeg2_stereo_proc() 466 sfbNo = mp3_sfBandIndex[sfreq].l[6]; /* number of lines to process */ in pvmp3_mpeg2_stereo_proc() 595 if (mp3_sfBandIndex[sfreq].l[14] <= sb) in pvmp3_mpeg2_stereo_proc() 599 else if (mp3_sfBandIndex[sfreq].l[7] <= sb) in pvmp3_mpeg2_stereo_proc() [all …]
|
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/ |
D | primitives.rs | 9 long longTest = 17179869184l; // 1 << 34 10 long long longlongTest = 68719476736l; // 1 << 36 16 int64_t int64_tTest = -17179869184l; // - 1 << 34 17 uint64_t uint64_tTest = 117179869184l; 28 _RS_ASSERT(longTest == 17179869185l); 29 _RS_ASSERT(longlongTest == 68719476735l); 35 _RS_ASSERT(int64_tTest == -17179869184l); 36 _RS_ASSERT(uint64_tTest == 117179869185l);
|
/frameworks/base/tests/RenderScriptTests/tests_v11/src/com/android/rs/test/ |
D | primitives.rs | 9 long longTest = 17179869184l; // 1 << 34 10 long long longlongTest = 68719476736l; // 1 << 36 16 int64_t int64_tTest = -17179869184l; // - 1 << 34 17 uint64_t uint64_tTest = 117179869184l; 28 _RS_ASSERT(longTest == 17179869185l); 29 _RS_ASSERT(longlongTest == 68719476735l); 35 _RS_ASSERT(int64_tTest == -17179869184l); 36 _RS_ASSERT(uint64_tTest == 117179869185l);
|
/frameworks/base/tests/RenderScriptTests/tests_v14/src/com/android/rs/test/ |
D | primitives.rs | 9 long longTest = 17179869184l; // 1 << 34 10 long long longlongTest = 68719476736l; // 1 << 36 16 int64_t int64_tTest = -17179869184l; // - 1 << 34 17 uint64_t uint64_tTest = 117179869184l; 28 _RS_ASSERT(longTest == 17179869185l); 29 _RS_ASSERT(longlongTest == 68719476735l); 35 _RS_ASSERT(int64_tTest == -17179869184l); 36 _RS_ASSERT(uint64_tTest == 117179869185l);
|
/frameworks/base/core/java/com/android/internal/app/ |
D | LocalePicker.java | 107 final Locale l = new Locale(language, country); in constructAdapter() local 111 Log.v(TAG, "adding initial "+ toTitleCase(l.getDisplayLanguage(l))); in constructAdapter() 114 new LocaleInfo(toTitleCase(l.getDisplayLanguage(l)), l); in constructAdapter() 133 getDisplayName(l, specialLocaleCodes, specialLocaleNames))); in constructAdapter() 138 l, specialLocaleCodes, specialLocaleNames)), l); in constructAdapter() 144 displayName = toTitleCase(l.getDisplayLanguage(l)); in constructAdapter() 149 preprocess[finalSize++] = new LocaleInfo(displayName, l); in constructAdapter() 194 Locale l, String[] specialLocaleCodes, String[] specialLocaleNames) { 195 String code = l.toString(); 203 return l.getDisplayName(l); [all …]
|
/frameworks/rs/ |
D | rsScriptGroup.cpp | 66 const Link *l = n->mOutputs[ct]; in calcOrderRecurse() local 68 if (l->mDstField.get()) { in calcOrderRecurse() 69 nt = findNode(l->mDstField->mScript); in calcOrderRecurse() 71 nt = findNode(l->mDstKernel->mScript); in calcOrderRecurse() 107 Link *l = mLinks[ct]; in calcOrder() local 109 Node *n = findNode(l->mSource->mScript); in calcOrder() 111 n->mOutputs.add(l); in calcOrder() 113 if (l->mDstKernel.get()) { in calcOrder() 115 n = findNode(l->mDstKernel->mScript); in calcOrder() 117 n->mInputs.add(l); in calcOrder() [all …]
|
/frameworks/support/renderscript/v8/rs_support/ |
D | rsScriptGroup.cpp | 66 const Link *l = n->mOutputs[ct]; in calcOrderRecurse() local 68 if (l->mDstField.get()) { in calcOrderRecurse() 69 nt = findNode(l->mDstField->mScript); in calcOrderRecurse() 71 nt = findNode(l->mDstKernel->mScript); in calcOrderRecurse() 107 Link *l = mLinks[ct]; in calcOrder() local 109 Node *n = findNode(l->mSource->mScript); in calcOrder() 111 n->mOutputs.add(l); in calcOrder() 113 if (l->mDstKernel.get()) { in calcOrder() 115 n = findNode(l->mDstKernel->mScript); in calcOrder() 117 n->mInputs.add(l); in calcOrder() [all …]
|
/frameworks/native/opengl/libagl/ |
D | light.cpp | 223 light_t& l = c->lighting.lights[i]; in validate_light_mvi() local 226 &l.objPosition, &l.position); in validate_light_mvi() 228 l.objPosition = l.position; in validate_light_mvi() 230 vnorm3(l.normalizedObjPosition.v, l.objPosition.v); in validate_light_mvi() 251 light_t& l = c->lighting.lights[i]; in validate_light() local 252 vmul3(l.implicitAmbient.v, material.ambient.v, l.ambient.v); in validate_light() 253 vmul3(l.implicitDiffuse.v, material.diffuse.v, l.diffuse.v); in validate_light() 254 vmul3(l.implicitSpecular.v, material.specular.v, l.specular.v); in validate_light() 257 l.implicitSpecular.v[3] = in validate_light() 258 l.implicitSpecular.r | in validate_light() [all …]
|
/frameworks/compile/libbcc/tests/data/ |
D | otcc.c | 12 #define l ae( macro 128 l g){ 143 l g); 156 l 1032325); 160 l 49465); 162 l 15); 163 l e+144); 164 l 192); 167 l j+131); 197 i l m); [all …]
|
/frameworks/compile/libbcc/tests/data/src/ |
D | otcc-noinclude.c | 12 #define l ae( macro 128 l g){ 143 l g); 156 l 1032325); 160 l 49465); 162 l 15); 163 l e+144); 164 l 192); 167 l j+131); 197 i l m); [all …]
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | Base64Test.java | 355 int l = writeLengths[rng.nextInt(writeLengths.length)]; in testInputStream() local 356 if (l >= 0) { in testInputStream() 357 b = b64is.read(actual, ap, l); in testInputStream() 361 for (int i = 0; i < -l; ++i) { in testInputStream() 394 int l = writeLengths[rng.nextInt(writeLengths.length)]; in testInputStream() local 395 if (l >= 0) { in testInputStream() 396 b = b64is.read(actual, ap, l); in testInputStream() 400 for (int i = 0; i < -l; ++i) { in testInputStream() 470 int l = writeLengths[rng.nextInt(writeLengths.length)]; in testOutputStream() local 471 l = Math.min(l, plain.length-p); in testOutputStream() [all …]
|
/frameworks/base/core/java/android/webkit/ |
D | WebBackForwardListClassic.java | 131 WebBackForwardListClassic l = new WebBackForwardListClassic(null); in clone() local 134 l.addHistoryItem(getCurrentItem()); in clone() 135 return l; in clone() 137 l.mCurrentIndex = mCurrentIndex; in clone() 139 l.mArray = new ArrayList<WebHistoryItemClassic>(size); in clone() 142 l.mArray.add(mArray.get(i).clone()); in clone() 144 return l; in clone()
|