/frameworks/base/services/input/ |
H A D | PointerController.cpp | 316 int32_t temp = height; local 318 width = temp; 343 float temp; local 348 temp = x; 350 y = temp; 357 temp = x; 359 y = mLocked.displayHeight - temp; 366 temp = x; 368 y = mLocked.displayWidth - temp; 375 temp [all...] |
/frameworks/native/libs/utils/ |
H A D | VectorImpl.cpp | 173 void* temp = 0; local 180 if (!temp) { 184 temp = malloc(mItemSize); 185 if (!temp) return NO_MEMORY; 189 _do_destroy(temp, 1); 192 _do_copy(temp, item, 1); 202 } while (j>=0 && (cmp(curr, temp, state) > 0)); 205 _do_copy(next, temp, 1); 210 if (temp) { 211 _do_destroy(temp, [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | DropBoxManagerService.java | 178 File temp = null; 206 temp = new File(mDropBoxDir, "drop" + Thread.currentThread().getId() + ".tmp"); 210 FileOutputStream foutput = new FileOutputStream(temp); 235 long len = temp.length(); 237 Slog.w(TAG, "Dropping: " + tag + " (" + temp.length() + " > " + max + " bytes)"); 238 temp.delete(); 239 temp = null; // Pass temp = null to createEntry() to leave a tombstone 244 long time = createEntry(temp, tag, flags); 245 temp 486 EntryFile(File temp, File dir, String tag,long timestampMillis, int flags, int blockSize) argument 642 createEntry(File temp, String tag, int flags) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | dtx_enc.cpp | 675 Word16 temp; local 700 temp = ~((~(st->log_en_hist[i])) >> 2); 704 temp = st->log_en_hist[i] >> 2; 706 log_en = add(log_en, temp, pOverflow);
|
H A D | gain_q.cpp | 502 Word16 temp; local 551 temp = 560 temp,
|
H A D | p_ol_wgh.cpp | 598 Word16 temp; local 656 temp = pv_round(t1, pOverflow); 657 t1 = L_msu(t0, temp, 13107, pOverflow);
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | pitch_f4.c | 79 Word16 max, t0, step, temp; local 134 temp = Interpol_4(&corr[t0], i); 135 if(temp > max) 137 max = temp;
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | AutoFixFilter.java | 134 " vec4 temp = texture2D(tex_sampler_1, vec2(index, 0.5));\n" + 135 " float value = temp.g + temp.r * shift_scale;\n" + 137 " temp = texture2D(tex_sampler_2, vec2(index, 0.5));\n" + 138 " value = temp.g + temp.r * shift_scale;\n" + 208 long temp = normal_cdf[i] * precision / histDim; 209 densityTable[i] = (int) temp; 296 long temp = (256 * 256 - 1l) * histArray[i] / pixels; 297 histArray[i] = (int) temp; [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | MidiFile.cpp | 320 EAS_I32 temp; local 331 result = EAS_ParseMetaData(easData, easHandle, &temp); 345 mDuration = *duration = int(temp); 435 int temp; local 498 if ((temp = mAudioSink->write(mAudioBuffer, num_output)) < 0) { 499 ALOGE("Error in writing:%d",temp); 500 return temp;
|
/frameworks/base/core/java/android/text/format/ |
H A D | DateFormat.java | 520 int temp; 552 temp = inDate.get(Calendar.DAY_OF_WEEK); 553 replacement = DateUtils.getDayOfWeekString(temp, 560 temp = inDate.get(Calendar.HOUR); 562 if (0 == temp) 563 temp = 12; 565 replacement = zeroPad(temp, count);
|
H A D | Time.java | 671 Time temp = new Time(this); 672 temp.monthDay += sThursdayOffset[weekDay]; 673 temp.normalize(true /* ignore isDst */); 674 return temp.yearDay / 7 + 1;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | dct.cpp | 1213 Int temp = 0; local 1220 temp += (*cur++ - *pred++); 1221 temp += (*cur++ - *pred++); 1222 temp += (*cur++ - *pred++); 1223 temp += (*cur++ - *pred++); 1224 temp += (*cur++ - *pred++); 1225 temp += (*cur++ - *pred++); 1226 temp += (*cur++ - *pred++); 1227 temp += (*cur++ - *pred++); 1234 out[0] = temp >> 1250 Int temp = 0; local [all...] |
/frameworks/base/core/java/android/text/ |
H A D | BoringLayout.java | 259 char[] temp = TextUtils.obtain(500); 270 TextUtils.getChars(text, i, j, temp, 0); 275 char c = temp[a]; 283 if (textDir != null && textDir.isRtl(temp, 0, n)) { 289 TextUtils.recycle(temp);
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | sad_halfpel.cpp | 76 int temp; local 92 temp = ((p1[j] + p2[j] + p3[j] + p4[j] + 2) >> 2) - *kk++; 93 sad += AVC_ABS(temp); 117 int temp; local 131 temp = ((p1[j] + p2[j] + 1) >> 1) - *kk++; 132 sad += AVC_ABS(temp); 152 int temp; local 165 temp = ((p1[j] + p1[j+1] + 1) >> 1) - *kk++; 166 sad += AVC_ABS(temp);
|
/frameworks/av/libvideoeditor/vss/mcs/src/ |
H A D | M4MCS_API.c | 421 M4OSA_UInt32 maskedValue = 0, temp = 0; local 441 temp = (( bS->bitPos + length) - 32); 443 bS->currBuff |= (maskedValue >> (temp)); 508 bS->currBuff |= ( maskedValue &(( 1 << temp) - 1)) << (32 - temp); 510 bS->bitPos = temp; 518 M4OSA_UInt32 maskedValue = 0, temp = 0; local 530 temp = 0; 667 M4OSA_Int32 loop, temp; local 678 temp 755 M4OSA_UInt32 temp = 0; local 1308 M4OSA_UInt32 temp = 0; local 1760 M4OSA_UInt32 temp = 0; local [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | IBatteryStats.aidl | 72 void setBatteryState(int status, int health, int plugType, int level, int temp, int volt);
|
/frameworks/rs/ |
H A D | rsComponent.cpp | 256 uint8_t temp = stream->loadU8(); local 257 mNormalized = temp != 0;
|
/frameworks/support/renderscript/v8/rs_support/ |
H A D | rsComponent.cpp | 256 uint8_t temp = stream->loadU8(); local 257 mNormalized = temp != 0;
|
/frameworks/av/media/libmedia/ |
H A D | JetPlayer.cpp | 163 int temp; local 234 if ((temp = mAudioTrack->write(mAudioBuffer, num_output)) < 0) { 235 ALOGE("JetPlayer::render(): Error in writing:%d",temp); 236 return temp;
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | psy_configuration.c | 124 Word32 center_freq, temp, bvalFFTLine; local 128 temp = atan_1000((center_freq << 2) / (3*10)); 130 (26600 * atan_1000((center_freq*76) / 100) + 7*temp*temp) / (2*1000*1000 / BARC_SCALE);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | RectF.java | 527 float temp = left; 529 right = temp; 532 float temp = top; 534 bottom = temp;
|
/frameworks/wilhelm/src/itf/ |
H A D | IPlay.c | 166 SLmillisecond temp; local 169 result = android_audioPlayer_getDuration(thiz, &temp); 172 result = android_Player_getDuration(thiz, &temp); 179 duration = temp;
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_dequantize_sample.cpp | 302 int32 temp = - global_gain; local 303 if (temp < 32) 305 is[ss] = (tmp >> temp);
|
/frameworks/av/services/audioflinger/ |
H A D | AudioMixer.cpp | 763 void AudioMixer::track__genericResample(track_t* t, int32_t* out, size_t outFrameCount, int32_t* temp, int32_t* aux) argument 767 // ramp gain - resample to temp buffer and scale/mix in 2nd step 773 memset(temp, 0, outFrameCount * MAX_NUM_CHANNELS * sizeof(int32_t)); 774 t->resampler->resample(temp, outFrameCount, t->bufferProvider); 776 volumeRampStereo(t, out, outFrameCount, temp, aux); 778 volumeStereo(t, out, outFrameCount, temp, aux); 783 memset(temp, 0, outFrameCount * MAX_NUM_CHANNELS * sizeof(int32_t)); 784 t->resampler->resample(temp, outFrameCount, t->bufferProvider); 785 volumeRampStereo(t, out, outFrameCount, temp, aux); 796 void AudioMixer::track__nop(track_t* t, int32_t* out, size_t outFrameCount, int32_t* temp, int32_ argument 800 volumeRampStereo(track_t* t, int32_t* out, size_t frameCount, int32_t* temp, int32_t* aux) argument 842 volumeStereo(track_t* t, int32_t* out, size_t frameCount, int32_t* temp, int32_t* aux) argument 870 track__16BitsStereo(track_t* t, int32_t* out, size_t frameCount, int32_t* temp, int32_t* aux) argument 960 track__16BitsMono(track_t* t, int32_t* out, size_t frameCount, int32_t* temp, int32_t* aux) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | dtx_decoder_amr_wb.cpp | 926 int16 temp, temp1, i, dither_fac, rand_dith; local 945 temp = add_int16(isf[0], mult_int16_r(rand_dith, dither_fac)); 948 if (temp < ISF_GAP) 954 isf[0] = temp; 964 temp = add_int16(isf[i], mult_int16_r(rand_dith, dither_fac)); 965 temp1 = sub_int16(temp, isf[i - 1]); 974 isf[i] = temp;
|