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/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransferActivity.java269 String tmp; in customizeViewContent() local
274 tmp = getString(R.string.download_line1, mTransInfo.mDeviceName); in customizeViewContent()
275 mLine1View.setText(tmp); in customizeViewContent()
277 tmp = getString(R.string.download_line2, mTransInfo.mFileName); in customizeViewContent()
278 mLine2View.setText(tmp); in customizeViewContent()
280 tmp = getString(R.string.download_line3, in customizeViewContent()
282 mLine3View.setText(tmp); in customizeViewContent()
285 tmp = getString(R.string.download_line5); in customizeViewContent()
287 tmp = getString(R.string.download_succ_line5); in customizeViewContent()
289 mLine5View.setText(tmp); in customizeViewContent()
[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/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/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/Test/connectivity/sl4n/facades/test/
Dtest_facade.cpp128 rapidjson::Value tmp; in test_string_empty_return_wrapper() local
129 tmp.SetString(result.c_str(), doc.GetAllocator()); in test_string_empty_return_wrapper()
130 doc.AddMember(sl4n::kResultStr, tmp, doc.GetAllocator()); in test_string_empty_return_wrapper()
156 rapidjson::Value tmp; in test_string_max_return_wrapper() local
157 tmp.SetString(result.c_str(), doc.GetAllocator()); in test_string_max_return_wrapper()
158 doc.AddMember(sl4n::kResultStr, tmp, doc.GetAllocator()); in test_string_max_return_wrapper()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarController.java680 String tmp = "Unknown"; in eventInfoToString() local
684 tmp = "Go to time/event"; in eventInfoToString()
686 tmp = "View event"; in eventInfoToString()
688 tmp = "View details"; in eventInfoToString()
690 tmp = "Refresh events"; in eventInfoToString()
692 tmp = "Gone home"; in eventInfoToString()
694 tmp = "Update title"; in eventInfoToString()
696 builder.append(tmp); in eventInfoToString()
/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/Settings/src/com/android/settings/sim/
DSimListDialogFragment.java108 final List<SubscriptionInfo> tmp = new ArrayList<>(currentSubscriptions.size() + 1); in updateDialog() local
109 tmp.add(null); in updateDialog()
110 tmp.addAll(currentSubscriptions); in updateDialog()
111 currentSubscriptions = tmp; in updateDialog()
/packages/apps/Test/connectivity/sl4n/facades/bluetooth/
Dbt_binder_facade.cpp221 rapidjson::Value tmp; in bt_binder_get_local_name_wrapper() local
222 tmp.SetString(name.c_str(), doc.GetAllocator()); in bt_binder_get_local_name_wrapper()
223 doc.AddMember(sl4n::kResultStr, tmp, doc.GetAllocator()); in bt_binder_get_local_name_wrapper()
285 rapidjson::Value tmp; in bt_binder_get_local_address_wrapper() local
286 tmp.SetString(address.c_str(), doc.GetAllocator()); in bt_binder_get_local_address_wrapper()
287 doc.AddMember(sl4n::kResultStr, tmp, doc.GetAllocator()); in bt_binder_get_local_address_wrapper()
/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/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/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/WallpaperPicker/src/com/android/wallpaperpicker/common/
DInputStreamProvider.java210 Bitmap tmp = Bitmap.createBitmap((int) returnRect.width(), in readCroppedBitmap() local
212 if (tmp != null) { in readCroppedBitmap()
213 Canvas c = new Canvas(tmp); in readCroppedBitmap()
217 crop = tmp; in readCroppedBitmap()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DCachedInputStream.java42 private byte[] tmp = new byte[1]; // tmp buffer used in read() field in CachedInputStream
96 int r = read(tmp, 0, 1); in read()
100 return tmp[0] & 0xFF; in read()
/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/UnifiedEmail/src/com/google/android/mail/common/base/
DStringUtil.java731 String tmp = FANCY_SINGLE_QUOTE.replaceFrom(str, '\''); in replaceSmartQuotes() local
732 return FANCY_DOUBLE_QUOTE.replaceFrom(tmp, '"'); in replaceSmartQuotes()
2669 StringBuilder tmp = new StringBuilder(); in toString() local
2670 tmp.append("["); in toString()
2672 tmp.append(obj[i].toString()); in toString()
2674 tmp.append(","); in toString()
2677 tmp.append("]"); in toString()
2678 return tmp.toString(); in toString()
2781 StringBuilder tmp = new StringBuilder(); in expandShardNames() local
2783 tmp.append(prefix).append(shard).append(suffix); in expandShardNames()
[all …]
/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/Car/Settings/src/com/android/car/settings/security/
DChooseLockPinPasswordFragment.java355 CharSequence tmp = mPasswordField.getText(); in handlePrimaryButtonClick() local
356 if (tmp != null) { in handlePrimaryButtonClick()
357 Selection.setSelection((Spannable) tmp, 0, tmp.length()); in handlePrimaryButtonClick()

123