Searched refs:dest (Results 1 - 25 of 119) sorted by relevance

12345

/packages/apps/Settings/tests/src/com/android/settings/bluetooth/
H A DUtf8ByteLengthFilterTest.java49 SpannableStringBuilder dest;
57 dest = new SpannableStringBuilder("abcdefgh");
58 dest.setFilters(filters);
60 dest.insert(1, source);
62 assertEquals(expectedString1, dest.toString());
64 dest.replace(5, 8, source);
66 assertEquals(expectedString2, dest.toString());
68 dest.insert(2, source);
69 assertEquals(expectedString2, dest.toString());
71 dest
[all...]
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
H A DPercentEscaper.java216 char[] dest = new char[3];
217 dest[0] = '%';
218 dest[2] = UPPER_HEX_DIGITS[cp & 0xF];
219 dest[1] = UPPER_HEX_DIGITS[cp >>> 4];
220 return dest;
224 char[] dest = new char[6];
225 dest[0] = '%';
226 dest[3] = '%';
227 dest[5] = UPPER_HEX_DIGITS[cp & 0xF];
229 dest[
[all...]
H A DCharEscaper.java124 char[] dest = Platform.charBufferFromThreadLocal();
125 int destSize = dest.length;
147 dest = growBuffer(dest, destIndex, destSize);
152 s.getChars(lastEscape, index, dest, destIndex);
156 // Copy the replacement string into the dest buffer as needed.
158 System.arraycopy(r, 0, dest, destIndex, rlen);
171 dest = growBuffer(dest, destIndex, sizeNeeded);
173 s.getChars(lastEscape, slen, dest, destInde
200 growBuffer(char[] dest, int index, int size) argument
[all...]
H A DUnicodeEscaper.java172 char[] dest = Platform.charBufferFromThreadLocal();
193 if (dest.length < sizeNeeded) {
195 dest = growBuffer(dest, destIndex, destLength);
199 s.getChars(unescapedChunkStart, index, dest, destIndex);
203 System.arraycopy(escaped, 0, dest, destIndex, escaped.length);
217 if (dest.length < endIndex) {
218 dest = growBuffer(dest, destIndex, endIndex);
220 s.getChars(unescapedChunkStart, end, dest, destInde
423 growBuffer(char[] dest, int index, int size) argument
[all...]
/packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/
H A DAccountTests.java32 final Parcel dest = Parcel.obtain();
33 dest.writeInt(0);
34 dest.writeString("accountUri");
35 dest.writeInt(12345);
36 dest.writeString("foldersList");
37 dest.writeString("searchUri");
38 dest.writeString("fromAddresses");
39 dest.writeString("expungeMessageUri");
40 dest.writeString("undoUri");
41 dest
[all...]
/packages/apps/Settings/src/com/android/settings/dashboard/
H A DDashboardTile.java145 public void writeToParcel(Parcel dest, int flags) { argument
146 dest.writeLong(id);
147 dest.writeInt(titleRes);
148 TextUtils.writeToParcel(title, dest, flags);
149 dest.writeInt(summaryRes);
150 TextUtils.writeToParcel(summary, dest, flags);
151 dest.writeInt(iconRes);
152 dest.writeString(iconPkg);
153 dest.writeString(fragment);
154 dest
[all...]
H A DDashboardCategory.java116 public void writeToParcel(Parcel dest, int flags) { argument
117 dest.writeInt(titleRes);
118 dest.writeInt(externalIndex);
119 TextUtils.writeToParcel(title, dest, flags);
120 dest.writeString(key);
123 dest.writeInt(count);
127 tile.writeToParcel(dest, flags);
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/exchange/
H A DExchangeAttachment.java48 public void writeToParcel(Parcel dest, int flags) { argument
49 super.writeToParcel(dest, flags);
50 dest.writeString(contentId);
51 dest.writeLong(messageKey);
52 dest.writeString(location);
53 dest.writeString(encoding);
54 dest.writeString(content);
55 dest.writeInt(flags);
56 dest.writeLong(accountKey);
/packages/apps/Camera/jni/feature_stab/db_vlvm/
H A Ddb_utilities_indexing.cpp36 void db_LeanPartitionOnPivot(double pivot,double *dest,const double *source,long first,long last,long *first_equal,long *last_equal) argument
46 d_bottom=dest+first;
47 d_top=dest+last;
55 *first_equal=d_bottom-dest;
56 *last_equal=d_top-dest;
69 double *dest; local
74 dest=tempA;
79 db_LeanPartitionOnPivot(pivot,dest,source,first,last,&first_equal,&last_equal);
93 dest=tempA;
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
H A Ddb_utilities_indexing.cpp36 void db_LeanPartitionOnPivot(double pivot,double *dest,const double *source,long first,long last,long *first_equal,long *last_equal) argument
46 d_bottom=dest+first;
47 d_top=dest+last;
55 *first_equal=d_bottom-dest;
56 *last_equal=d_top-dest;
69 double *dest; local
74 dest=tempA;
79 db_LeanPartitionOnPivot(pivot,dest,source,first,last,&first_equal,&last_equal);
93 dest=tempA;
/packages/inputmethods/LatinIME/native/jni/src/
H A Ddefines.h47 char *dest, const int destSize) {
56 dest[di++] = codePoint;
59 dest[di++] = 0xC0 + (codePoint >> 6);
60 dest[di++] = 0x80 + (codePoint & 0x3F);
63 dest[di++] = 0xE0 + (codePoint >> 12);
64 dest[di++] = 0x80 + ((codePoint >> 6) & 0x3F);
65 dest[di++] = 0x80 + (codePoint & 0x3F);
68 dest[di++] = 0xF0 + (codePoint >> 18);
69 dest[di++] = 0x80 + ((codePoint >> 12) & 0x3F);
70 dest[d
46 intArrayToCharArray(const int *const source, const int sourceSize, char *dest, const int destSize) argument
[all...]
/packages/apps/Nfc/src/com/android/nfc/beam/
H A DBeamTransferRecord.java89 public void writeToParcel(Parcel dest, int flags) { argument
90 dest.writeInt(dataLinkType);
91 dest.writeParcelable(remoteDevice, 0);
92 dest.writeInt(remoteActivating ? 1 : 0);
93 dest.writeInt(uris != null ? uris.length : 0);
95 dest.writeTypedArray(uris, 0);
/packages/apps/Settings/src/com/android/settings/applications/
H A DProcStatsPackageEntry.java139 public void writeToParcel(Parcel dest, int flags) { argument
140 dest.writeString(mPackage);
141 dest.writeTypedList(mEntries);
142 dest.writeLong(mBgDuration);
143 dest.writeLong(mAvgBgMem);
144 dest.writeLong(mMaxBgMem);
145 dest.writeDouble(mBgWeight);
146 dest.writeLong(mRunDuration);
147 dest.writeLong(mAvgRunMem);
148 dest
[all...]
H A DProcStatsEntry.java268 public void writeToParcel(Parcel dest, int flags) { argument
269 dest.writeString(mPackage);
270 dest.writeInt(mUid);
271 dest.writeString(mName);
272 dest.writeStringList(mPackages);
273 dest.writeLong(mBgDuration);
274 dest.writeLong(mAvgBgMem);
275 dest.writeLong(mMaxBgMem);
276 dest.writeDouble(mBgWeight);
277 dest
329 writeToParcel(Parcel dest, int flags) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DScreenNail.java34 public void draw(GLCanvas canvas, RectF source, RectF dest); argument
H A DBitmapScreenNail.java58 public void draw(GLCanvas canvas, RectF source, RectF dest) { argument
59 canvas.drawTexture(mBitmapTexture, source, dest);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
H A DIconFactory.java65 * @param dest bitmap into which to draw the icon.
69 public static void drawIcon(Bitmap dest, Bitmap sourceImage, boolean scale) { argument
70 if (dest == null || sourceImage == null) {
76 int iconWidth = dest.getWidth();
77 int iconHeight = dest.getHeight();
84 Canvas canvas = new Canvas(dest);
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
H A Ddic_nodes_cache.h104 void popTerminal(DicNode *dest) { argument
105 mTerminalDicNodes->copyPop(dest);
108 void popActive(DicNode *dest) { argument
109 mActiveDicNodes->copyPop(dest);
147 DicNodePriorityQueue *src, DicNodePriorityQueue **dest) {
149 const int destMaxSize = (*dest)->getMaxSize();
150 DicNodePriorityQueue *tmp = *dest;
151 *dest = src;
152 (*dest)->setMaxSize(destMaxSize);
146 moveNodesAndReturnReusableEmptyQueue( DicNodePriorityQueue *src, DicNodePriorityQueue **dest) argument
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
H A DMessage.java267 public void writeToParcel(Parcel dest, int flags) { argument
268 dest.writeLong(id);
269 dest.writeString(serverId);
270 dest.writeParcelable(uri, 0);
271 dest.writeParcelable(conversationUri, 0);
272 dest.writeString(subject);
273 dest.writeString(snippet);
274 dest.writeString(mFrom);
275 dest.writeString(mTo);
276 dest
[all...]
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
H A DCaptureRequestProxy.java64 public void writeToParcel(Parcel dest, int flags) { argument
65 mRequest.writeToParcel(dest, flags);
/packages/apps/Dialer/src/com/android/dialer/dialpad/
H A DUnicodeDialerKeyListener.java33 Spanned dest, int dstart, int dend) {
38 CharSequence result = super.filter(converted, start, end, dest, dstart, dend);
32 filter(CharSequence source, int start, int end, Spanned dest, int dstart, int dend) argument
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DUtf8ByteLengthFilter.java48 Spanned dest, int dstart, int dend) {
55 int destLen = dest.length();
60 char c = dest.charAt(i);
68 return null; // use original dest string
80 // reason it is, return null to use the original dest string.
47 filter(CharSequence source, int start, int end, Spanned dest, int dstart, int dend) argument
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/daydream/
H A DNoneDreamInfoAction.java60 public void writeToParcel(Parcel dest, int flags) { argument
61 dest.writeString(getTitle());
62 dest.writeInt(isChecked() ? 1 : 0);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/
H A DPickerColumn.java66 public void writeToParcel(Parcel dest, int flags) { argument
67 dest.writeInt(mItems.length);
68 dest.writeStringArray(mItems);
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/
H A DCharSequenceReader.java140 int dest = (int)Math.min(charSequence.length(), (idx + n));
141 int count = dest - idx;
142 idx = dest;

Completed in 2240 milliseconds

12345