Home
last modified time | relevance | path

Searched refs:playButton (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/src/com/android/settings/widget/
DMediaAnimationController.java84 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()
DVectorAnimationController.java85 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()
DVideoPreference.java228 void attachView(TextureView video, View preview, View playButton); in attachView() argument
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/template/
DCarNotificationActionsViewTest.java147 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/
DNewVoicemailMediaPlayerView.java59 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/
DVideoItem.java46 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/
DCurrentVoicemailGreetingActivity.java45 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/
DAudioAttachmentView.java376 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/
DWidgetConversationService.java188 remoteViews.setViewVisibility(R.id.playButton, part.isVideo() ? in getViewAt()