/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;
|
H A D | LevenshteinSuggestionFormatter.java | 47 Log.d(TAG, "source = " + queryTokens); 73 * Finds which tokens in the target match tokens in the source. 75 * @param source List of source tokens (i.e. user query) 77 * @return The indices into source which target tokens correspond to. A non-negative value n at 78 * position i means that target token i matches source token n. A negative value means that 79 * the target token i does not match any source token. 82 int[] findMatches(Token[] source, Token[] target) { argument 83 final LevenshteinDistance table = new LevenshteinDistance(source, target);
|
/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/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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | SpannableStringUtils.java | 29 * <code>source</code> to the region 31 * Spans in <code>source</code> that begin before <code>start</code> 42 public static void copyNonParagraphSuggestionSpansFrom(Spanned source, int start, int end, argument 44 Object[] spans = source.getSpans(start, end, SuggestionSpan.class); 47 int fl = source.getSpanFlags(spans[i]); 50 int st = source.getSpanStart(spans[i]); 51 int en = source.getSpanEnd(spans[i]);
|
H A D | CoordinateUtils.java | 45 public static void copy(final int[] destination, final int[] source) { argument 46 destination[INDEX_X] = source[INDEX_X]; 47 destination[INDEX_Y] = source[INDEX_Y];
|
/packages/apps/Calculator/src/com/android/calculator2/ |
H A D | CalculatorEditable.java | 28 private CalculatorEditable(CharSequence source, Logic logic) { argument 29 super(source); 106 public Editable newEditable(CharSequence source) { argument 107 return new CalculatorEditable(source, mLogic);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | BitmapScreenNail.java | 58 public void draw(GLCanvas canvas, RectF source, RectF dest) { argument 59 canvas.drawTexture(mBitmapTexture, source, dest);
|
H A D | ScreenNail.java | 34 public void draw(GLCanvas canvas, RectF source, RectF dest); argument
|
H A D | DetailsHelper.java | 53 public DetailsHelper(AbstractGalleryActivity activity, GLView rootPane, DetailsSource source) { argument 54 mContainer = new DialogDetailsView(activity, source);
|
H A D | GLRoot.java | 44 public void setOrientationSource(OrientationSource source); argument
|
H A D | PhotoFallbackEffect.java | 40 public Rect source; field in class:PhotoFallbackEffect.Entry 44 public Entry(Path path, Rect source, RawTexture texture) { argument 46 this.source = source; 97 Rect s = entry.source;
|
H A D | SurfaceTextureScreenNail.java | 128 public void draw(GLCanvas canvas, RectF source, RectF dest) { argument
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | InfoDropTarget.java | 67 private boolean isFromAllApps(DragSource source) { argument 68 return (source instanceof AppsCustomizePagedView); 75 // so that the object being dragged isn't removed from the drag source. 94 public void onDragStart(DragSource source, Object info, int dragAction) { argument 98 if (!isFromAllApps(source)) {
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | InfoDropTarget.java | 65 private boolean isFromAllApps(DragSource source) { argument 66 return (source instanceof AppsCustomizePagedView); 73 // so that the object being dragged isn't removed from the drag source. 92 public void onDragStart(DragSource source, Object info, int dragAction) { argument 96 if (!isFromAllApps(source)) {
|
/packages/apps/Mms/src/com/android/mms/util/ |
H A D | BackgroundLoaderManager.java | 140 protected static <T> ArrayList<T> asList(Set<T> source) { argument 141 return new ArrayList<T>(source);
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/ |
H A D | LevenshteinDistanceTest.java | 36 private void verifyTargetOperations(String[] source, String[] target, int[] expectedOps, argument 39 Token[] sourceTokens = makeTokens(source); 52 assertEquals(source[ops[i].getPosition()], target[i]); 54 assertFalse(source[ops[i].getPosition()].equals(target[i]));
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
H A D | CombinedInputOutput.java | 95 * @param source the file to read the data from. 98 public static FusionDictionary readDictionaryCombined(final InputStream source) argument 100 final BufferedReader reader = new BufferedReader(new InputStreamReader(source, "UTF-8"));
|
/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/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/Camera2/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/Contacts/src/com/android/contacts/editor/ |
H A D | BaseRawContactEditorView.java | 42 * source {@link RawContact} can be swapped out. Any state-based changes, such as 120 public abstract void setState(RawContactDelta state, AccountType source, ViewIdGenerator vig, argument
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | BitmapUtils.java | 179 public static Bitmap rotateBitmap(Bitmap source, int rotation, boolean recycle) { argument 180 if (rotation == 0) return source; 181 int w = source.getWidth(); 182 int h = source.getHeight(); 185 Bitmap bitmap = Bitmap.createBitmap(source, 0, 0, w, h, m, true); 186 if (recycle) source.recycle();
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
H A D | MediaSetSource.java | 52 // Initialize source to an empty source until the album path can be resolved 137 public CheckedMediaSetSource(MediaSet source) { argument 138 mSource = Utils.checkNotNull(source);
|