Home
last modified time | relevance | path

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

12

/packages/apps/Camera/jni/feature_stab/db_vlvm/
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_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_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_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.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_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()
Ddb_utilities_camera.h106 double temp,div; in db_DeHomogenizeImagePoint() local
108 temp=xs[2]; in db_DeHomogenizeImagePoint()
109 if(temp!=0) in db_DeHomogenizeImagePoint()
111 div=1.0/temp; in db_DeHomogenizeImagePoint()
Ddb_image_homography.cpp242 double *temp,*temp_p; in db_StitchSimilarity2DRaw() local
260 temp= *X++; in db_StitchSimilarity2DRaw()
262 r[0]=(*temp++)-c[0]; in db_StitchSimilarity2DRaw()
263 r[1]=(*temp++)-c[1]; in db_StitchSimilarity2DRaw()
/packages/apps/Camera/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/Camera/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/experimental/AndroidVendorSecurityTool/src/com/android/vending/sectool/v1/
DPostNotification.java181 String temp = null; in getAndroidId() local
185 temp = Long.toHexString(aidE); in getAndroidId()
186 if (androidId == null) androidId = temp; in getAndroidId()
193 Log.d(GoogleSecurityToolActivity.TAG, " E-aId:" + temp); in getAndroidId()
202 String temp = Secure.getString(context.getContentResolver(), Secure.ANDROID_ID); in getAndroidId() local
203 if (androidId == null) androidId = temp; in getAndroidId()
206 Log.d(GoogleSecurityToolActivity.TAG, " S-aId:" + temp); in getAndroidId()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DBoxBlurFilter.java64 int temp[] = new int[width * height]; in apply() local
65 applyOneDimension(data, temp, width, height, horizontalMode); in apply()
66 applyOneDimension(temp, data, height, width, verticalMode); in apply()
DHighlightDrawer.java47 int temp = width; in draw() local
49 height = temp; in draw()
DGridDrawer.java59 int temp = width; in draw() local
61 height = temp; in draw()
DManageCacheDrawer.java69 int temp = width; in draw() local
71 height = temp; in draw()
/packages/apps/Mms/src/com/android/mms/ui/
DLayoutSelectorAdapter.java46 IconListItem temp = new IconListItem(title, resource); in addItem() local
47 data.add(temp); in addItem()
DAttachmentTypeSelectorAdapter.java84 AttachmentListItem temp = new AttachmentListItem(title, resource, command); in addItem() local
85 data.add(temp); in addItem()
/packages/inputmethods/PinyinIME/jni/share/
Duserdict.cpp1831 static char16 temp[256], *ptemp = temp; in _get_lpis() local
1834 ptemp = temp; in _get_lpis()
1840 spl[j], ptemp, temp + sizeof(temp) - ptemp); in _get_lpis()
1844 if (ptemp < temp + sizeof(temp) - 1) { in _get_lpis()
1855 if (ptemp < temp + sizeof(temp) - 1) { in _get_lpis()
1862 if (ptemp < temp + sizeof(temp) - 1) { in _get_lpis()
1871 if (ptemp < temp + sizeof(temp) - 1) { in _get_lpis()
1878 int ret_len = utf16le_lltoa(intf, ptemp, temp + sizeof(temp) - ptemp); in _get_lpis()
1882 if (ptemp < temp + sizeof(temp) - 1) { in _get_lpis()
1889 ret_len = utf16le_lltoa(last_mod, ptemp, temp + sizeof(temp) - ptemp); in _get_lpis()
[all …]
/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/Email/emailcommon/src/com/android/emailcommon/utility/
DDelayedOperations.java91 final ArrayList<QueuedOperation> temp = new ArrayList<QueuedOperation>(mPendingOperations); in removeCallbacks() local
92 for (QueuedOperation qo : temp) { in removeCallbacks()
/packages/apps/Contacts/src/com/android/contacts/calllog/
DCallLogGroupBuilder.java110 CharArrayBuffer temp = firstNumber; // Used to swap. in addGroups() local
112 currentNumber = temp; in addGroups()
/packages/apps/Gallery/src/com/android/camera/gallery/
DImageListUber.java152 long [] temp = new long[mSkipListSize * 2]; in nextMergeSlot() local
153 System.arraycopy(mSkipList, 0, temp, 0, mSkipListSize); in nextMergeSlot()
154 mSkipList = temp; in nextMergeSlot()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DEyePosition.java122 float temp = x * x + y * y + z * z; in onAccelerometerChanged() local
123 float t = -y /temp; in onAccelerometerChanged()
130 float glength = (float) Math.sqrt(temp); in onAccelerometerChanged()

12