Home
last modified time | relevance | path

Searched refs:temp (Results 1 – 25 of 87) sorted by relevance

1234

/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_rob_image_homography.cpp114 double back,Jf_dx[18],f[2],temp,temp2; in db_RobImageHomography_Jacobians() local
130 temp=Jf_dx[0]; temp2=Jf_dx[9]; in db_RobImageHomography_Jacobians()
131 JtJ[0]+=temp*Jf_dx[0]+temp2*Jf_dx[9]; in db_RobImageHomography_Jacobians()
132 JtJ[1]+=temp*Jf_dx[1]+temp2*Jf_dx[10]; in db_RobImageHomography_Jacobians()
133 JtJ[2]+=temp*Jf_dx[2]+temp2*Jf_dx[11]; in db_RobImageHomography_Jacobians()
134 JtJ[3]+=temp*Jf_dx[3]+temp2*Jf_dx[12]; in db_RobImageHomography_Jacobians()
135 JtJ[4]+=temp*Jf_dx[4]+temp2*Jf_dx[13]; in db_RobImageHomography_Jacobians()
136 JtJ[5]+=temp*Jf_dx[5]+temp2*Jf_dx[14]; in db_RobImageHomography_Jacobians()
137 JtJ[6]+=temp*Jf_dx[6]+temp2*Jf_dx[15]; in db_RobImageHomography_Jacobians()
138 JtJ[7]+=temp*Jf_dx[7]+temp2*Jf_dx[16]; in db_RobImageHomography_Jacobians()
[all …]
Ddb_utilities_linalg.cpp33 double s,temp; in db_CholeskyDecomp6x6() local
39 temp=db_SafeReciprocal(d[0]); in db_CholeskyDecomp6x6()
40 A[6]=A[1]*temp; in db_CholeskyDecomp6x6()
41 A[12]=A[2]*temp; in db_CholeskyDecomp6x6()
42 A[18]=A[3]*temp; in db_CholeskyDecomp6x6()
43 A[24]=A[4]*temp; in db_CholeskyDecomp6x6()
44 A[30]=A[5]*temp; in db_CholeskyDecomp6x6()
48 temp=db_SafeReciprocal(d[1]); in db_CholeskyDecomp6x6()
49 A[13]=(A[8]-A[6]*A[12])*temp; in db_CholeskyDecomp6x6()
50 A[19]=(A[9]-A[6]*A[18])*temp; in db_CholeskyDecomp6x6()
[all …]
Ddb_utilities_linalg.h152 double temp; in db_Swap7() local
153temp= *A; *A++ = *B; *B++ =temp; temp= *A; *A++ = *B; *B++ =temp; temp= *A; *A++ = *B; *B++ … in db_Swap7()
154temp= *A; *A++ = *B; *B++ =temp; temp= *A; *A++ = *B; *B++ =temp; temp= *A; *A++ = *B; *B++ … in db_Swap7()
155 temp= *A; *A++ = *B; *B++ =temp; in db_Swap7()
164 double temp; in db_Swap9() local
165temp= *A; *A++ = *B; *B++ =temp; temp= *A; *A++ = *B; *B++ =temp; temp= *A; *A++ = *B; *B++ … in db_Swap9()
166temp= *A; *A++ = *B; *B++ =temp; temp= *A; *A++ = *B; *B++ =temp; temp= *A; *A++ = *B; *B++ … in db_Swap9()
167temp= *A; *A++ = *B; *B++ =temp; temp= *A; *A++ = *B; *B++ =temp; temp= *A; *A++ = *B; *B++ … in db_Swap9()
214 double temp; in db_OrthogonalizationSwap7() local
217 temp=ss[0]; ss[0]=ss[i]; ss[i]=temp; in db_OrthogonalizationSwap7()
[all …]
Ddb_utilities_geometry.h55 const double *temp; in db_PointCentroid2D() local
60 temp= *X++; in db_PointCentroid2D()
61 cx+=temp[0]; in db_PointCentroid2D()
62 cy+=temp[1]; in db_PointCentroid2D()
101 const double *temp; in db_PointCentroid3D() local
106 temp= *X++; in db_PointCentroid3D()
107 cx+=temp[0]; in db_PointCentroid3D()
108 cy+=temp[1]; in db_PointCentroid3D()
109 cz+=temp[2]; in db_PointCentroid3D()
Ddb_utilities_indexing.cpp38 double temp; in db_LeanPartitionOnPivot() local
51 temp= *(s_point++); in db_LeanPartitionOnPivot()
52 if(temp<pivot) *(d_bottom++)=temp; in db_LeanPartitionOnPivot()
53 else if(temp>pivot) *(d_top--)=temp; in db_LeanPartitionOnPivot()
59 double db_LeanQuickSelect(const double *s,long nr_elements,long pos,double *temp) in db_LeanQuickSelect() argument
71 tempA=temp; in db_LeanQuickSelect()
72 tempB=temp+nr_elements; in db_LeanQuickSelect()
Ddb_utilities_random.h77 int temp,temp2,i,j; in db_RandomSample() local
81 temp=db_RandomInt(r_seed,pool_size-1-i); in db_RandomSample()
85 if(s[j]<=temp) temp++; in db_RandomSample()
89 temp2=temp; in db_RandomSample()
90 temp=s[j]; in db_RandomSample()
94 s[i]=temp; in db_RandomSample()
Ddb_framestitching.cpp87 double *temp,*temp_p; in db_StitchSimilarity3DRaw() local
104 temp= *X++; in db_StitchSimilarity3DRaw()
106 r[0]=(*temp++)-c[0]; in db_StitchSimilarity3DRaw()
107 r[1]=(*temp++)-c[1]; in db_StitchSimilarity3DRaw()
108 r[2]=(*temp++)-c[2]; in db_StitchSimilarity3DRaw()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/
DDownloadsDeletionTypeTest.java58 File temp = new File(mDownloadsDirectory, "temp"); in testInitializeWithUncheckedFiles() local
61 filePaths[0] = temp.getPath(); in testInitializeWithUncheckedFiles()
65 assertThat(mDeletion.isChecked(temp)).isFalse(); in testInitializeWithUncheckedFiles()
71 File temp = new File(mDownloadsDirectory, "temp"); in testFetchDownloads() local
74 result.files.add(temp); in testFetchDownloads()
80 assertThat(fileSet.contains(temp)).isTrue(); in testFetchDownloads()
86 File temp = new File(mDownloadsDirectory, "temp"); in testSetChecked() local
88 result.files.add(temp); in testSetChecked()
93 assertThat(mDeletion.isChecked(temp)).isTrue(); in testSetChecked()
94 mDeletion.setFileChecked(temp, false); in testSetChecked()
[all …]
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DPduParser.java966 int temp = pduDataStream.read(); in parseUnsignedInt() local
967 if (temp == -1) { in parseUnsignedInt()
968 return temp; in parseUnsignedInt()
971 while((temp & 0x80) != 0) { in parseUnsignedInt()
973 result |= temp & 0x7F; in parseUnsignedInt()
974 temp = pduDataStream.read(); in parseUnsignedInt()
975 if (temp == -1) { in parseUnsignedInt()
976 return temp; in parseUnsignedInt()
981 result |= temp & 0x7F; in parseUnsignedInt()
1002 int temp = pduDataStream.read(); in parseValueLength() local
[all …]
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduParser.java1000 int temp = pduDataStream.read(); in parseUnsignedInt() local
1001 if (temp == -1) { in parseUnsignedInt()
1002 return temp; in parseUnsignedInt()
1005 while ((temp & 0x80) != 0) { in parseUnsignedInt()
1007 result |= temp & 0x7F; in parseUnsignedInt()
1008 temp = pduDataStream.read(); in parseUnsignedInt()
1009 if (temp == -1) { in parseUnsignedInt()
1010 return temp; in parseUnsignedInt()
1015 result |= temp & 0x7F; in parseUnsignedInt()
1036 int temp = pduDataStream.read(); in parseValueLength() local
[all …]
DPduComposer.java265 long temp = longInt; in appendLongInteger() local
268 for (size = 0; (temp != 0) && (size < LONG_INTEGER_LENGTH_MAX); size++) { in appendLongInteger()
269 temp = (temp >>> 8); in appendLongInteger()
383 long temp = value >>> (i * 7); in appendUintvarInteger() local
384 temp = temp & 0x7f; in appendUintvarInteger()
386 append((int) ((temp | 0x80) & 0xff)); in appendUintvarInteger()
463 EncodedStringValue temp = null; in appendAddressType() local
467 temp = EncodedStringValue.copy(address); in appendAddressType()
470 temp.appendTextString(STRING_PHONE_NUMBER_ADDRESS_TYPE.getBytes()); in appendAddressType()
473 temp.appendTextString(STRING_IPV4_ADDRESS_TYPE.getBytes()); in appendAddressType()
[all …]
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DDelaunay.cpp132 EdgePointer temp, ans; in makeEdge() local
133 temp = allocEdge(); in makeEdge()
134 ans = temp; in makeEdge()
136 onext(temp) = ans; in makeEdge()
137 orig(temp) = origin; in makeEdge()
138 onext(++temp) = (EdgePointer) (ans + 3); in makeEdge()
139 onext(++temp) = (EdgePointer) (ans + 2); in makeEdge()
140 orig(temp) = destination; in makeEdge()
141 onext(++temp) = (EdgePointer) (ans + 1); in makeEdge()
148 EdgePointer alpha, beta, temp; in splice() local
[all …]
/packages/apps/Car/Hvac/src/com/android/car/hvac/
DHvacPolicy.java51 public float userToHardwareTemp(int temp) { in userToHardwareTemp() argument
53 return fahrenheitToCelsius(temp); in userToHardwareTemp()
57 return celsiusToFahrenheit(temp); in userToHardwareTemp()
60 return temp; in userToHardwareTemp()
63 public int hardwareToUserTemp(float temp) { in hardwareToUserTemp() argument
65 return (int) celsiusToFahrenheit(temp); in hardwareToUserTemp()
69 return (int) fahrenheitToCelsius(temp); in hardwareToUserTemp()
72 return (int) temp; in hardwareToUserTemp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/survey/
DSurveyMixinTest.java66 Activity temp = Robolectric.setupActivity(Activity.class); in onResume_triesRegisteringReceiverAndDownloadingWhenNoSurveyDetected() local
67 when(mFragment.getActivity()).thenReturn(temp); in onResume_triesRegisteringReceiverAndDownloadingWhenNoSurveyDetected()
85 Activity temp = Robolectric.setupActivity(Activity.class); in onResume_triesShowingSurveyWhenOneIsPresent() local
86 when(mFragment.getActivity()).thenReturn(temp); in onResume_triesShowingSurveyWhenOneIsPresent()
116 Activity temp = Robolectric.setupActivity(Activity.class); in onPause_removesReceiverIfPreviouslySet() local
117 when(mFragment.getActivity()).thenReturn(temp); in onPause_removesReceiverIfPreviouslySet()
119 LocalBroadcastManager manager = LocalBroadcastManager.getInstance(temp); in onPause_removesReceiverIfPreviouslySet()
137 Activity temp = Robolectric.setupActivity(Activity.class); in onPause_doesNothingWhenActivityOrReceiverNull() local
138 when(mFragment.getActivity()).thenReturn(temp); in onPause_doesNothingWhenActivityOrReceiverNull()
/packages/apps/Camera2/src/com/android/camera/data/
DLocation.java86 long temp; in hashCode() local
87 temp = Double.doubleToLongBits(mLatitude); in hashCode()
88 result = (int) (temp ^ (temp >>> 32)); in hashCode()
89 temp = Double.doubleToLongBits(mLongitude); in hashCode()
90 result = 31 * result + (int) (temp ^ (temp >>> 32)); in hashCode()
/packages/apps/Gallery2/jni/filters/
Dgeometry.c30 int temp = total - width; in flipVertical() local
32 memcpy(destination + temp - i, source + i, bytes_to_copy); in flipVertical()
44 int temp = 0; in flipHorizontal() local
46 temp = width + i - cpy_bytes; in flipHorizontal()
48 memcpy(destination + temp - j, source + i + j, cpy_bytes); in flipHorizontal()
58 char* temp = (char *) malloc(arr_len); in flip_fun() local
59 flipHorizontal(source, srcWidth, srcHeight, temp, dstWidth, dstHeight); in flip_fun()
60 flipVertical(temp, dstWidth, dstHeight, destination, dstWidth, dstHeight); in flip_fun()
61 free(temp); in flip_fun()
/packages/apps/Gallery/src/com/android/camera/
DGalleryPicker.java681 Bitmap temp = null; in makeMiniThumbBitmap() local
685 temp = image.miniThumbBitmap(); in makeMiniThumbBitmap()
688 if (temp != null) { in makeMiniThumbBitmap()
690 Bitmap newMap = temp.copy(temp.getConfig(), true); in makeMiniThumbBitmap()
700 temp.recycle(); in makeMiniThumbBitmap()
701 temp = newMap; in makeMiniThumbBitmap()
704 temp = Util.transform(m, temp, imageWidth, in makeMiniThumbBitmap()
711 if (temp != null) { in makeMiniThumbBitmap()
712 tempCanvas.drawBitmap(temp, new Matrix(), new Paint()); in makeMiniThumbBitmap()
722 if (temp != null) { in makeMiniThumbBitmap()
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Ditoatest.cpp93 char temp[10]; in u32toa_naive() local
94 char *p = temp; in u32toa_naive()
102 } while (p != temp); in u32toa_naive()
117 char temp[20]; in u64toa_naive() local
118 char *p = temp; in u64toa_naive()
126 } while (p != temp); in u64toa_naive()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/hvac/
DHvacTestFragment.java270 int temp = prop.getFirstAndOnlyAreaId(); in configureDualOn() local
277 mCarHvacManager.setBooleanProperty(CarHvacManager.ID_ZONED_DUAL_ZONE_ON,temp, in configureDualOn()
302 int temp = prop.getFirstAndOnlyAreaId(); in configureAutoModeOn() local
309 mCarHvacManager.setBooleanProperty(CarHvacManager.ID_ZONED_AUTOMATIC_MODE_ON,temp, in configureAutoModeOn()
558 int temp = prop.getFirstAndOnlyAreaId(); in configureRecircOn() local
566 temp, mTbRecirc.isChecked()); in configureRecircOn()
574 int temp = prop.getFirstAndOnlyAreaId(); in configureMaxAcOn() local
581 mCarHvacManager.setBooleanProperty(CarHvacManager.ID_ZONED_MAX_AC_ON,temp, in configureMaxAcOn()
590 int temp = prop.getFirstAndOnlyAreaId(); in configureMaxDefrostOn() local
597 mCarHvacManager.setBooleanProperty(CarHvacManager.ID_ZONED_MAX_DEFROST_ON,temp, in configureMaxDefrostOn()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DSharedPreset.java32 ImagePreset temp = mIntermediatePreset; in enqueuePreset() local
34 mProducerPreset = temp; in enqueuePreset()
42 ImagePreset temp = mConsumerPreset; in dequeuePreset() local
44 mIntermediatePreset = temp; in dequeuePreset()
/packages/apps/Car/Hvac/src/com/android/car/hvac/controllers/
DTemperatureController.java45 public void onPassengerTemperatureChange(float temp) {
46 mPassengerTempBar.setTemperature((int) temp);
50 public void onDriverTemperatureChange(float temp) {
51 mDriverTempBar.setTemperature((int) temp);
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/
DDvrDataManagerInMemoryImpl.java98 List<ScheduledRecording> temp = getNonStartedScheduledRecordings(); in getNextScheduledStartTimeAfter() local
99 Collections.sort(temp, ScheduledRecording.START_TIME_COMPARATOR); in getNextScheduledStartTimeAfter()
100 for (ScheduledRecording r : temp) { in getNextScheduledStartTimeAfter()
111 List<ScheduledRecording> temp = getScheduledRecordingsPrograms(); in getScheduledRecordings() local
113 for (ScheduledRecording r : temp) { in getScheduledRecordings()
/packages/apps/LegacyCamera/src/com/android/camera/
DIntArray.java27 int temp[] = new int[mSize + mSize]; in add() local
28 System.arraycopy(mData, 0, temp, 0, mSize); in add()
29 mData = temp; in add()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DIntArray.java27 int temp[] = new int[mSize + mSize]; in add() local
28 System.arraycopy(mData, 0, temp, 0, mSize); in add()
29 mData = temp; in add()
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DIntArray.java27 int temp[] = new int[mSize + mSize]; in add() local
28 System.arraycopy(mData, 0, temp, 0, mSize); in add()
29 mData = temp; in add()

1234