Home
last modified time | relevance | path

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

1234

/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/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.java886 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument
888 dest.writeLong(mId); in writeToParcel()
889 dest.writeString(mDisplayName); in writeToParcel()
890 dest.writeString(mEmailAddress); in writeToParcel()
891 dest.writeString(mSyncKey); in writeToParcel()
892 dest.writeInt(mSyncLookback); in writeToParcel()
893 dest.writeInt(mSyncInterval); in writeToParcel()
894 dest.writeLong(mHostAuthKeyRecv); in writeToParcel()
895 dest.writeLong(mHostAuthKeySend); in writeToParcel()
896 dest.writeInt(mFlags); in writeToParcel()
[all …]
DEmailContent.java1327 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument
1329 dest.writeLong(mId); in writeToParcel()
1330 dest.writeString(mFileName); in writeToParcel()
1331 dest.writeString(mMimeType); in writeToParcel()
1332 dest.writeLong(mSize); in writeToParcel()
1333 dest.writeString(mContentId); in writeToParcel()
1334 dest.writeString(mContentUri); in writeToParcel()
1335 dest.writeLong(mMessageKey); in writeToParcel()
1336 dest.writeString(mLocation); in writeToParcel()
1337 dest.writeString(mEncoding); 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()
/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/Calendar/src/com/android/calendar/
DEvent.java180 public final void copyTo(Event dest) { in copyTo() argument
181 dest.id = id; in copyTo()
182 dest.title = title; in copyTo()
183 dest.color = color; in copyTo()
184 dest.location = location; in copyTo()
185 dest.allDay = allDay; in copyTo()
186 dest.startDay = startDay; in copyTo()
187 dest.endDay = endDay; in copyTo()
188 dest.startTime = startTime; in copyTo()
189 dest.endTime = endTime; in copyTo()
[all …]
/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/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/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/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/Gallery2/jni_mosaic/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/Gallery2/jni_mosaic/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/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/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_nodes_cache.h112 void popTerminal(DicNode *dest) { in popTerminal() argument
113 mTerminalDicNodes->copyPop(dest); in popTerminal()
116 void popActive(DicNode *dest) { in popActive() argument
117 mActiveDicNodes->copyPop(dest); in popActive()
156 DicNodePriorityQueue *src, DicNodePriorityQueue **dest) { in moveNodesAndReturnReusableEmptyQueue() argument
158 const int destMaxSize = (*dest)->getMaxSize(); in moveNodesAndReturnReusableEmptyQueue()
159 DicNodePriorityQueue *tmp = *dest; in moveNodesAndReturnReusableEmptyQueue()
160 *dest = src; in moveNodesAndReturnReusableEmptyQueue()
161 (*dest)->setMaxSize(destMaxSize); in moveNodesAndReturnReusableEmptyQueue()
/packages/apps/Nfc/src/com/android/nfc/handover/
DPendingHandoverTransfer.java53 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument
54 dest.writeInt(id); in writeToParcel()
55 dest.writeInt(incoming ? 1 : 0); in writeToParcel()
56 dest.writeParcelable(remoteDevice, 0); in writeToParcel()
57 dest.writeInt(remoteActivating ? 1 : 0); in writeToParcel()
58 dest.writeInt(uris != null ? uris.length : 0); in writeToParcel()
60 dest.writeTypedArray(uris, 0); in writeToParcel()
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/
DRecurrencePickerDialog.java194 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument
195 dest.writeInt(freq); in writeToParcel()
196 dest.writeInt(interval); in writeToParcel()
197 dest.writeInt(end); in writeToParcel()
198 dest.writeInt(endDate.year); in writeToParcel()
199 dest.writeInt(endDate.month); in writeToParcel()
200 dest.writeInt(endDate.monthDay); in writeToParcel()
201 dest.writeInt(endCount); in writeToParcel()
202 dest.writeBooleanArray(weeklyByDayOfWeek); in writeToParcel()
203 dest.writeInt(monthlyRepeat); in writeToParcel()
[all …]
/packages/inputmethods/LatinIME/native/jni/src/
Ddefines.h54 char *dest) { in intArrayToCharArray() argument
60 dest[di++] = codePoint; in intArrayToCharArray()
62 dest[di++] = 0xC0 + (codePoint >> 6); in intArrayToCharArray()
63 dest[di++] = 0x80 + (codePoint & 0x3F); in intArrayToCharArray()
65 dest[di++] = 0xE0 + (codePoint >> 12); in intArrayToCharArray()
66 dest[di++] = 0x80 + ((codePoint & 0xFC0) >> 6); in intArrayToCharArray()
67 dest[di++] = 0x80 + (codePoint & 0x3F); in intArrayToCharArray()
70 dest[di] = 0; in intArrayToCharArray()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerObj.java146 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument
147 dest.writeInt(mTimerId); in writeToParcel()
148 dest.writeLong(mStartTime); in writeToParcel()
149 dest.writeLong(mTimeLeft); in writeToParcel()
150 dest.writeLong(mOriginalLength); in writeToParcel()
151 dest.writeLong(mSetupLength); in writeToParcel()
152 dest.writeInt(mState); in writeToParcel()
153 dest.writeString(mLabel); in writeToParcel()
/packages/apps/Gallery2/jni/filters/
DredEyeMath.c110 void filterRedEye(unsigned char *src, unsigned char *dest, int iw, int ih, short *rect) { in filterRedEye() argument
150 dest[p + 2] = (0); in filterRedEye()
151 dest[p + 1] = (0); in filterRedEye()
152 dest[p] = (0); in filterRedEye()
155 stuff(r / 2, g / 2, b / 2, dest, p); in filterRedEye()
157 stuff((2 * r) / 3, (2 * g) / 3, (2 * b) / 3, dest, p); in filterRedEye()
161 stuff(r, g, b, dest, p); in filterRedEye()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java528 Integer dest = values.getAsInteger(Downloads.Impl.COLUMN_DESTINATION); in insert() local
529 if (dest != null) { in insert()
532 && (dest == Downloads.Impl.DESTINATION_CACHE_PARTITION in insert()
533 || dest == Downloads.Impl.DESTINATION_CACHE_PARTITION_NOROAMING in insert()
534 || dest == Downloads.Impl.DESTINATION_SYSTEMCACHE_PARTITION)) { in insert()
535 throw new SecurityException("setting destination to : " + dest + in insert()
544 if (isPublicApi && dest == Downloads.Impl.DESTINATION_CACHE_PARTITION_PURGEABLE in insert()
546 dest = Downloads.Impl.DESTINATION_CACHE_PARTITION; in insert()
548 if (dest == Downloads.Impl.DESTINATION_FILE_URI) { in insert()
554 } else if (dest == Downloads.Impl.DESTINATION_SYSTEMCACHE_PARTITION) { in insert()
[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/Contacts/tests/src/com/android/contacts/
DRawContactDeltaTests.java94 final RawContactDelta dest = RawContactDelta.fromBefore(before); in testParcelChangesNone() local
97 final RawContactDelta merged = RawContactDelta.mergeAfter(dest, source); in testParcelChangesNone()
104 final RawContactDelta dest = RawContactDelta.fromBefore(before); in testParcelChangesInsert() local
114 final RawContactDelta merged = RawContactDelta.mergeAfter(dest, source); in testParcelChangesInsert()
122 final RawContactDelta dest = RawContactDelta.fromBefore(before); in testParcelChangesUpdate() local
128 final RawContactDelta merged = RawContactDelta.mergeAfter(dest, source); in testParcelChangesUpdate()
136 final RawContactDelta dest = RawContactDelta.fromBefore(before); in testParcelChangesDelete() local
142 final RawContactDelta merged = RawContactDelta.mergeAfter(dest, source); in testParcelChangesDelete()

1234