Home
last modified time | relevance | path

Searched refs:getSource (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/audio_util/
DImageTest.java198 assertThat(artwork.getSource()).isEqualTo(Image.SOURCE_BITMAP); in testCreateImageFromMediaMetadataWithArt()
212 assertThat(artwork.getSource()).isEqualTo(Image.SOURCE_BITMAP); in testCreateImageFromMediaMetadataWithAlbumArt()
226 assertThat(artwork.getSource()).isEqualTo(Image.SOURCE_BITMAP); in testCreateImageFromMediaMetadataWithDisplayIcon()
240 assertThat(artwork.getSource()).isEqualTo(Image.SOURCE_URI); in testCreateImageFromMediaMetadataWithArtUri()
254 assertThat(artwork.getSource()).isEqualTo(Image.SOURCE_URI); in testCreateImageFromMediaMetadataWithAlbumArtUri()
269 assertThat(artwork.getSource()).isEqualTo(Image.SOURCE_URI); in testCreateImageFromMediaMetadataWithDisplayIconUri()
285 assertThat(artwork.getSource()).isEqualTo(Image.SOURCE_NONE); in testCreateImageFromMediaMetadataWithArtUriDisabled()
301 assertThat(artwork.getSource()).isEqualTo(Image.SOURCE_NONE); in testCreateImageFromMediaMetadataWithAlbumArtUriDisabled()
318 assertThat(artwork.getSource()).isEqualTo(Image.SOURCE_NONE); in testCreateImageFromMediaMetadataWithDisplayIconUriDisabled()
330 assertThat(artwork.getSource()).isEqualTo(Image.SOURCE_NONE); in testCreateImageFromMediaMetadataWithoutArtwork()
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSuggestions.java64 public Source getSource() { in getSource() method in Suggestions
96 result.getSource().getName() + " results:" + result.getCount()); in addResults()
DSourceResult.java24 Source getSource(); in getSource() method
DCursorBackedSourceResult.java39 public GoogleSource getSource() { in getSource() method in CursorBackedSourceResult
DSuggestionsProviderImpl.java103 cursor.getSource() + " count = " + cursor.getCount()); in consume()
/packages/apps/ThemePicker/src/com/android/customization/model/color/
DColorOption.java96 boolean isCurrentSource = TextUtils.isEmpty(currentSource) || getSource().equals( in isActive()
208 public abstract String getSource(); in getSource() method in ColorOption
DColorCustomizationManager.java149 overlaysJson.put(OVERLAY_COLOR_SOURCE, colorOption.getSource()); in applyOverlays()
155 if (!COLOR_SOURCE_PRESET.equals(colorOption.getSource())) { in applyOverlays()
DColorSeedOption.java60 public String getSource() { in getSource() method in ColorSeedOption
DColorSectionController.java393 if (TextUtils.equals(colorOption.getSource(), COLOR_SOURCE_PRESET)) { in getColorAction()
398 switch (colorOption.getSource()) { in getColorAction()
DColorBundle.java78 public String getSource() { in getSource() method in ColorBundle
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPendingSplitSelectInfo.java49 public StatsLogManager.EventEnum getSource() { in getSource() method in PendingSplitSelectInfo
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanHelper.java304 if (country.getSource() == Country.COUNTRY_SOURCE_NETWORK in updateCountryCodeFromCountryDetector()
305 || country.getSource() == Country.COUNTRY_SOURCE_LOCATION) { in updateCountryCodeFromCountryDetector()
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DRotaryServiceTest.java1860 when(event.getSource()).thenReturn(AccessibilityNodeInfo.obtain(appDefaultFocusNode)); in testOnAccessibilityEvent_typeViewFocused()
1926 when(event.getSource()).thenReturn(AccessibilityNodeInfo.obtain(fpvNode)); in testOnAccessibilityEvent_typeViewFocused2()
1990 when(event.getSource()).thenReturn(AccessibilityNodeInfo.obtain(appDefaultFocusNode)); in testOnAccessibilityEvent_typeViewClicked()
2057 when(event.getSource()).thenReturn(AccessibilityNodeInfo.obtain(appButton3Node)); in testOnAccessibilityEvent_typeViewClicked2()
2078 when(event.getSource()).thenReturn(node); in testOnAccessibilityEvent_typeWindowStateChanged()
2256 when(event.getSource()).thenReturn(AccessibilityNodeInfo.obtain(appButton3Node)); in testDirectManipulationMode2()
2282 when(event.getSource()).thenReturn(AccessibilityNodeInfo.obtain(appButton3Node)); in testDirectManipulationMode2()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
DAbstractGoogleSourceResult.java43 public Source getSource() { in getSource() method in AbstractGoogleSourceResult
/packages/apps/Contacts/src/com/android/contacts/model/account/
DAccountDisplayInfo.java47 public AccountWithDataSet getSource() { in getSource() method in AccountDisplayInfo
DAccountInfo.java47 return mDisplayInfo.getSource(); in getAccount()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DMockSource.java163 public Source getSource() { in getSource() method in MockSource.Result
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DMotionEventHelper.java58 int source = e.getSource(); in transformEventOld()
/packages/apps/Camera2/src/com/android/camera/ui/
DFilmstripGestureRecognizer.java71 if ((event.getSource() & InputDevice.SOURCE_CLASS_POINTER) != 0) { in onGenericMotionEvent()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/helpers/
DImage.java223 public int getSource() { in getSource() method in Image
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DLauncherRecentsView.java106 recoveryData.getStagePosition(), recoveryData.getSource() in onTaskIconChanged()
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/service/
DLeanbackImeService.java210 if (isInputViewShown() && (event.getSource() & InputDevice.SOURCE_TOUCH_NAVIGATION) in onGenericMotionEvent()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DGalleryActivity.java257 final boolean isTouchPad = (event.getSource() in onGenericMotionEvent()
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DMainClusterActivity.java338 event.setSource(event.getSource() | InputDevice.SOURCE_CLASS_POINTER); in onKeyEvent()
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java1501 if ((event.getSource() & InputDevice.SOURCE_CLASS_POINTER) != 0) { in onGenericMotionEvent()

12