/packages/apps/Camera/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/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/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 | 20 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/apps/Settings/tests/src/com/android/settings/bluetooth/ |
H A D | Utf8ByteLengthFilterTest.java | 48 CharSequence source; 55 // cut off the source CharSequence from beginning to fit the filter length. 56 source = "abc"; 60 dest.insert(1, source); 64 dest.replace(5, 8, source); 68 dest.insert(2, source); 79 source = "\u60a8\u597d"; // 2 Chinese chars == 6 bytes in UTF-8 80 dest.replace(8, 10, source); 83 dest.replace(0, 1, source); 87 dest.replace(0, 4, source); [all...] |
/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/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/ContactsCommon/tests/src/com/android/contacts/common/ |
H A D | RawContactDeltaTests.java | 93 final RawContactDelta source = RawContactDelta.fromBefore(before); 97 final RawContactDelta merged = RawContactDelta.mergeAfter(dest, source); 98 assertEquals("Unexpected change when merging", source, merged); 103 final RawContactDelta source = RawContactDelta.fromBefore(before); 111 source.addEntry(ValuesDelta.fromAfter(phone)); 114 final RawContactDelta merged = RawContactDelta.mergeAfter(dest, source); 115 assertEquals("Unexpected change when merging", source, merged); 121 final RawContactDelta source = RawContactDelta.fromBefore(before); 124 final ValuesDelta child = source.getEntry(TEST_PHONE_ID); 128 final RawContactDelta merged = RawContactDelta.mergeAfter(dest, source); [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/ |
H A D | PickerColumn.java | 36 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 D | UnicodeDialerKeyListener.java | 32 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 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/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. 98 token.source = Character.toString(character); 103 token.target = token.source; 110 token.target = mAsciiTransliterator == null ? token.source [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/ |
H A D | TiledImageView.java | 56 public TileSource source; field in class:TiledImageView.ImageRendererWrapper 116 public void setTileSource(TileSource source, Runnable isReadyCallback) { argument 118 mRenderer.source = source; 120 mRenderer.centerX = source != null ? source.getImageWidth() / 2 : 0; 121 mRenderer.centerY = source != null ? source.getImageHeight() / 2 : 0; 122 mRenderer.rotation = source != null ? 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
|
H A D | BitmapScreenNail.java | 58 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 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/Tag/ |
H A D | Android.mk | 8 # Only compile source java files in this apk.
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/ |
H A D | Base64Body.java | 33 public Base64Body(InputStream source) { argument 34 mSource = source;
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | PhotoProcessorTest.java | 40 final Drawable source = getTestContext().getResources().getDrawable( 42 final Bitmap sourceBitmap = ((BitmapDrawable) source).getBitmap();
|
/packages/services/Telephony/src/com/android/phone/common/mail/ |
H A D | Base64Body.java | 32 public Base64Body(InputStream source) { argument 33 mSource = source;
|