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

1234567

/packages/services/Car/tools/keventreader/server/
H A Devent.h28 KeypressEvent(const std::string source = "", uint32_t keycode = 0, bool keydown = false);
30 std::string source; member in struct:com::android::car::keventreader::KeypressEvent
H A Devent.cpp24 KeypressEvent::KeypressEvent(const std::string source, uint32_t keycode, bool keydown) { argument
25 this->source = source;
31 String16 s16 = String16(source.c_str());
41 source = std::string(String8(s16).c_str());
/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/tuner/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;
48 * android.media.MediaExtractor}. The source will start from the position where it is created.
H A DTsDataSourceManager.java17 package com.android.tv.tuner.source;
84 TsDataSource source = streamer.createDataSource();
85 sTsStreamers.put(source, streamer);
86 return source;
97 * @param source to release
99 public void releaseDataSource(TsDataSource source) { argument
100 if (source instanceof TunerTsStreamer.TunerDataSource) {
101 mTunerStreamerManager.releaseDataSource(source, mId, !mIsRecording && mKeepTuneStatus);
102 } else if (source instanceof FileTsStreamer.FileDataSource) {
103 FileTsStreamer streamer = (FileTsStreamer) sTsStreamers.get(source);
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
H A DTransition.java24 public State source; field in class:Transition
28 public Transition(State source, @StateMachine.Event int event, State destination) { argument
29 this.source = source;
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
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/voicemail/listui/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.java26 private final InputStream source; field in class:Base64Body
30 public Base64Body(InputStream source) { argument
31 this.source = source;
36 return source;
56 IOUtils.copyLarge(source, b64out);
58 source.close();
/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)) {

Completed in 3402 milliseconds

1234567