Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 25 of 55) sorted by relevance

123

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DColorSpaceMatrix.java84 float[] tmp = c.mMatrix; in xRotateMatrix() local
86 tmp[5] = rc; in xRotateMatrix()
87 tmp[6] = rs; in xRotateMatrix()
88 tmp[9] = -rs; in xRotateMatrix()
89 tmp[10] = rc; in xRotateMatrix()
91 multiply(tmp); in xRotateMatrix()
97 float[] tmp = c.mMatrix; in yRotateMatrix() local
99 tmp[0] = rc; in yRotateMatrix()
100 tmp[2] = -rs; in yRotateMatrix()
101 tmp[8] = rs; in yRotateMatrix()
[all …]
/packages/apps/Gallery2/jni/filters/
Dedge.c61 float tmp = 0.0f; in JNIFUNCF() local
62 tmp += *(ptr + (loc - row_stride + 4 + l)); in JNIFUNCF()
63 tmp += *(ptr + (loc + 4 + l)) * 2.0f; in JNIFUNCF()
64 tmp += *(ptr + (loc + row_stride + 4 + l)); in JNIFUNCF()
65 tmp -= *(ptr + (loc - row_stride - 4 + l)); in JNIFUNCF()
66 tmp -= *(ptr + (loc - 4 + l)) * 2.0f; in JNIFUNCF()
67 tmp -= *(ptr + (loc + row_stride - 4 + l)); in JNIFUNCF()
68 if (fabs(tmp) > fabs(bestx)) { in JNIFUNCF()
69 bestx = tmp; in JNIFUNCF()
75 float tmp = 0.0f; in JNIFUNCF() local
[all …]
Dkmeans.h146 N tmp[pop_size]; in calculateNewCentroids() local
152 tmp[x] = 0; in calculateNewCentroids()
158 add<T, N>(values + x, tmp + best, dimension); in calculateNewCentroids()
167 divide<N, int>(tmp + x, popularities[x / stride], dimension); in calculateNewCentroids()
169 if ((dst + x)[y] != (T) ((tmp + x)[y])) { in calculateNewCentroids()
173 set(dst + x, tmp + x, dimension); in calculateNewCentroids()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransferActivity.java262 String tmp; in customizeViewContent() local
267 tmp = getString(R.string.download_line1, mTransInfo.mDeviceName); in customizeViewContent()
268 mLine1View.setText(tmp); in customizeViewContent()
270 tmp = getString(R.string.download_line2, mTransInfo.mFileName); in customizeViewContent()
271 mLine2View.setText(tmp); in customizeViewContent()
273 tmp = getString(R.string.download_line3, Formatter.formatFileSize(this, in customizeViewContent()
275 mLine3View.setText(tmp); in customizeViewContent()
278 tmp = getString(R.string.download_line5); in customizeViewContent()
280 tmp = getString(R.string.download_succ_line5); in customizeViewContent()
282 mLine5View.setText(tmp); in customizeViewContent()
[all …]
/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculatorExpr.java888 CR tmp = pow(base, exp.shiftRight(1)); in pow() local
889 return tmp.multiply(tmp); in pow()
905 final EvalRet tmp = evalUnary(i, ec); in evalSuffix() local
906 int cpos = tmp.pos; in evalSuffix()
907 CR crVal = tmp.val; in evalSuffix()
908 BoundedRational ratVal = tmp.ratVal; in evalSuffix()
976 EvalRet tmp = evalFactor(cpos, ec); in evalSignedFactor() local
977 cpos = tmp.pos; in evalSignedFactor()
978 CR crVal = negative ? tmp.val.negate() : tmp.val; in evalSignedFactor()
979 BoundedRational ratVal = negative ? BoundedRational.negate(tmp.ratVal) in evalSignedFactor()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageStraighten.java206 private void updateCurrentCrop(Matrix m, GeometryHolder h, RectF tmp, int imageWidth, in updateCurrentCrop() argument
208 tmp.set(0, 0, imageHeight, imageWidth); in updateCurrentCrop()
209 m.mapRect(tmp); in updateCurrentCrop()
210 float top = tmp.top; in updateCurrentCrop()
211 float bottom = tmp.bottom; in updateCurrentCrop()
212 float left = tmp.left; in updateCurrentCrop()
213 float right = tmp.right; in updateCurrentCrop()
214 m.mapRect(tmp); in updateCurrentCrop()
217 tmp.set(0, 0, imageHeight, imageWidth); in updateCurrentCrop()
221 tmp.set(0, 0, imageWidth, imageHeight); in updateCurrentCrop()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DCalendarController.java837 String tmp = "Unknown"; in eventInfoToString() local
841 tmp = "Go to time/event"; in eventInfoToString()
843 tmp = "New event"; in eventInfoToString()
845 tmp = "View event"; in eventInfoToString()
847 tmp = "View details"; in eventInfoToString()
849 tmp = "Edit event"; in eventInfoToString()
851 tmp = "Delete event"; in eventInfoToString()
853 tmp = "Launch select visible calendars"; in eventInfoToString()
855 tmp = "Launch settings"; in eventInfoToString()
857 tmp = "Refresh events"; in eventInfoToString()
[all …]
/packages/apps/Test/connectivity/sl4n/utils/
Dcommand_receiver.cpp62 rapidjson::Value tmp; in bluetooth_binder_get_local_name_wrapper() local
63 tmp.SetString(name.c_str(), doc.GetAllocator()); in bluetooth_binder_get_local_name_wrapper()
64 doc.AddMember(sl4n::kResultStr, tmp, doc.GetAllocator()); in bluetooth_binder_get_local_name_wrapper()
126 rapidjson::Value tmp; in bluetooth_binder_get_local_address_wrapper() local
127 tmp.SetString(address.c_str(), doc.GetAllocator()); in bluetooth_binder_get_local_address_wrapper()
128 doc.AddMember(sl4n::kResultStr, tmp, doc.GetAllocator()); in bluetooth_binder_get_local_address_wrapper()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropActivity.java452 Bitmap tmp = Bitmap.createBitmap(ret, 0, 0, ret.getWidth(), in doInBackground() local
454 if (tmp != null) { in doInBackground()
455 ret = tmp; in doInBackground()
526 Bitmap tmp = Bitmap.createBitmap((int) returnRect.width(), in doInBackground() local
528 if (tmp != null) { in doInBackground()
529 Canvas c = new Canvas(tmp); in doInBackground()
531 crop = tmp; in doInBackground()
536 Bitmap tmp = Bitmap.createBitmap(crop, 0, 0, crop.getWidth(), in doInBackground() local
538 if (tmp != null) { in doInBackground()
539 crop = tmp; in doInBackground()
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DMosaic.cpp244 double tmp[3][3]; in balanceRotations() local
247 memcpy(tmp, frames[i]->trs, sizeof(tmp)); in balanceRotations()
248 mult33d(frames[i]->trs, m, tmp); in balanceRotations()
/packages/apps/Gallery2/jni_jpegstream/src/
Dstream_wrapper.cpp52 jbyteArray tmp = env->NewByteArray(getBufferSize()); in init() local
53 if (tmp == NULL || env->ExceptionCheck()){ in init()
57 mByteArray = reinterpret_cast<jbyteArray>(env->NewGlobalRef(tmp)); in init()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DComposingText.java84 String tmp = ""; in debugout() local
87 tmp += "(" + ss.string + "," + ss.from + "," + ss.to + ")"; in debugout()
89 Log.d("OpenWnn", " str = "+tmp); in debugout()
285 StrSegment tmp = new StrSegment(str.string, pos, pos); in insertStrSegment() local
287 strLayer.add(mCursor[i], tmp); in insertStrSegment()
414 StrSegment[] tmp = new StrSegment[] { in deleteStrSegment() local
417 replaceStrSegment0(lv, tmp, fromL[lv], fromL[lv]); in deleteStrSegment()
DOpenWnnEN.java865 String tmp = mComposingText.toString(layer); in commitText() local
867 if (mOptLearning && mConverter != null && tmp.length() > 0) { in commitText()
868 WnnWord word = new WnnWord(tmp, tmp); in commitText()
872 mInputConnection.commitText(tmp, (FIX_CURSOR_TEXT_END ? 1 : tmp.length())); in commitText()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/
DUnboundedFifoByteBuffer.java124 byte[] tmp = new byte[((buffer.length - 1) * 2) + 1]; in add()
128 tmp[j] = buffer[i]; in add()
138 buffer = tmp; in add()
/packages/services/Telephony/src/org/apache/james/mime4j/decoder/
DUnboundedFifoByteBuffer.java124 byte[] tmp = new byte[((buffer.length - 1) * 2) + 1]; in add()
128 tmp[j] = buffer[i]; in add()
138 buffer = tmp; in add()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_nodes_cache.h150 DicNodePriorityQueue *tmp = *dest; in moveNodesAndReturnReusableEmptyQueue() local
153 tmp->clearAndResize(srcMaxSize); in moveNodesAndReturnReusableEmptyQueue()
154 return tmp; in moveNodesAndReturnReusableEmptyQueue()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
Dswap.h29 T tmp = a; in Swap() local
31 b = tmp; in Swap()
Ddtoa.h85 uint64_t tmp = (static_cast<uint64_t>(p1) << -one.e) + p2; in DigitGen() local
86 if (tmp <= delta) { in DigitGen()
88 … GrisuRound(buffer, *len, delta, tmp, static_cast<uint64_t>(kPow10[kappa]) << -one.e, wp_w.f); in DigitGen()
Ddiyfp.h90 uint64_t tmp = (bd >> 32) + (ad & M32) + (bc & M32);
91 tmp += 1U << 31; /// mult_round
92 return DiyFp(ac + (ad >> 32) + (bc >> 32) + (tmp >> 32), e + rhs.e + 64);
/packages/apps/Browser2/
Drun_startup_time_test.sh14 adb push $TMPFILE /data/local/tmp/file.html
37 adb shell rm /data/local/tmp/file.html
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/
DCountingOutputStream.java149 long tmp = this.count; in resetByteCount() local
151 return tmp; in resetByteCount()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/
DCountingInputStream.java170 long tmp = this.count; in resetByteCount() local
172 return tmp; in resetByteCount()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/
DSimpleContentHandler.java81 Header tmp = currHeader; in endHeader() local
83 headers(tmp); in endHeader()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DCachedInputStream.java44 private final byte[] tmp = new byte[1]; // tmp buffer used in read() field in CachedInputStream
98 int r = read(tmp, 0, 1); in read()
102 return tmp[0] & 0xFF; in read()
/packages/providers/MediaProvider/tools/genfiles/
Dgenfiles.sh47 MKDIRS=/tmp/mkdirs$$
48 CPFILES=/tmp/cpfiles$$

123