/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/ |
D | MetadataController.java | 35 import com.android.car.apps.common.util.ViewUtils; 104 ViewUtils.setVisible(title, false); in MetadataController() 105 ViewUtils.setVisible(artist, false); in MetadataController() 106 ViewUtils.setVisible(albumTitle, false); in MetadataController() 107 ViewUtils.setVisible(albumArt, false); in MetadataController() 115 ViewUtils.setVisible(title, true); in MetadataController() 120 ViewUtils.setVisible(artist, !TextUtils.isEmpty(artistName)); in MetadataController() 123 ViewUtils.setVisible(albumArt, true); in MetadataController() 131 ViewUtils.setVisible(currentTime, hasTime); in MetadataController() 132 ViewUtils.setVisible(innerSeparator, hasTime); in MetadataController() [all …]
|
D | PlaybackFragment.java | 45 import com.android.car.apps.common.util.ViewUtils; 77 state -> ViewUtils.setVisible(playbackControls, in onCreateView()
|
/packages/apps/Car/Media/src/com/android/car/media/ |
D | PlaybackFragment.java | 47 import com.android.car.apps.common.util.ViewUtils; 152 ViewUtils.setVisible(mThumbnailContainer, mShowThumbnailForQueueItem); in bind() 158 ViewUtils.setVisible(mSpacer, !mShowThumbnailForQueueItem); in bind() 170 ViewUtils.setVisible(mCurrentTime, shouldShowTime); in bind() 171 ViewUtils.setVisible(mMaxTime, shouldShowTime); in bind() 172 ViewUtils.setVisible(mTimeSeparator, shouldShowTime); in bind() 175 ViewUtils.setVisible(mActiveIcon, shouldShowIcon); in bind() 361 ViewUtils.setVisible(mBackgroundScrim, false); in onCreateView() 364 ViewUtils.setVisible(mControlBarScrim, false); in onCreateView() 419 ViewUtils.Filter ignoreSeekBarFilter = in onCreateView() [all …]
|
D | BrowseFragment.java | 41 import com.android.car.apps.common.util.ViewUtils; 214 ViewUtils.hideViewAnimated(mErrorIcon, mFadeDuration); in resetState() 215 ViewUtils.hideViewAnimated(mMessage, mFadeDuration); in resetState() 282 ViewUtils.hideViewAnimated(mBrowseList, mFadeDuration); in BrowseFragment() 283 ViewUtils.showViewAnimated(mMessage, mFadeDuration); in BrowseFragment() 284 ViewUtils.showViewAnimated(mErrorIcon, mFadeDuration); in BrowseFragment() 287 ViewUtils.hideViewAnimated(mBrowseList, mFadeDuration); in BrowseFragment() 288 ViewUtils.hideViewAnimated(mErrorIcon, mFadeDuration); in BrowseFragment() 289 ViewUtils.showViewAnimated(mMessage, mFadeDuration); in BrowseFragment() 291 ViewUtils.showViewAnimated(mBrowseList, mFadeDuration); in BrowseFragment() [all …]
|
D | MediaActivity.java | 56 import com.android.car.apps.common.util.ViewUtils; 639 ViewUtils.showViewAnimated(mErrorContainer, mFadeDuration); in changeModeInternal() 640 ViewUtils.hideViewAnimated(mPlaybackContainer, fadeOutDuration); in changeModeInternal() 641 ViewUtils.hideViewAnimated(mBrowseContainer, fadeOutDuration); in changeModeInternal() 642 ViewUtils.hideViewAnimated(mSearchContainer, fadeOutDuration); in changeModeInternal() 645 ViewUtils.showViewAnimated(mAppBarView, mFadeDuration); in changeModeInternal() 650 ViewUtils.hideViewAnimated(mErrorContainer, fadeOutDuration); in changeModeInternal() 651 ViewUtils.showViewAnimated(mPlaybackContainer, mFadeDuration); in changeModeInternal() 652 ViewUtils.hideViewAnimated(mBrowseContainer, fadeOutDuration); in changeModeInternal() 653 ViewUtils.hideViewAnimated(mSearchContainer, fadeOutDuration); in changeModeInternal() [all …]
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/ |
D | ContactListViewHolder.java | 27 import com.android.car.apps.common.util.ViewUtils; 69 ViewUtils.setVisible(mHeaderView, showHeader); in bind() 71 ViewUtils.setText(mHeaderView, header); in bind() 110 ViewUtils.setEnabled(mCallActionView, hasPhoneNumbers); in setCallActionView() 111 ViewUtils.setVisible(mCallActionView, hasPhoneNumbers || forceShowButton); in setCallActionView() 114 ViewUtils.setOnClickListener(mCallActionView, view -> { in setCallActionView() 120 ViewUtils.setOnClickListener(mCallActionView, null); in setCallActionView() 131 ViewUtils.setEnabled(mShowContactDetailView, hasContactDetail); in setShowContactDetailView() 132 ViewUtils.setVisible(mShowContactDetailView, hasContactDetail || forceShowButton); in setShowContactDetailView() 135 ViewUtils.setOnClickListener(mShowContactDetailView, in setShowContactDetailView() [all …]
|
D | ContactDetailsViewHolder.java | 34 import com.android.car.apps.common.util.ViewUtils; 102 ViewUtils.setText(mTitle, R.string.error_contact_deleted); in bind() 115 ViewUtils.setText(mTitle, contact.getDisplayName()); in bind() 177 ViewUtils.setActivated(mFavoriteActionView, phoneNumber.isFavorite()); in bind() 178 ViewUtils.setEnabled(mFavoriteActionView, true); in bind() 179 ViewUtils.setOnClickListener(mFavoriteActionView, v -> { in bind() 187 ViewUtils.setActivated(mFavoriteActionView, false); in bind() 188 ViewUtils.setEnabled(mFavoriteActionView, false); in bind() 189 ViewUtils.setOnClickListener(mFavoriteActionView, null); in bind() 198 ViewUtils.setText(mText, postalAddress.getReadableLabel(resources)); in bind()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/calllog/ |
D | CallLogViewHolder.java | 26 import com.android.car.apps.common.util.ViewUtils; 99 ViewUtils.setOnClickListener(mPlaceCallView, in bind() 110 ViewUtils.setOnClickListener(mPlaceCallView, null); in recycle() 121 ViewUtils.setVisible(mDivider, contact != null || forceShowActionButton); in setUpActionButton() 122 ViewUtils.setVisible(mActionButton, contact != null || forceShowActionButton); in setUpActionButton() 123 ViewUtils.setEnabled(mActionButton, contact != null); in setUpActionButton() 126 ViewUtils.setOnClickListener(mActionButton, in setUpActionButton() 129 ViewUtils.setOnClickListener(mActionButton, null); in setUpActionButton()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/widget/ |
D | LoadingFrameLayout.java | 36 import com.android.car.apps.common.util.ViewUtils; 231 ViewUtils.setVisible((View) findViewById(R.id.list_view), state == State.CONTENT); in switchTo() 344 ViewUtils.setText(mMessageView, messageResId); in setMessage() 346 ViewUtils.setVisible(mMessageView, false); in setMessage() 353 ViewUtils.setText(mSecondaryMessageView, secondaryMessageResId); in setSecondaryMessage() 355 ViewUtils.setVisible(mSecondaryMessageView, false); in setSecondaryMessage() 362 ViewUtils.setOnClickListener(mActionButton, actionButtonOnClickListener); in setActionButtonClickListener() 368 ViewUtils.setText(mActionButton, actionButtonTextResId); in setActionButtonText() 374 ViewUtils.setVisible(mActionButton, visible); in setActionButtonVisible() 384 ViewUtils.setVisible(mIconView, false); in setIcon()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/dialpad/ |
D | DialpadFragment.java | 37 import com.android.car.apps.common.util.ViewUtils; 241 ViewUtils.setVisible(mDeleteButton, false); in presentDialedNumber() 251 ViewUtils.setVisible(mDeleteButton, true); in presentDialedNumber() 256 ViewUtils.setVisible(mRecyclerView, true); in presentDialedNumber() 271 ViewUtils.setText(mDisplayName, contact == null ? "" : contact.getDisplayName()); in presentContactInfo() 284 ViewUtils.setText(mLabel, phoneNumber.isPrimary() ? getContext().getString( in presentContactDetail() 286 ViewUtils.setVisible(mLabel, true); in presentContactDetail() 289 ViewUtils.setVisible(mAvatar, true); in presentContactDetail() 293 ViewUtils.setVisible(mLabel, false); in resetContactInfo() 294 ViewUtils.setVisible(mAvatar, false); in resetContactInfo()
|
/packages/apps/Car/Media/src/com/android/car/media/browse/ |
D | BrowseViewHolder.java | 30 import com.android.car.apps.common.util.ViewUtils; 88 ViewUtils.setVisible(mSubtitle, showSubtitle); in bind() 96 ViewUtils.setVisible(mRightArrow, hasMediaItem && data.mMediaItem.isBrowsable()); in bind() 102 ViewUtils.setVisible(mTitleDownloadIcon, !showSubtitle && downloaded); in bind() 103 ViewUtils.setVisible(mTitleExplicitIcon, !showSubtitle && explicit); in bind() 104 ViewUtils.setVisible(mSubTitleDownloadIcon, showSubtitle && downloaded); in bind() 105 ViewUtils.setVisible(mSubTitleExplicitIcon, showSubtitle && explicit); in bind()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/search/ |
D | ContactResultViewHolder.java | 27 import com.android.car.apps.common.util.ViewUtils; 74 ViewUtils.setText(mContactName, contact.getDisplayName()); in bindSearchResult() 93 ViewUtils.setText(mContactNumber, number); in bindTypeDownResult() 94 ViewUtils.setText(mContactName, contact.getDisplayName()); in bindTypeDownResult()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | RecordingCardView.java | 38 import com.android.tv.ui.ViewUtils; 118 ViewUtils.setLayoutHeight( in RecordingCardView() 180 ViewUtils.setLayoutHeight(mTitleArea, mExpandedTitleHeight); in expandTitle() 184 ViewUtils.setLayoutHeight(mTitleArea, mFoldedTitleHeight); in expandTitle()
|
D | DetailsContentPresenter.java | 37 import com.android.tv.ui.ViewUtils; 240 int nowHeight = ViewUtils.getLayoutHeight(detailsFrame); in showFullText() 242 ViewUtils.createHeightAnimator(detailsFrame, nowHeight, nowHeight + heightDiff); in showFullText()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | ViewUtils.java | 30 public class ViewUtils { class 33 private ViewUtils() { in ViewUtils() method in ViewUtils
|
D | KeypadChannelSwitchView.java | 207 ViewUtils.setTransitionAlpha(mChannelItemListView, 1f); in onEnterAction()
|
D | SelectInputView.java | 372 ViewUtils.setTransitionAlpha(holder.itemView, 1f); in onBindViewHolder()
|
D | ChannelBannerView.java | 341 ViewUtils.setTransitionAlpha(mChannelView, 1f); in onEnterAction()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/favorite/ |
D | FavoriteContactViewHolder.java | 27 import com.android.car.apps.common.util.ViewUtils; 91 ViewUtils.setText(mTitle, header.getHeader()); in onBind()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/warning/ |
D | NoHfpFragment.java | 34 import com.android.car.apps.common.util.ViewUtils; 102 ViewUtils.setVisible(emergencyButton, UiCallManager.get().isEmergencyCallSupported()); in onCreateView()
|
/packages/apps/TV/src/com/android/tv/guide/ |
D | ProgramGuide.java | 66 import com.android.tv.ui.ViewUtils; 890 ViewUtils.setLayoutHeight(detailView, mDetailHeight); in selectRow() 934 ViewUtils.createHeightAnimator( in animateRowChange() 935 outDetail, ViewUtils.getLayoutHeight(outDetail), 0); in animateRowChange() 968 Animator expandAnimator = ViewUtils.createHeightAnimator(inDetail, 0, mDetailHeight); in animateRowChange()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/ |
D | OnGoingCallControllerBarFragment.java | 42 import com.android.car.apps.common.util.ViewUtils; 300 ViewUtils.setText(mAudioRouteText, audioRouteInfo.mLabel); in updateViewBasedOnAudioRoute()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/util/ |
D | ViewUtils.java | 36 public class ViewUtils { class
|