/frameworks/support/leanback/src/androidTest/java/androidx/leanback/media/ |
D | PlaybackGlueTest.java | 52 PlaybackGlue glue = Mockito.spy(new PlaybackGlueImpl(context)); in glueAndHostInteraction() local 55 glue.setHost(host); in glueAndHostInteraction() 56 Mockito.verify(glue, times(1)).onAttachedToHost(host); in glueAndHostInteraction() 57 assertSame(glue, host.mGlue); in glueAndHostInteraction() 58 assertSame(host, glue.getHost()); in glueAndHostInteraction() 61 Mockito.verify(glue, times(1)).onHostStart(); in glueAndHostInteraction() 64 Mockito.verify(glue, times(1)).onHostResume(); in glueAndHostInteraction() 67 Mockito.verify(glue, times(1)).onHostPause(); in glueAndHostInteraction() 70 Mockito.verify(glue, times(1)).onHostStop(); in glueAndHostInteraction() 74 Mockito.verify(glue, times(1)).onDetachedFromHost(); in glueAndHostInteraction() [all …]
|
D | MediaPlayerGlueTest.java | 58 final MediaPlayerGlue glue = Mockito.spy(result[0]); in mediaPlayer() local 59 Mockito.when(glue.getUpdatePeriod()).thenReturn(100); in mediaPlayer() 63 glue.setHost(host); in mediaPlayer() 64 glue.setMode(MediaPlayerGlue.REPEAT_ALL); in mediaPlayer() 66 glue.addPlayerCallback(new PlaybackGlue.PlayerCallback() { in mediaPlayer() 68 public void onPreparedStateChanged(PlaybackGlue glue) { in mediaPlayer() 69 if (glue.isPrepared()) { in mediaPlayer() 70 glue.play(); in mediaPlayer() 78 glue.setMediaSource(Uri.parse( in mediaPlayer() 93 glue.enableProgressUpdating(true); in mediaPlayer() [all …]
|
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/ |
D | SampleVideoSupportFragment.java | 62 static void playWhenReady(PlaybackGlue glue) { in playWhenReady() argument 63 if (glue.isPrepared()) { in playWhenReady() 64 glue.play(); in playWhenReady() 66 glue.addPlayerCallback(new PlaybackGlue.PlayerCallback() { in playWhenReady() 68 public void onPreparedStateChanged(PlaybackGlue glue) { in playWhenReady() 69 if (glue.isPrepared()) { in playWhenReady() 70 glue.removePlayerCallback(this); in playWhenReady() 71 glue.play(); in playWhenReady() 78 static void loadSeekData(final PlaybackTransportControlGlue glue) { in loadSeekData() argument 79 if (glue.isPrepared()) { in loadSeekData() [all …]
|
D | SampleVideoFragment.java | 59 static void playWhenReady(PlaybackGlue glue) { in playWhenReady() argument 60 if (glue.isPrepared()) { in playWhenReady() 61 glue.play(); in playWhenReady() 63 glue.addPlayerCallback(new PlaybackGlue.PlayerCallback() { in playWhenReady() 65 public void onPreparedStateChanged(PlaybackGlue glue) { in playWhenReady() 66 if (glue.isPrepared()) { in playWhenReady() 67 glue.removePlayerCallback(this); in playWhenReady() 68 glue.play(); in playWhenReady() 75 static void loadSeekData(final PlaybackTransportControlGlue glue) { in loadSeekData() argument 76 if (glue.isPrepared()) { in loadSeekData() [all …]
|
D | VideoConsumptionWithDetailCardFragment.java | 49 private static void playWhenReady(PlaybackGlue glue) { in playWhenReady() argument 50 if (glue.isPrepared()) { in playWhenReady() 51 glue.play(); in playWhenReady() 53 glue.addPlayerCallback(new PlaybackGlue.PlayerCallback() { in playWhenReady() 55 public void onPreparedStateChanged(PlaybackGlue glue) { in playWhenReady() 56 if (glue.isPrepared()) { in playWhenReady() 57 glue.removePlayerCallback(this); in playWhenReady() 58 glue.play(); in playWhenReady()
|
D | NewDetailsSupportFragment.java | 108 public void onPreparedStateChanged(PlaybackGlue glue) { in setupMainVideo() 109 super.onPreparedStateChanged(glue); in setupMainVideo() 110 PlaybackTransportControlGlue controlGlue = (PlaybackTransportControlGlue) glue; in setupMainVideo()
|
D | NewDetailsFragment.java | 105 public void onPreparedStateChanged(PlaybackGlue glue) { in setupMainVideo() 106 super.onPreparedStateChanged(glue); in setupMainVideo() 107 PlaybackTransportControlGlue controlGlue = (PlaybackTransportControlGlue) glue; in setupMainVideo()
|
/frameworks/support/leanback/src/main/java/androidx/leanback/media/ |
D | PlaybackGlue.java | 56 public void onPreparedStateChanged(PlaybackGlue glue) { in onPreparedStateChanged() argument 63 public void onPlayStateChanged(PlaybackGlue glue) { in onPlayStateChanged() argument 70 public void onPlayCompleted(PlaybackGlue glue) { in onPlayCompleted() argument 153 public void onPreparedStateChanged(PlaybackGlue glue) { in playWhenPrepared() 154 if (glue.isPrepared()) { in playWhenPrepared()
|
D | PlaybackTransportControlGlue.java | 102 PlaybackTransportControlGlue glue = in handleMessage() local 104 if (glue != null) { in handleMessage() 105 glue.onUpdatePlaybackState(); in handleMessage() 145 PlaybackBaseControlGlue glue = (PlaybackBaseControlGlue) obj; in onCreateRowPresenter() 146 viewHolder.getTitle().setText(glue.getTitle()); in onCreateRowPresenter() 147 viewHolder.getSubtitle().setText(glue.getSubtitle()); in onCreateRowPresenter()
|
D | PlaybackGlueHost.java | 214 final void attachToGlue(PlaybackGlue glue) { in attachToGlue() argument 218 mGlue = glue; in attachToGlue()
|
D | PlaybackControlGlue.java | 198 PlaybackControlGlue glue = ((WeakReference<PlaybackControlGlue>) msg.obj).get(); in handleMessage() local 199 if (glue != null) { in handleMessage() 200 glue.updatePlaybackState(); in handleMessage() 284 PlaybackControlGlue glue = (PlaybackControlGlue) object; in onCreateControlsRowAndPresenter() 285 if (glue.hasValidMedia()) { in onCreateControlsRowAndPresenter() 286 viewHolder.getTitle().setText(glue.getMediaTitle()); in onCreateControlsRowAndPresenter() 287 viewHolder.getSubtitle().setText(glue.getMediaSubtitle()); in onCreateControlsRowAndPresenter()
|
D | PlaybackBannerControlGlue.java | 330 PlaybackBannerControlGlue glue = (PlaybackBannerControlGlue) object; in onCreateRowPresenter() 331 viewHolder.getTitle().setText(glue.getTitle()); in onCreateRowPresenter() 332 viewHolder.getSubtitle().setText(glue.getSubtitle()); in onCreateRowPresenter()
|
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/ |
D | KCode.kt | 25 class Appendix(val glue : String, val code : KCode) in <lambda>() constant in android.databinding.tool.writer.KCode.Appendix 103 fun app(glue : String = "", c : KCode?) : KCode { in <lambda>() 107 nodes.add(Appendix(glue, c!!)) in <lambda>() 116 fun app(glue : String = "", s : String?, init : (KCode.() -> Unit)? = null) : KCode { in <lambda>() 121 return app(glue, c) in <lambda>() 133 sb.append(it.glue) in <lambda>()
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/ |
D | DetailsSupportFragmentTest.java | 587 final MediaPlayerGlue glue = new MediaPlayerGlue(activity); 588 detailsFragment.mDetailsBackgroundController.setupVideoPlayback(glue); 589 glue.setMode(MediaPlayerGlue.REPEAT_ALL); 590 glue.setArtist("A Googleer"); 591 glue.setTitle("Diving with Sharks"); 592 glue.setMediaSource(Uri.parse( 762 final MediaPlayerGlue glue = new MediaPlayerGlue(activity); 763 detailsFragment.mDetailsBackgroundController.setupVideoPlayback(glue); 764 glue.setMode(MediaPlayerGlue.REPEAT_ALL); 765 glue.setArtist("A Googleer"); [all …]
|
D | DetailsFragmentTest.java | 590 final MediaPlayerGlue glue = new MediaPlayerGlue(activity); 591 detailsFragment.mDetailsBackgroundController.setupVideoPlayback(glue); 592 glue.setMode(MediaPlayerGlue.REPEAT_ALL); 593 glue.setArtist("A Googleer"); 594 glue.setTitle("Diving with Sharks"); 595 glue.setMediaSource(Uri.parse( 765 final MediaPlayerGlue glue = new MediaPlayerGlue(activity); 766 detailsFragment.mDetailsBackgroundController.setupVideoPlayback(glue); 767 glue.setMode(MediaPlayerGlue.REPEAT_ALL); 768 glue.setArtist("A Googleer"); [all …]
|
D | PlaybackFragmentTest.java | 69 PlaybackGlue glue = fragment.getGlue(); in testDetachCalledWhenDestroyFragment() local 82 assertNull(glue.getHost()); in testDetachCalledWhenDestroyFragment() 308 PlaybackGlue glue = new PlaybackControlGlue( in onCreate() local 355 glue.setHost(new PlaybackFragmentGlueHost(this)); in onCreate()
|
D | PlaybackSupportFragmentTest.java | 66 PlaybackGlue glue = fragment.getGlue(); in testDetachCalledWhenDestroyFragment() local 79 assertNull(glue.getHost()); in testDetachCalledWhenDestroyFragment() 305 PlaybackGlue glue = new PlaybackControlGlue( in onCreate() local 352 glue.setHost(new PlaybackSupportFragmentGlueHost(this)); in onCreate()
|
D | VideoFragmentTest.java | 170 public void onPreparedStateChanged(PlaybackGlue glue) { in onCreate() 171 if (glue.isPrepared()) { in onCreate()
|
D | VideoSupportFragmentTest.java | 167 public void onPreparedStateChanged(PlaybackGlue glue) { in onCreate() 168 if (glue.isPrepared()) { in onCreate()
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/ |
D | Location.java | 199 int glue = str.indexOf('-'); in fromUserReadableString() local 200 if (glue == -1) { in fromUserReadableString() 203 String start = str.substring(0, glue); in fromUserReadableString() 204 String end = str.substring(glue + 1); in fromUserReadableString()
|
/frameworks/support/leanback/src/main/java/androidx/leanback/app/ |
D | DetailsBackgroundVideoHelper.java | 238 public void onPreparedStateChanged(PlaybackGlue glue) { in onPreparedStateChanged() argument 239 if (glue.isPrepared()) { in onPreparedStateChanged()
|
/frameworks/wilhelm/src/ |
D | README.txt | 7 * Common glue code
|
/frameworks/support/work/integration-tests/testapp/src/main/assets/ |
D | case.txt | 8555 "It is glue, Watson," said he. "Unquestionably it is glue. Have a 8562 in the centre are undoubtedly glue." 8570 maker who habitually handles glue."
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
D | databinding-studio-bundle.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/databinding/
android/ ... |