Searched defs:source (Results 1 - 25 of 175) sorted by relevance

1234567

/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;
H A DLevenshteinSuggestionFormatter.java47 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 DShadowEventLogWriter.java30 public void visible(Context context, int source, int category) { argument
/packages/apps/TV/src/com/android/tv/tuner/source/
H A DTsDataSource.java17 package com.android.tv.tuner.source;
H A DTsStreamer.java17 package com.android.tv.tuner.source;
50 * {@link android.media.MediaExtractor}. The source will start from the position
H A DTsDataSourceManager.java17 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 DUnicodeDialerKeyListener.java34 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 DVoicemailStatusCorruptionHandler.java48 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 DBase64Body.java30 public Base64Body(InputStream source) { argument
31 mSource = source;
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/anim/
H A DColorMatcherTest.java45 private void assertCorrect(int source, int expected) { argument
46 int actual = mColorMatcher.findClosestColor(source);
H A DSwiperThemeMatcherTest.java42 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 DFetchPackageStorageAsyncLoader.java42 public FetchPackageStorageAsyncLoader(Context context, @NonNull StorageStatsSource source, argument
45 mSource = Preconditions.checkNotNull(source);
/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/emailcommon/mail/
H A DBase64Body.java33 public Base64Body(InputStream source) { argument
34 mSource = source;
/packages/services/BuiltInPrintService/src/com/android/bips/util/
H A DFileUtils.java43 /** 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 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/Contacts/src/com/android/contacts/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/DocumentsUI/src/com/android/documentsui/prefs/
H A DPrefsBackupHelper.java63 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 DBitmapScreenNail.java58 public void draw(GLCanvas canvas, RectF source, RectF dest) { argument
59 canvas.drawTexture(mBitmapTexture, source, dest);
H A DScreenNail.java34 public void draw(GLCanvas canvas, RectF source, RectF dest); argument
/packages/apps/Launcher2/src/com/android/launcher2/
H A DInfoDropTarget.java68 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 DInfoDropTarget.java102 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 DEventLogWriter.java31 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 DLogWriter.java29 void visible(Context context, int source, int category); argument
44 void actionWithSource(Context context, int source, int category); argument

Completed in 705 milliseconds

1234567