Home
last modified time | relevance | path

Searched refs:dest (Results 1 – 25 of 63) sorted by relevance

123

/packages/apps/Settings/tests/src/com/android/settings/bluetooth/
DUtf8ByteLengthFilterTest.java49 SpannableStringBuilder dest; in testFilter() local
57 dest = new SpannableStringBuilder("abcdefgh"); in testFilter()
58 dest.setFilters(filters); in testFilter()
60 dest.insert(1, source); in testFilter()
62 assertEquals(expectedString1, dest.toString()); in testFilter()
64 dest.replace(5, 8, source); in testFilter()
66 assertEquals(expectedString2, dest.toString()); in testFilter()
68 dest.insert(2, source); in testFilter()
69 assertEquals(expectedString2, dest.toString()); in testFilter()
71 dest.delete(1, 3); in testFilter()
[all …]
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
DProgressBar.java89 public void draw(Canvas canvas, int progress, Rect dest, int left, int width) { in draw() argument
92 dest.left = left; in draw()
93 dest.right = width; in draw()
94 canvas.drawBitmap(mProgressRightBitmap, mProgressSrcRect, dest, null); in draw()
99 dest.left = left; in draw()
100 dest.right = width; in draw()
101 canvas.drawBitmap(mProgressLeftBitmap, mProgressSrcRect, dest, null); in draw()
106 dest.right = ((width - left) * progress) / 100; in draw()
110 dest.left = left; in draw()
111 canvas.drawBitmap(mProgressLeftBitmap, mProgressSrcRect, dest, null); in draw()
[all …]
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_indexing.cpp36 void db_LeanPartitionOnPivot(double pivot,double *dest,const double *source,long first,long last,lo… in db_LeanPartitionOnPivot() argument
46 d_bottom=dest+first; in db_LeanPartitionOnPivot()
47 d_top=dest+last; in db_LeanPartitionOnPivot()
55 *first_equal=d_bottom-dest; in db_LeanPartitionOnPivot()
56 *last_equal=d_top-dest; in db_LeanPartitionOnPivot()
69 double *dest; in db_LeanQuickSelect() local
74 dest=tempA; in db_LeanQuickSelect()
79 db_LeanPartitionOnPivot(pivot,dest,source,first,last,&first_equal,&last_equal); in db_LeanQuickSelect()
93 dest=tempA; in db_LeanQuickSelect()
/packages/apps/Camera/jni/feature_stab/db_vlvm/
Ddb_utilities_indexing.cpp36 void db_LeanPartitionOnPivot(double pivot,double *dest,const double *source,long first,long last,lo… in db_LeanPartitionOnPivot() argument
46 d_bottom=dest+first; in db_LeanPartitionOnPivot()
47 d_top=dest+last; in db_LeanPartitionOnPivot()
55 *first_equal=d_bottom-dest; in db_LeanPartitionOnPivot()
56 *last_equal=d_top-dest; in db_LeanPartitionOnPivot()
69 double *dest; in db_LeanQuickSelect() local
74 dest=tempA; in db_LeanQuickSelect()
79 db_LeanPartitionOnPivot(pivot,dest,source,first,last,&first_equal,&last_equal); in db_LeanQuickSelect()
93 dest=tempA; in db_LeanQuickSelect()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactsRequest.java145 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument
146 dest.writeInt(mValid ? 1 : 0); in writeToParcel()
147 dest.writeInt(mActionCode); in writeToParcel()
148 dest.writeParcelable(mRedirectIntent, 0); in writeToParcel()
149 dest.writeCharSequence(mTitle); in writeToParcel()
150 dest.writeInt(mSearchMode ? 1 : 0); in writeToParcel()
151 dest.writeString(mQueryString); in writeToParcel()
152 dest.writeInt(mIncludeProfile ? 1 : 0); in writeToParcel()
153 dest.writeInt(mLegacyCompatibilityMode ? 1 : 0); in writeToParcel()
154 dest.writeInt(mDirectorySearchEnabled ? 1 : 0); in writeToParcel()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMtpContext.java105 File dest = Environment.getExternalStorageDirectory(); in copyFile() local
106 dest = new File(dest, BucketNames.IMPORTED); in copyFile()
107 dest.mkdirs(); in copyFile()
108 String destPath = new File(dest, objInfo.getName()).getAbsolutePath(); in copyFile()
123 File dest = Environment.getExternalStorageDirectory(); in copyAlbum() local
124 dest = new File(dest, albumName); in copyAlbum()
125 dest.mkdirs(); in copyAlbum()
130 File importedFile = new File(dest, child.getName()); in copyAlbum()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DPolicy.java457 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument
459 dest.writeLong(mId); in writeToParcel()
460 dest.writeInt(mPasswordMode); in writeToParcel()
461 dest.writeInt(mPasswordMinLength); in writeToParcel()
462 dest.writeInt(mPasswordMaxFails); in writeToParcel()
463 dest.writeInt(mPasswordHistory); in writeToParcel()
464 dest.writeInt(mPasswordExpirationDays); in writeToParcel()
465 dest.writeInt(mPasswordComplexChars); in writeToParcel()
466 dest.writeInt(mMaxScreenLockTime); in writeToParcel()
467 dest.writeInt(mRequireRemoteWipe ? 1 : 0); in writeToParcel()
[all …]
DMailbox.java603 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument
604 dest.writeParcelable(mBaseUri, flags); in writeToParcel()
605 dest.writeLong(mId); in writeToParcel()
606 dest.writeString(mDisplayName); in writeToParcel()
607 dest.writeString(mServerId); in writeToParcel()
608 dest.writeString(mParentServerId); in writeToParcel()
609 dest.writeLong(mParentKey); in writeToParcel()
610 dest.writeLong(mAccountKey); in writeToParcel()
611 dest.writeInt(mType); in writeToParcel()
612 dest.writeInt(mDelimiter); in writeToParcel()
[all …]
DAccount.java890 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument
892 dest.writeLong(mId); in writeToParcel()
893 dest.writeString(mDisplayName); in writeToParcel()
894 dest.writeString(mEmailAddress); in writeToParcel()
895 dest.writeString(mSyncKey); in writeToParcel()
896 dest.writeInt(mSyncLookback); in writeToParcel()
897 dest.writeInt(mSyncInterval); in writeToParcel()
898 dest.writeLong(mHostAuthKeyRecv); in writeToParcel()
899 dest.writeLong(mHostAuthKeySend); in writeToParcel()
900 dest.writeInt(mFlags); in writeToParcel()
[all …]
DHostAuth.java335 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument
337 dest.writeLong(mId); in writeToParcel()
338 dest.writeString(mProtocol); in writeToParcel()
339 dest.writeString(mAddress); in writeToParcel()
340 dest.writeInt(mPort); in writeToParcel()
341 dest.writeInt(mFlags); in writeToParcel()
342 dest.writeString(mLogin); in writeToParcel()
343 dest.writeString(mPassword); in writeToParcel()
344 dest.writeString(mDomain); in writeToParcel()
345 dest.writeString(mClientCertAlias); in writeToParcel()
DQuickResponse.java194 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument
196 dest.writeLong(mId); in writeToParcel()
197 dest.writeString(mText); in writeToParcel()
198 dest.writeLong(mAccountKey); in writeToParcel()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppSendFileInfo.java77 FileInputStream inputStream, int status, String dest) { in BluetoothOppSendFileInfo() argument
83 mDestAddr = dest; in BluetoothOppSendFileInfo()
89 String dest) { in BluetoothOppSendFileInfo() argument
96 mDestAddr = dest; in BluetoothOppSendFileInfo()
100 String type, String dest) { in generateFileInfo() argument
134 BluetoothShare.STATUS_FILE_ERROR, dest); in generateFileInfo()
141 BluetoothShare.STATUS_FILE_ERROR, dest); in generateFileInfo()
153 BluetoothShare.STATUS_FILE_ERROR, dest); in generateFileInfo()
157 return new BluetoothOppSendFileInfo(fileName, contentType, length, is, 0, dest); in generateFileInfo()
/packages/apps/Email/src/com/android/email/activity/setup/
DSetupData.java209 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument
210 dest.writeInt(mFlowMode); in writeToParcel()
211 dest.writeParcelable(mAccount, 0); in writeToParcel()
212 dest.writeString(mUsername); in writeToParcel()
213 dest.writeString(mPassword); in writeToParcel()
214 dest.writeInt(mCheckSettingsMode); in writeToParcel()
215 dest.writeInt(mAllowAutodiscover ? 1 : 0); in writeToParcel()
216 dest.writeParcelable(mPolicy, 0); in writeToParcel()
217 dest.writeInt(mAutoSetup ? 1 : 0); in writeToParcel()
218 dest.writeInt(mDefault ? 1 : 0); in writeToParcel()
[all …]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DSearchParams.java119 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument
120 dest.writeLong(mMailboxId); in writeToParcel()
121 dest.writeInt(mIncludeChildren ? 1 : 0); in writeToParcel()
122 dest.writeString(mFilter); in writeToParcel()
123 dest.writeInt(mLimit); in writeToParcel()
124 dest.writeInt(mOffset); in writeToParcel()
/packages/apps/Calendar/src/com/android/calendar/
DEvent.java174 public final void copyTo(Event dest) { in copyTo() argument
175 dest.id = id; in copyTo()
176 dest.title = title; in copyTo()
177 dest.color = color; in copyTo()
178 dest.location = location; in copyTo()
179 dest.allDay = allDay; in copyTo()
180 dest.startDay = startDay; in copyTo()
181 dest.endDay = endDay; in copyTo()
182 dest.startTime = startTime; in copyTo()
183 dest.endTime = endTime; in copyTo()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DBitmapScreenNail.java166 public void draw(GLCanvas canvas, RectF source, RectF dest) { in draw() argument
168 canvas.fillRect(dest.left, dest.top, dest.width(), dest.height(), in draw()
177 canvas.drawTexture(mTexture, source, dest); in draw()
/packages/apps/Camera/jni/feature_mos/src/mosaic/
DDelaunay.cpp28 #define valid(l) ccw(orig(basel), dest(l), dest(basel))
162 ans = makeEdge(dest(a), orig(b)); in connectLeft()
171 ans = makeEdge(dest(a), orig(b)); in connectRight()
522 while (ccw(orig(ldi), dest(ldi), orig(rdi))) {
525 if (ccw(dest(rdi), orig(rdi), orig(ldi))) {
538 if (dest(basel) == orig(*ldo)) {
549 while (incircle(dest(lcand), dest(t), orig(lcand), orig(basel))) {
561 while (incircle(dest(t), dest(rcand), orig(rcand), dest(basel))) {
580 (rvalid && incircle(dest(lcand), orig(lcand), orig(rcand), dest(rcand)))) {
600 nex = dest(last);
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DDelaunay.cpp28 #define valid(l) ccw(orig(basel), dest(l), dest(basel))
162 ans = makeEdge(dest(a), orig(b)); in connectLeft()
171 ans = makeEdge(dest(a), orig(b)); in connectRight()
522 while (ccw(orig(ldi), dest(ldi), orig(rdi))) {
525 if (ccw(dest(rdi), orig(rdi), orig(ldi))) {
538 if (dest(basel) == orig(*ldo)) {
549 while (incircle(dest(lcand), dest(t), orig(lcand), orig(basel))) {
561 while (incircle(dest(t), dest(rcand), orig(rcand), dest(basel))) {
580 (rvalid && incircle(dest(lcand), orig(lcand), orig(rcand), dest(rcand)))) {
600 nex = dest(last);
/packages/apps/Settings/src/com/android/settings/bluetooth/
DUtf8ByteLengthFilter.java48 Spanned dest, int dstart, int dend) { in filter() argument
55 int destLen = dest.length(); in filter()
60 char c = dest.charAt(i); in filter()
/packages/apps/Email/src/org/apache/commons/io/input/
DCharSequenceReader.java140 int dest = (int)Math.min(charSequence.length(), (idx + n)); in skip() local
141 int count = dest - idx; in skip()
142 idx = dest; in skip()
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/actions/
DDoodle.java97 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument
98 dest.writeInt(color); in writeToParcel()
99 dest.writeInt(points.size()); in writeToParcel()
101 dest.writeParcelable(point, 0); in writeToParcel()
/packages/apps/Settings/src/com/android/settings/
DBrightnessPreference.java312 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument
313 super.writeToParcel(dest, flags); in writeToParcel()
314 dest.writeInt(automatic ? 1 : 0); in writeToParcel()
315 dest.writeInt(progress); in writeToParcel()
316 dest.writeInt(oldAutomatic ? 1 : 0); in writeToParcel()
317 dest.writeInt(oldProgress); in writeToParcel()
318 dest.writeInt(curBrightness); in writeToParcel()
DPointerSpeedPreference.java161 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument
162 super.writeToParcel(dest, flags); in writeToParcel()
163 dest.writeInt(progress); in writeToParcel()
164 dest.writeInt(oldSpeed); in writeToParcel()
/packages/apps/Email/src/com/android/email/
DMessageListContext.java169 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument
170 dest.writeLong(mAccountId); in writeToParcel()
171 dest.writeLong(mMailboxId); in writeToParcel()
172 dest.writeParcelable(mSearchParams, flags); in writeToParcel()
/packages/apps/Contacts/src/com/android/contacts/editor/
DViewIdGenerator.java109 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument
110 dest.writeInt(mNextId); in writeToParcel()
111 dest.writeBundle(mIdMap); in writeToParcel()

123