Home
last modified time | relevance | path

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

123

/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/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/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/Camera2/src/com/android/camera/crop/
DCropActivity.java449 Bitmap tmp = Bitmap.createBitmap(ret, 0, 0, ret.getWidth(), in doInBackground() local
451 if (tmp != null) { in doInBackground()
452 ret = tmp; in doInBackground()
523 Bitmap tmp = Bitmap.createBitmap((int) returnRect.width(), in doInBackground() local
525 if (tmp != null) { in doInBackground()
526 Canvas c = new Canvas(tmp); in doInBackground()
528 crop = tmp; in doInBackground()
533 Bitmap tmp = Bitmap.createBitmap(crop, 0, 0, crop.getWidth(), in doInBackground() local
535 if (tmp != null) { in doInBackground()
536 crop = tmp; in doInBackground()
/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/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/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()
2662 StringBuilder tmp = new StringBuilder(); in toString() local
2663 tmp.append("["); in toString()
2665 tmp.append(obj[i].toString()); in toString()
2667 tmp.append(","); in toString()
2670 tmp.append("]"); in toString()
2671 return tmp.toString(); in toString()
2774 StringBuilder tmp = new StringBuilder(); in expandShardNames() local
2776 tmp.append(prefix).append(shard).append(suffix); in expandShardNames()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/
DStringUtil.java730 String tmp = FANCY_SINGLE_QUOTE.replaceFrom(str, '\''); in replaceSmartQuotes() local
731 return FANCY_DOUBLE_QUOTE.replaceFrom(tmp, '"'); in replaceSmartQuotes()
2661 StringBuilder tmp = new StringBuilder(); in toString() local
2662 tmp.append("["); in toString()
2664 tmp.append(obj[i].toString()); in toString()
2666 tmp.append(","); in toString()
2669 tmp.append("]"); in toString()
2670 return tmp.toString(); in toString()
2773 StringBuilder tmp = new StringBuilder(); in expandShardNames() local
2775 tmp.append(prefix).append(shard).append(suffix); in expandShardNames()
[all …]
/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/Camera2/jni/feature_mos/src/mosaic/
DMosaic.cpp257 double tmp[3][3]; in balanceRotations() local
260 memcpy(tmp, frames[i]->trs, sizeof(tmp)); in balanceRotations()
261 mult33d(frames[i]->trs, m, tmp); in balanceRotations()
/packages/apps/Camera/jni/feature_mos/src/mosaic/
DMosaic.cpp257 double tmp[3][3]; in balanceRotations() local
260 memcpy(tmp, frames[i]->trs, sizeof(tmp)); in balanceRotations()
261 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/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/apps/ContactsCommon/src/com/android/contacts/common/vcard/
DVCardService.java487 int tmp; in getAppropriateDestination() local
488 for (fileIndexDigit = 0, tmp = mFileIndexMaximum; tmp > 0; in getAppropriateDestination()
489 fileIndexDigit++, tmp /= 10) { in getAppropriateDestination()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_nodes_cache.h160 DicNodePriorityQueue *tmp = *dest; in moveNodesAndReturnReusableEmptyQueue() local
163 tmp->clearAndResize(srcMaxSize); in moveNodesAndReturnReusableEmptyQueue()
164 return tmp; in moveNodesAndReturnReusableEmptyQueue()
/packages/apps/Settings/src/com/android/settings/
DChooseLockPassword.java411 CharSequence tmp = mPasswordEntry.getText(); in handleNext() local
412 if (tmp != null) { in handleNext()
413 Selection.setSelection((Spannable) tmp, 0, tmp.length()); in handleNext()
DSettingsLicenseActivity.java81 char[] tmp = new char[2048]; in run() local
90 while ((numRead = inputReader.read(tmp)) >= 0) { in run()
91 data.append(tmp, 0, numRead); in run()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapSmsPdu.java241 … int tmp = data[offset+2] & 0xff; // Skip the subParam ID and length, and read the first byte. in cdmaChangeToDeliverPdu() local
243 tmp &= 0x0f; in cdmaChangeToDeliverPdu()
245 tmp |= ((BearerData.MESSAGE_TYPE_DELIVER << 4) & 0xf0); in cdmaChangeToDeliverPdu()
247 data[offset+2] = (byte) tmp; in cdmaChangeToDeliverPdu()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerReceiver.java382 TimerObj tmp = i.next(); in getNextRunningTimer() local
383 if (tmp.mState == TimerObj.STATE_RUNNING) { in getNextRunningTimer()
384 long timesupTime = tmp.getTimesupTime(); in getNextRunningTimer()
389 t = tmp; in getNextRunningTimer()
/packages/apps/Gallery/src/com/android/camera/
DImageViewTouchBase.java387 Matrix tmp = new Matrix(mSuppMatrix); in zoomOut() local
388 tmp.postScale(1F / rate, 1F / rate, cx, cy); in zoomOut()
390 if (getScale(tmp) < 1F) { in zoomOut()
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
DImageViewTouchBase.java457 Matrix tmp = new Matrix(mSuppMatrix); in zoomOut() local
458 tmp.postScale(1F / rate, 1F / rate, cx, cy); in zoomOut()
460 if (getValue(tmp, Matrix.MSCALE_X) < 1F) { in zoomOut()

123