/packages/apps/Settings/src/com/android/settings/widget/ |
D | MediaAnimationController.java | 84 public void attachView(TextureView video, View preview, View playButton) { in attachView() argument 85 updateViewStates(preview, playButton); in attachView() 115 playButton.setVisibility(View.GONE); in attachView() 119 && playButton.getVisibility() != View.VISIBLE) { in attachView() 120 playButton.setVisibility(View.VISIBLE); in attachView() 124 video.setOnClickListener(v -> updateViewStates(preview, playButton)); in attachView() 138 private void updateViewStates(View imageView, View playButton) { in updateViewStates() argument 141 playButton.setVisibility(View.VISIBLE); in updateViewStates() 145 playButton.setVisibility(View.GONE); in updateViewStates()
|
D | VectorAnimationController.java | 85 public void attachView(TextureView video, View preview, View playButton) { in attachView() argument 88 updateViewStates(preview, playButton); in attachView() 89 preview.setOnClickListener(v -> updateViewStates(preview, playButton)); in attachView() 98 private void updateViewStates(View imageView, View playButton) { in updateViewStates() argument 102 playButton.setVisibility(View.VISIBLE); in updateViewStates() 105 playButton.setVisibility(View.GONE); in updateViewStates()
|
D | VideoPreference.java | 228 void attachView(TextureView video, View preview, View playButton); in attachView() argument
|
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/template/ |
D | CarNotificationActionsViewTest.java | 147 Button playButton = mCarNotificationActionsView.getActionButtons().get( in onBind_actionExists_isCarCompatibleMessage_playButtonIsVisible() local 150 assertThat(playButton.getVisibility()).isEqualTo(View.VISIBLE); in onBind_actionExists_isCarCompatibleMessage_playButtonIsVisible() 159 Button playButton = mCarNotificationActionsView.getActionButtons().get( in onBind_actionExists_isCarCompatibleMessage_playButtonHasClickListener() local 162 assertThat(playButton.hasOnClickListeners()).isTrue(); in onBind_actionExists_isCarCompatibleMessage_playButtonHasClickListener() 171 Button playButton = mCarNotificationActionsView.getActionButtons().get( in onBind_actionExists_isCarCompatibleMessage_playButtonShowsPlayLabel() local 174 assertThat(playButton.getText()) in onBind_actionExists_isCarCompatibleMessage_playButtonShowsPlayLabel() 187 Button playButton = mCarNotificationActionsView.getActionButtons().get( in onBind_carCompatibleMessage_noAssistantNoFallback_playButtonIsHidden() local 190 assertThat(playButton.getVisibility()).isNotEqualTo(View.VISIBLE); in onBind_carCompatibleMessage_noAssistantNoFallback_playButtonIsHidden() 202 Button playButton = mCarNotificationActionsView.getActionButtons().get( in onBind_carCompatibleMessage_noAssistantWithFallback_playButtonIsVisible() local 205 assertThat(playButton.getVisibility()).isEqualTo(View.VISIBLE); in onBind_carCompatibleMessage_noAssistantWithFallback_playButtonIsVisible() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/ |
D | NewVoicemailMediaPlayerView.java | 59 private ImageButton playButton; field in NewVoicemailMediaPlayerView 96 playButton = findViewById(R.id.playButton); in initializeMediaPlayerButtonsAndViews() 113 playButton.setOnClickListener(playButtonListener); in setupListenersForMediaPlayerButtons() 211 playButton.setVisibility(GONE); in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView() 225 playButton.setVisibility(VISIBLE); in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView() 237 playButton.setVisibility(VISIBLE); in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView() 304 Assert.checkArgument(playButton.getVisibility() == GONE); 565 playButton.setVisibility(GONE); in updateSeekBarDurationAndShowPlayButton() 578 Assert.checkArgument(playButton.getVisibility() == GONE); in updateSeekBarDurationAndShowPlayButton() 605 playButton.getVisibility() == VISIBLE, in setToResetState() [all …]
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | VideoItem.java | 46 public VideoViewHolder(ImageView videoView, ImageView playButton) { in VideoViewHolder() argument 48 mPlayButton = playButton; in VideoViewHolder() 161 ImageView playButton = (ImageView) view.findViewById(R.id.play_button); in getView() local 163 viewHolder = new VideoViewHolder(videoView, playButton); in getView()
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/settings/ |
D | CurrentVoicemailGreetingActivity.java | 45 private ImageButton playButton; field in CurrentVoicemailGreetingActivity 79 playButton = (ImageButton) findViewById(R.id.play_button); in onCreate() 80 playButton.setOnClickListener( in onCreate()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | AudioAttachmentView.java | 376 final ImageView playButton = (ImageView) findViewById(R.id.play_button); in initializeViewsForMode() local 377 playButton.setImageDrawable( in initializeViewsForMode()
|
/packages/apps/Messaging/src/com/android/messaging/widget/ |
D | WidgetConversationService.java | 188 remoteViews.setViewVisibility(R.id.playButton, part.isVideo() ? in getViewAt()
|