/packages/apps/Contacts/src/com/android/contacts/logging/ |
H A D | SearchState.java | 67 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 D | db_utilities_indexing.cpp | 34 /*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 D | Utf8ByteLengthFilterTest.java | 31 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 D | SuggestionsProvider.java | 29 * @param source The source to query. Must be non-null. 31 Suggestions getSuggestions(String query, Source source); argument
|
H A D | CursorBackedSourceResult.java | 30 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 D | geometry.c | 22 static __inline__ void flipVertical(char * source, int srcWidth, int srcHeight, char * destination, argument 33 memcpy(destination + temp - i, source + i, bytes_to_copy); 37 static __inline__ void flipHorizontal(char * source, int srcWidth, int srcHeight, argument 50 memcpy(destination + temp - j, source + i + j, cpy_bytes); 55 static __inline__ void flip_fun(int flip, char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){ argument 61 flipHorizontal(source, srcWidth, srcHeight, temp, dstWidth, dstHeight); 67 flipHorizontal(source, srcWidth, srcHeight, destination, dstWidth, dstHeight); 71 flipVertical(source, srcWidth, srcHeight, destination, dstWidth, dstHeight); 77 static __inline__ void rotate90(char * source, int srcWidth, int srcHeight, char * destination, argument 86 memcpy(destination + column_disp + row_disp , source 91 rotate180(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight) argument 95 rotate270(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight) argument 101 rotate_fun(int rotate, char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight) argument 118 crop(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight, int offsetWidth, int offsetHeight) argument 133 char* source = 0; local 146 char* source = 0; local 156 char* source = 0; local 168 char* source = 0; local [all...] |
/packages/apps/TV/src/com/android/tv/tuner/source/ |
H A D | TsDataSourceManager.java | 17 package com.android.tv.tuner.source; 85 TsDataSource source = streamer.createDataSource(); 86 sTsStreamers.put(source, streamer); 87 return source; 97 * @param source to release 99 public void releaseDataSource(TsDataSource source) { argument 100 if (source instanceof TunerTsStreamer.TunerDataSource) { 102 source, mId, !mIsRecording && mKeepTuneStatus); 103 } else if (source instanceof FileTsStreamer.FileDataSource) { 104 FileTsStreamer streamer = (FileTsStreamer) sTsStreamers.get(source); [all...] |
H A D | TsDataSource.java | 17 package com.android.tv.tuner.source;
|
H A D | TsStreamer.java | 17 package com.android.tv.tuner.source; 50 * {@link android.media.MediaExtractor}. The source will start from the position
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
H A D | Sources.java | 87 // 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 D | ParcelableSparseArray.java | 38 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 D | TiledImageView.java | 48 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 D | CameraCoordinateTransformer.java | 55 * @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/Contacts/tests/src/com/android/contacts/model/ |
H A D | RawContactDeltaTests.java | 87 final RawContactDelta source = RawContactDelta.fromBefore(before); 91 final RawContactDelta merged = RawContactDelta.mergeAfter(dest, source); 92 assertEquals("Unexpected change when merging", source, merged); 97 final RawContactDelta source = RawContactDelta.fromBefore(before); 105 source.addEntry(ValuesDelta.fromAfter(phone)); 108 final RawContactDelta merged = RawContactDelta.mergeAfter(dest, source); 109 assertEquals("Unexpected change when merging", source, merged); 115 final RawContactDelta source = RawContactDelta.fromBefore(before); 118 final ValuesDelta child = source.getEntry(TEST_PHONE_ID); 122 final RawContactDelta merged = RawContactDelta.mergeAfter(dest, source); [all...] |
/packages/apps/Dialer/java/com/android/dialer/app/dialpad/ |
H A D | UnicodeDialerKeyListener.java | 34 CharSequence source, int start, int end, Spanned dest, int dstart, int dend) { 37 PhoneNumberUtils.replaceUnicodeDigits(source.toString())); 42 if (source.equals(converted)) { 33 filter( CharSequence source, int start, int end, Spanned dest, int dstart, int dend) argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | DataManager.java | 130 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/apps/Contacts/src/com/android/contacts/group/ |
H A D | GroupMetaData.java | 88 private GroupMetaData(Parcel source) { argument 89 uri = source.readParcelable(Uri.class.getClassLoader()); 90 accountName = source.readString(); 91 accountType = source.readString(); 92 dataSet = source.readString(); 93 groupId = source.readLong(); 94 groupName = source.readString(); 95 readOnly = source.readInt() == 1; 96 defaultGroup = source.readInt() == 1; 97 favorites = source [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | HanziToPinyin.java | 42 * 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 D | TiledImageView.java | 67 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 D | ScreenNail.java | 34 public void draw(GLCanvas canvas, RectF source, RectF dest); argument
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | Utf8ByteLengthFilter.java | 47 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 D | LeaveBehindData.java | 57 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 D | ConversationViewState.java | 163 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 D | DefaultSuggestionView.java | 42 * 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/Dialer/java/com/android/voicemail/impl/mail/ |
H A D | Base64Body.java | 30 public Base64Body(InputStream source) { argument 31 mSource = source;
|