/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/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
H A D | ShadowEventLogWriter.java | 30 public void visible(Context context, int source, int category) { argument
|
/packages/apps/TV/src/com/android/tv/tuner/source/ |
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
|
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...] |
/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/Dialer/java/com/android/dialer/app/voicemail/error/ |
H A D | VoicemailStatusCorruptionHandler.java | 48 public static void maybeFixVoicemailStatus(Context context, Cursor statusCursor, Source source) { argument 77 + source 93 switch (source) {
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/ |
H A D | Base64Body.java | 30 public Base64Body(InputStream source) { argument 31 mSource = source;
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/anim/ |
H A D | ColorMatcherTest.java | 45 private void assertCorrect(int source, int expected) { argument 46 int actual = mColorMatcher.findClosestColor(source);
|
H A D | SwiperThemeMatcherTest.java | 42 private void assertCorrect(int source, int expected) { argument 43 assertThat(mSwiperThemeMatcher.findTheme(source), equalTo(expected));
|
/packages/apps/Settings/src/com/android/settings/applications/ |
H A D | FetchPackageStorageAsyncLoader.java | 42 public FetchPackageStorageAsyncLoader(Context context, @NonNull StorageStatsSource source, argument 45 mSource = Preconditions.checkNotNull(source);
|
/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/emailcommon/mail/ |
H A D | Base64Body.java | 33 public Base64Body(InputStream source) { argument 34 mSource = source;
|
/packages/services/BuiltInPrintService/src/com/android/bips/util/ |
H A D | FileUtils.java | 43 /** Copy files from source to target, closing each stream when done */ 44 public static void copy(InputStream source, OutputStream target) throws IOException { argument 45 try (InputStream in = source; OutputStream out = target) {
|
/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/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/DocumentsUI/src/com/android/documentsui/prefs/ |
H A D | PrefsBackupHelper.java | 63 private void copyMatchingPreferences(SharedPreferences source, Editor destination) { argument 64 for (Map.Entry<String, ?> preference : source.getAll().entrySet()) {
|
/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
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | InfoDropTarget.java | 68 private boolean isFromAllApps(DragSource source) { argument 69 return (source instanceof AppsCustomizePagedView); 76 // so that the object being dragged isn't removed from the drag source. 101 public void onDragStart(DragSource source, Object info, int dragAction) { argument 105 if (!isFromAllApps(source)) {
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | InfoDropTarget.java | 102 protected boolean supportsDrop(DragSource source, ItemInfo info) { argument 103 return source.supportsAppInfoDropTarget() && supportsDrop(getContext(), info);
|
/packages/apps/Settings/src/com/android/settings/core/instrumentation/ |
H A D | EventLogWriter.java | 31 public void visible(Context context, int source, int category) { argument 34 .addTaggedData(MetricsProto.MetricsEvent.FIELD_CONTEXT, source); 46 public void actionWithSource(Context context, int source, int category) { argument 49 if (source != MetricsProto.MetricsEvent.VIEW_UNKNOWN) { 50 logMaker.addTaggedData(MetricsProto.MetricsEvent.FIELD_CONTEXT, source);
|
H A D | LogWriter.java | 29 void visible(Context context, int source, int category); argument 44 void actionWithSource(Context context, int source, int category); argument
|