Searched refs:temp (Results 1 - 25 of 227) sorted by last modified time

12345678910

/frameworks/wilhelm/src/
H A Ddevices.c234 SLmilliHertz *temp = (SLmilliHertz *) malloc(sizeof(SLmilliHertz) *
236 assert(NULL != temp);
237 memcpy(temp, pDescriptor->pSampleRatesSupported, sizeof(SLmilliHertz) *
239 pDescriptor->pSampleRatesSupported = temp;
/frameworks/wilhelm/src/itf/
H A DIPlay.c166 SLmillisecond temp; local
169 result = android_audioPlayer_getDuration(thiz, &temp);
172 result = android_Player_getDuration(thiz, &temp);
179 duration = temp;
/frameworks/wilhelm/tools/permute/
H A Dpermute.c234 Segment temp = s.mSegmentArray[i]; local
236 s.mSegmentArray[j] = temp;
/frameworks/native/opengl/tests/gralloc/
H A Dgralloc.cpp43 void* temp = malloc(size); local
45 memset(temp, 0, size);
73 memcpy(temp, temp2, size);
79 memcpy(temp, vaddr, size);
85 memcpy(vaddr, temp, size);
92 lamecpy(temp, temp2, size);
98 lamecpy(temp, vaddr, size);
104 lamecpy(vaddr, temp, size);
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp429 const Layer::State& temp(currentState());
431 const bool sizeChanged = (temp.requested.w != front.requested.w) ||
432 (temp.requested.h != front.requested.h);
443 temp.active.w, temp.active.h,
444 temp.active.crop.left,
445 temp.active.crop.top,
446 temp.active.crop.right,
447 temp.active.crop.bottom,
448 temp
[all...]
H A DLayerBase.cpp202 const Layer::State& temp(currentState());
209 editTemp.active = temp.requested;
212 if (front.active != temp.active) {
217 if (temp.sequence != front.sequence) {
223 const uint8_t type = temp.transform.getType();
224 mNeedsFiltering = (!temp.transform.preserveRects() ||
/frameworks/rs/
H A DrsComponent.cpp256 uint8_t temp = stream->loadU8(); local
257 mNormalized = temp != 0;
H A DrsMatrix2x2.cpp59 float temp = m[1]; local
61 m[2] = temp;
H A DrsMatrix3x3.cpp67 float temp; local
70 temp = get(i, j);
72 set(j, i, temp);
H A DrsMatrix4x4.cpp121 float temp; local
124 temp = m[i*4 + j];
126 m[j*4 + i] = temp;
/frameworks/ex/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java2332 for (final RecipientChip temp : originalRecipients) {
2334 if (RecipientEntry.isCreatedRecipient(temp.getEntry().getContactId())
2335 && getSpannable().getSpanStart(temp) != -1) {
2337 entry = createValidatedEntry(entries.get(tokenizeAddress(temp.getEntry()
2343 replacements.add(temp);
2396 for (final RecipientChip temp : originalRecipients) {
2397 if (RecipientEntry.isCreatedRecipient(temp.getEntry().getContactId())
2398 && getSpannable().getSpanStart(temp) != -1) {
2401 .get(tokenizeAddress(temp.getEntry().getDestination()).toLowerCase()));
2406 replaceChip(temp, entr
[all...]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DLearning_StochasticLinearRanker.java76 ArrayList<StringFloat> temp = (ArrayList<StringFloat>)sample;
77 String[] keys = new String[temp.size()];
78 float[] values = new float[temp.size()];
79 for (int i = 0; i < temp.size(); i++){
80 keys[i] = temp.get(i).key;
81 values[i] = temp.get(i).value;
89 ArrayList<StringFloat> temp = (ArrayList<StringFloat>)sample;
91 for (int i = 0; i < temp.size(); i++)
92 weights.put(temp.get(i).key, temp
[all...]
/frameworks/native/libs/gui/
H A DSurface.cpp364 ARect temp; local
367 temp = inOutDirtyRegion->getBounds();
368 inOutDirtyBounds = &temp;
383 inOutDirtyRegion->set( static_cast<Rect const&>(temp) );
/frameworks/native/libs/utils/
H A DThreads.cpp78 int temp; local
79 if (sscanf(buf, "%d", &temp) == 1) {
80 gDoSchedulingGroup = temp == 0;
H A DVectorImpl.cpp173 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/native/opengl/libs/EGL/
H A Degl_object.cpp114 String8 temp("GL_EXT_debug_marker ");
115 temp.append(gl_extensions);
116 gl_extensions.setTo(temp);
/frameworks/native/opengl/libs/ETC1/
H A Detc1.cpp447 etc_compressed temp; local
448 temp.score = 0;
449 temp.high = originalHigh | (i << 5);
450 temp.low = 0;
451 etc_encode_subblock_helper(pIn, inMask, &temp, flipped, false,
453 take_best(pCompressed, &temp);
458 etc_compressed temp; local
459 temp.score = firstHalf.score;
460 temp.high = firstHalf.high | (i << 2);
461 temp
[all...]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsBackupAgent.java794 char[] temp = new char[1024];
796 while ((size = br.read(temp)) > 0) {
797 bw.write(temp, 0, size);
/frameworks/base/services/input/
H A DInputReader.cpp82 T temp = a; local
84 b = temp;
132 float temp; local
135 temp = *deltaX;
137 *deltaY = -temp;
146 temp = *deltaX;
148 *deltaY = temp;
H A DPointerController.cpp340 float temp; local
345 temp = x;
347 y = temp;
354 temp = x;
356 y = mLocked.displayHeight - temp;
363 temp = x;
365 y = mLocked.displayWidth - temp;
372 temp = x;
374 y = temp;
/frameworks/base/services/java/com/android/server/
H A DBackupManagerService.java960 RandomAccessFile temp = null;
964 temp = new RandomAccessFile(tempProcessedFile, "rws");
973 temp.writeUTF(pkg);
989 try { if (temp != null) temp.close(); } catch (IOException e) {}
H A DDropBoxManagerService.java176 File temp = null;
204 temp = new File(mDropBoxDir, "drop" + Thread.currentThread().getId() + ".tmp");
208 FileOutputStream foutput = new FileOutputStream(temp);
233 long len = temp.length();
235 Slog.w(TAG, "Dropping: " + tag + " (" + temp.length() + " > " + max + " bytes)");
236 temp.delete();
237 temp = null; // Pass temp = null to createEntry() to leave a tombstone
242 long time = createEntry(temp, tag, flags);
243 temp
484 EntryFile(File temp, File dir, String tag,long timestampMillis, int flags, int blockSize) argument
640 createEntry(File temp, String tag, int flags) argument
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DBatteryStatsService.java432 int temp, int volt) {
434 mStats.setBatteryState(status, health, plugType, level, temp, volt);
431 setBatteryState(int status, int health, int plugType, int level, int temp, int volt) argument
/frameworks/base/services/java/com/android/server/pm/
H A DPackageManagerService.java6227 abstract int copyApk(IMediaContainerService imcs, boolean temp) throws RemoteException; argument
6332 int copyApk(IMediaContainerService imcs, boolean temp) throws RemoteException { argument
6333 if (temp) {
6334 // Generate temp file name
6603 int copyApk(IMediaContainerService imcs, boolean temp) throws RemoteException { argument
6604 if (temp) {
7395 Slog.e(TAG, "Couldn't create temp file for downloaded package file.");
7403 Slog.e(TAG, "Trouble getting the canoncical path for a temp file.");
/frameworks/base/services/sensorservice/
H A Dtraits.h58 enum { temp = IndexOf<Tail, T>::value }; enumerator in enum:android::TL::IndexOf::__anon1169
60 enum { value = temp == -1 ? -1 : 1 + temp };

Completed in 1203 milliseconds

12345678910