Home
last modified time | relevance | path

Searched refs:l (Results 1 – 25 of 168) sorted by relevance

1234567

/frameworks/base/core/tests/coretests/src/android/text/
DStaticLayoutTest.java49 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 …]
/frameworks/base/telephony/java/com/android/internal/telephony/
DCall.java121 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/base/media/libeffects/factory/
DEffectsFactory.c174 lib_entry_t *l = NULL; in EffectGetDescriptor() local
185 ret = findEffect(uuid, &l, &d); in EffectGetDescriptor()
196 lib_entry_t *l = NULL; in EffectCreate() local
221 ret = findEffect(uuid, &l, &d); in EffectCreate()
227 ret = l->createFx(uuid, sessionId, ioId, &itfe); in EffectCreate()
229 LOGW("EffectCreate() library %s: could not create fx %s, error %d", l->path, d->name, ret); in EffectCreate()
237 fx->lib = l; in EffectCreate()
246 …LOGV("EffectCreate() created entry %p with sub itfe %p in library %s", *pInterface, itfe, l->path); in EffectCreate()
391 lib_entry_t *l; in loadLibrary() local
472 l = malloc(sizeof(lib_entry_t)); in loadLibrary()
[all …]
/frameworks/base/location/java/android/location/
DLocation.java111 public Location(Location l) { in Location() argument
112 set(l); in Location()
118 public void set(Location l) { in set() argument
119 mProvider = l.mProvider; in set()
120 mTime = l.mTime; in set()
121 mLatitude = l.mLatitude; in set()
122 mLongitude = l.mLongitude; in set()
123 mHasAltitude = l.mHasAltitude; in set()
124 mAltitude = l.mAltitude; in set()
125 mHasSpeed = l.mHasSpeed; in set()
[all …]
/frameworks/base/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_stereo_proc.cpp321 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 …]
Dpvmp3_dequantize_sample.cpp214 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 …]
Dpvmp3_mpeg2_stereo_proc.cpp297 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 …]
Dpvmp3_get_scale_factors.cpp108 int32 l[5]; member
149 scalefac->l[sfb] = getNbits(pMainData, slen[0][gr_info->scalefac_compress]); in pvmp3_get_scale_factors()
188 int32 *ptr = &scalefac->l[0]; in pvmp3_get_scale_factors()
222 scalefac->l[21] = 0; in pvmp3_get_scale_factors()
223 scalefac->l[22] = 0; in pvmp3_get_scale_factors()
Dpvmp3_mpeg2_get_scale_factors.cpp149 scalefac->l[sfb] = scalefac_buffer[sfb]; in pvmp3_mpeg2_get_scale_factors()
195 scalefac->l[sfb] = scalefac_buffer[sfb]; in pvmp3_mpeg2_get_scale_factors()
197 scalefac->l[21] = 0; in pvmp3_mpeg2_get_scale_factors()
198 scalefac->l[22] = 0; in pvmp3_mpeg2_get_scale_factors()
/frameworks/base/services/audioflinger/
DAudioResamplerSinc.cpp237 int32_t l, r; in resample() local
239 filterCoefficient<CHANNELS>(l, r, phaseFraction, impulse); in resample()
240 out[outputIndex++] += 2 * mulRL(1, l, vRL); in resample()
305 int32_t& l, int32_t& r, uint32_t phase, int16_t const *samples) in filterCoefficient() argument
318 l = 0; in filterCoefficient()
324 interpolate<CHANNELS>(l, r, coefs+indexP, lerpP, sP); in filterCoefficient()
325 interpolate<CHANNELS>(l, r, coefs+indexN, lerpN, sN); in filterCoefficient()
327 interpolate<CHANNELS>(l, r, coefs+indexP, lerpP, sP); in filterCoefficient()
328 interpolate<CHANNELS>(l, r, coefs+indexN, lerpN, sN); in filterCoefficient()
330 interpolate<CHANNELS>(l, r, coefs+indexP, lerpP, sP); in filterCoefficient()
[all …]
DAudioMixer.cpp594 int32_t l; in volumeRampStereo() local
598 l = (*temp++ >> 12); in volumeRampStereo()
600 *out++ += (vl >> 16) * l; in volumeRampStereo()
602 *aux++ += (va >> 17) * (l + r); in volumeRampStereo()
629 int16_t l = (int16_t)(*temp++ >> 12); in volumeStereo() local
631 out[0] = mulAdd(l, vl, out[0]); in volumeStereo()
632 int16_t a = (int16_t)(((int32_t)l + r) >> 1); in volumeStereo()
640 int16_t l = (int16_t)(*temp++ >> 12); in volumeStereo() local
642 out[0] = mulAdd(l, vl, out[0]); in volumeStereo()
654 int32_t l; in track__16BitsStereo() local
[all …]
/frameworks/base/opengl/libagl/
Dlight.cpp223 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 …]
DTokenizer.cpp106 ssize_t l = 0; in _indexOrderOf() local
110 while (l <= h) { in _indexOrderOf()
111 mid = l + (h - l)/2; in _indexOrderOf()
117 err = l = mid; in _indexOrderOf()
120 l = mid + 1; in _indexOrderOf()
125 if (order) *order = l; in _indexOrderOf()
/frameworks/base/core/java/android/webkit/
DWebBackForwardList.java161 WebBackForwardList l = new WebBackForwardList(null); in clone() local
164 l.addHistoryItem(getCurrentItem()); in clone()
165 return l; in clone()
167 l.mCurrentIndex = mCurrentIndex; in clone()
169 l.mArray = new ArrayList<WebHistoryItem>(size); in clone()
172 l.mArray.add(mArray.get(i).clone()); in clone()
174 return l; in clone()
/frameworks/base/core/tests/coretests/src/android/util/
DBase64Test.java355 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/libs/rs/
DrsLight.cpp109 Light *l = new Light(rsc, rsc->mStateLight.mIsLocal, in rsi_LightCreate() local
111 l->incUserRef(); in rsi_LightCreate()
112 return l; in rsi_LightCreate()
117 Light *l = static_cast<Light *>(vl); in rsi_LightSetColor() local
118 l->setColor(r, g, b); in rsi_LightSetColor()
123 Light *l = static_cast<Light *>(vl); in rsi_LightSetPosition() local
124 l->setPosition(x, y, z); in rsi_LightSetPosition()
DrsMatrix.cpp137 void Matrix::loadOrtho(float l, float r, float b, float t, float n, float f) { in loadOrtho() argument
139 m[0] = 2 / (r - l); in loadOrtho()
142 m[12]= -(r + l) / (r - l); in loadOrtho()
147 void Matrix::loadFrustum(float l, float r, float b, float t, float n, float f) { in loadFrustum() argument
149 m[0] = 2 * n / (r - l); in loadFrustum()
151 m[8] = (r + l) / (r - l); in loadFrustum()
/frameworks/base/services/surfaceflinger/
DBlurFilter.cpp161 int l; member
167 l = (r + g + b + 1)>>1; in BlurGray565()
169 inline void clear() { l=0; } in clear()
171 int L = l; in to()
179 l += rhs.l; in operator +=()
183 l -= rhs.l; in operator -=()
191 int l, a; member
199 l = r + g + g + b; in BlurGray8888()
201 inline void clear() { l=a=0; } in clear()
203 int L = l; in to()
[all …]
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/
Dlp_dec2.c37 Word16 l, /* input : size of filtering */ in LP_Decim2() argument
49 mem[i] = x[l - L_MEM + i]; in LP_Decim2()
51 for (i = 0; i < l; i++) in LP_Decim2()
55 for (i = 0, j = 0; i < l; i += 2, j++) in LP_Decim2()
/frameworks/base/graphics/java/android/renderscript/
DMatrix4f.java140 public void loadOrtho(float l, float r, float b, float t, float n, float f) { in loadOrtho() argument
142 mMat[0] = 2 / (r - l); in loadOrtho()
145 mMat[12]= -(r + l) / (r - l); in loadOrtho()
150 public void loadFrustum(float l, float r, float b, float t, float n, float f) { in loadFrustum() argument
152 mMat[0] = 2 * n / (r - l); in loadFrustum()
154 mMat[8] = (r + l) / (r - l); in loadFrustum()
/frameworks/base/core/java/com/google/android/mms/pdu/
DQuotedPrintable.java54 int l = Character.digit((char) bytes[++i], 16); in decodeQuotedPrintable() local
55 if (u == -1 || l == -1) { in decodeQuotedPrintable()
58 buffer.write((char) ((u << 4) + l)); in decodeQuotedPrintable()
/frameworks/base/media/java/android/media/
DAudioManager.java1381 private String getIdForAudioFocusListener(OnAudioFocusChangeListener l) { in getIdForAudioFocusListener() argument
1382 if (l == null) { in getIdForAudioFocusListener()
1385 return new String(this.toString() + l.toString()); in getIdForAudioFocusListener()
1396 public void registerAudioFocusListener(OnAudioFocusChangeListener l) { in registerAudioFocusListener() argument
1398 if (mAudioFocusIdListenerMap.containsKey(getIdForAudioFocusListener(l))) { in registerAudioFocusListener()
1401 mAudioFocusIdListenerMap.put(getIdForAudioFocusListener(l), l); in registerAudioFocusListener() local
1410 public void unregisterAudioFocusListener(OnAudioFocusChangeListener l) { in unregisterAudioFocusListener() argument
1414 mAudioFocusIdListenerMap.remove(getIdForAudioFocusListener(l)); in unregisterAudioFocusListener()
1443 public int requestAudioFocus(OnAudioFocusChangeListener l, int streamType, int durationHint) { in requestAudioFocus() argument
1450 registerAudioFocusListener(l); in requestAudioFocus()
[all …]
/frameworks/base/media/libstagefright/codecs/aacdec/
Dcalc_sbr_envelope.cpp249 Int32 l; in calc_sbr_envelope() local
356 l = *(ptr++); in calc_sbr_envelope()
361 j = ((k + l) >> 1) - lowSubband; in calc_sbr_envelope()
362 l = k; in calc_sbr_envelope()
1071 Int32 l; in envelope_application_LC() local
1103 for (l = (frame_info[1+i] << 1); l < (frame_info[2+i] << 1); l++) in envelope_application_LC()
1105 ptrReal = (aBufR + l * SBR_NUM_BANDS); in envelope_application_LC()
1403 for (l = (frame_info[1+i] << 1); l < (frame_info[2+i] << 1); l++) in envelope_application_LC()
1405 ptrReal = (aBufR + l * SBR_NUM_BANDS); in envelope_application_LC()
1495 Int32 l; in energy_estimation_LC() local
[all …]
/frameworks/base/media/libstagefright/codecs/aacenc/src/
Dband_nrg.c80 Word32 l, r; in CalcBandEnergyMS() local
82 l = mdctSpectrumLeft[j] >> 1; in CalcBandEnergyMS()
84 specm = l + r; in CalcBandEnergyMS()
85 specs = l - r; in CalcBandEnergyMS()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DTicker.java82 StaticLayout l = getLayout(substr); in getText() local
83 int lineCount = l.getLineCount(); in getText()
85 int start = l.getLineStart(0); in getText()
86 int end = l.getLineEnd(0); in getText()
108 StaticLayout l = getLayout(substr); in advance() local
109 final int lineCount = l.getLineCount(); in advance()
112 int start = l.getLineStart(i); in advance()
113 int end = l.getLineEnd(i); in advance()
117 this.next = index + l.getLineStart(i+1); in advance()

1234567