Searched refs:source (Results 1 - 25 of 208) sorted by relevance

123456789

/packages/apps/ContactsCommon/src/com/android/contacts/common/logging/
H A DSearchState.java67 protected SearchState(Parcel source) { argument
68 readFromParcel(source);
100 private void readFromParcel(Parcel source) { argument
101 queryLength = source.readInt();
102 numPartitions = source.readInt();
103 numResults = source.readInt();
104 numResultsInSelectedPartition = source.readInt();
105 selectedPartition = source.readInt();
106 selectedIndexInPartition = source.readInt();
107 selectedIndex = source
[all...]
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
H A Ddb_utilities_indexing.cpp34 /*This routine breaks number in source into values smaller and larger than
36 void db_LeanPartitionOnPivot(double pivot,double *dest,const double *source,long first,long last,long *first_equal,long *last_equal) argument
44 s_point=source+first;
45 s_top=source+last;
68 const double *source; local
73 source=s;
78 pivot=db_TripleMedian(source[first],source[last],source[(first+last)/2]);
79 db_LeanPartitionOnPivot(pivot,dest,source,firs
[all...]
/packages/apps/Settings/tests/unit/src/com/android/settings/bluetooth/
H A DUtf8ByteLengthFilterTest.java31 CharSequence source;
38 // cut off the source CharSequence from beginning to fit the filter length.
39 source = "abc";
43 dest.insert(1, source);
47 dest.replace(5, 8, source);
51 dest.insert(2, source);
62 source = "\u60a8\u597d"; // 2 Chinese chars == 6 bytes in UTF-8
63 dest.replace(8, 10, source);
66 dest.replace(0, 1, source);
70 dest.replace(0, 4, source);
[all...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DSuggestionsProvider.java29 * @param source The source to query. Must be non-null.
31 Suggestions getSuggestions(String query, Source source); argument
H A DCursorBackedSourceResult.java30 public CursorBackedSourceResult(GoogleSource source, String userQuery) { argument
31 this(source, userQuery, null);
34 public CursorBackedSourceResult(GoogleSource source, String userQuery, Cursor cursor) { argument
36 mSource = source;
/packages/apps/Gallery2/jni/filters/
H A Dgeometry.c20 static __inline__ void flipVertical(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){ argument
30 memcpy(destination + temp - i, source + i, bytes_to_copy);
34 static __inline__ void flipHorizontal(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){ argument
46 memcpy(destination + temp - j, source + i + j, cpy_bytes);
51 static __inline__ void flip_fun(int flip, char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){ argument
57 flipHorizontal(source, srcWidth, srcHeight, temp, dstWidth, dstHeight);
63 flipHorizontal(source, srcWidth, srcHeight, destination, dstWidth, dstHeight);
67 flipVertical(source, srcWidth, srcHeight, destination, dstWidth, dstHeight);
73 static __inline__ void rotate90(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){ argument
84 memcpy(destination + column_disp + row_disp , source
89 rotate180(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight) argument
93 rotate270(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight) argument
99 rotate_fun(int rotate, char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight) argument
116 crop(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight, int offsetWidth, int offsetHeight) argument
132 char* source = 0; local
145 char* source = 0; local
156 char* source = 0; local
167 char* source = 0; local
[all...]
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DSources.java87 // Create fallback contacts source for on-phone contacts
113 for (ContactsSource source : sources) {
114 addSource(source);
118 protected void addSource(ContactsSource source) { argument
119 mSources.put(source.accountType, source);
120 mKnownPackages.add(source.resPackageName);
146 // Invalidate cache of existing source
149 // Unknown source, so reload from scratch
160 for (ContactsSource source
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DParcelableSparseArray.java38 public ParcelableSparseArray createFromParcel(Parcel source) {
41 final int count = source.readInt();
43 array.put(source.readInt(), source.readParcelable(loader));
/packages/apps/WallpaperPicker/src/com/android/photos/views/
H A DTiledImageView.java48 public TileSource source; field in class:TiledImageView.ImageRendererWrapper
107 public void setTileSource(TileSource source, Runnable isReadyCallback) { argument
109 mRenderer.source = source;
111 mRenderer.centerX = source != null ? source.getImageWidth() / 2 : 0;
112 mRenderer.centerY = source != null ? source.getImageHeight() / 2 : 0;
113 mRenderer.rotation = source != null ? source
[all...]
/packages/apps/Camera2/src/com/android/camera/ui/focus/
H A DCameraCoordinateTransformer.java55 * @param source the rectangle in camera space
58 public RectF toPreviewSpace(RectF source) { argument
60 mCameraToPreviewTransform.mapRect(result, source);
68 * @param source the rectangle in preview view space
71 public RectF toCameraSpace(RectF source) { argument
73 mPreviewToCameraTransform.mapRect(result, source);
100 private Matrix inverse(Matrix source) { argument
102 source.invert(newMatrix);
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
H A DRawContactDeltaTests.java91 final RawContactDelta source = RawContactDelta.fromBefore(before);
95 final RawContactDelta merged = RawContactDelta.mergeAfter(dest, source);
96 assertEquals("Unexpected change when merging", source, merged);
101 final RawContactDelta source = RawContactDelta.fromBefore(before);
109 source.addEntry(ValuesDelta.fromAfter(phone));
112 final RawContactDelta merged = RawContactDelta.mergeAfter(dest, source);
113 assertEquals("Unexpected change when merging", source, merged);
119 final RawContactDelta source = RawContactDelta.fromBefore(before);
122 final ValuesDelta child = source.getEntry(TEST_PHONE_ID);
126 final RawContactDelta merged = RawContactDelta.mergeAfter(dest, source);
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/
H A DPickerColumn.java36 public PickerColumn(Parcel source) { argument
37 int count = source.readInt();
39 source.readStringArray(mItems);
50 public PickerColumn createFromParcel(Parcel source) {
51 return new PickerColumn(source);
/packages/apps/Dialer/src/com/android/dialer/dialpad/
H A DUnicodeDialerKeyListener.java32 public CharSequence filter(CharSequence source, int start, int end, argument
35 PhoneNumberUtils.replaceUnicodeDigits(source.toString()));
40 if (source.equals(converted)) {
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DDataManager.java130 for (MediaSource source : mSourceMap.values()) {
131 source.resume();
150 void addSource(MediaSource source) { argument
151 if (source == null) return;
152 mSourceMap.put(source.getPrefix(), source);
171 MediaSource source = mSourceMap.get(path.getPrefix());
172 if (source == null) {
173 Log.w(TAG, "cannot find media source for path: " + path);
178 MediaObject object = source
[all...]
/packages/services/Telephony/src/com/android/phone/vvm/omtp/sync/
H A DVoicemailProviderChangeReceiver.java35 for (PhoneAccountHandle source : OmtpVvmSourceManager.getInstance(context)
37 UploadTask.start(context, source);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DHanziToPinyin.java42 * Separator between target string for each source char
53 public Token(int type, String source, String target) { argument
55 this.source = source;
66 public String source; field in class:HanziToPinyin.Token
68 * Translated string of source. For Han, target is corresponding Pinyin. Otherwise target is
69 * original string in source.
99 token.source = Character.toString(character);
104 token.target = token.source;
111 token.target = mAsciiTransliterator == null ? token.source
[all...]
/packages/apps/Gallery2/src/com/android/photos/views/
H A DTiledImageView.java67 TileSource source; field in class:TiledImageView.ImageRendererWrapper
152 public void setTileSource(TileSource source, Runnable isReadyCallback) { argument
157 mRenderer.source = source;
159 mRenderer.centerX = source != null ? source.getImageWidth() / 2 : 0;
160 mRenderer.centerY = source != null ? source.getImageHeight() / 2 : 0;
161 mRenderer.rotation = source != null ? source
[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/Settings/src/com/android/settings/bluetooth/
H A DUtf8ByteLengthFilter.java47 public CharSequence filter(CharSequence source, int start, int end, argument
50 // count UTF-8 bytes in source substring
52 char c = source.charAt(i);
72 char c = source.charAt(i);
75 return source.subSequence(start, i);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DLeaveBehindData.java57 public LeaveBehindData createFromParcel(Parcel source) {
58 return new LeaveBehindData(source, null);
62 public LeaveBehindData createFromParcel(Parcel source, ClassLoader loader) {
63 return new LeaveBehindData(source, loader);
H A DConversationViewState.java163 private ConversationViewState(Parcel source, ClassLoader loader) { argument
164 final Bundle states = source.readBundle(loader);
169 mConversationInfo = source.createByteArray();
176 public ConversationViewState createFromParcel(Parcel source) {
177 return new ConversationViewState(source, null);
181 public ConversationViewState createFromParcel(Parcel source, ClassLoader loader) {
182 return new ConversationViewState(source, loader);
218 private MessageViewState(Parcel source) { argument
219 read = (source.readInt() != 0);
220 final int expandedVal = source
[all...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
H A DDefaultSuggestionView.java42 * sources, and suggestions under each source.
73 // override default icon (when no other available) with default source icon
75 protected String getFallbackIconId(Source source) {
76 return source.getSourceIconUri().toString();
79 protected Drawable getFallbackIcon(Source source) {
80 return source.getSourceIcon();
178 public void set(final Source source, final String sourceIconId) { argument
182 Uri iconUri = source.getIconUri(sourceIconId);
187 NowOrLater<Drawable> icon = source.getIcon(sourceIconId);
190 handleNewDrawable(icon.getNow(), uniqueIconId, source);
217 handleNewDrawable(Drawable icon, String id, Source source) argument
238 getFallbackIconId(Source source) argument
242 getFallbackIcon(Source source) argument
[all...]
/packages/apps/Tag/
H A DAndroid.mk8 # Only compile source java files in this apk.
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
H A DBase64Body.java33 public Base64Body(InputStream source) { argument
34 mSource = source;

Completed in 916 milliseconds

123456789