/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/ |
D | MetadataController.java | 32 import com.android.car.apps.common.util.ViewUtils; 96 ViewUtils.setVisible(title, false); in MetadataController() 97 ViewUtils.setVisible(artist, false); in MetadataController() 98 ViewUtils.setVisible(albumTitle, false); in MetadataController() 99 ViewUtils.setVisible(albumArt, false); in MetadataController() 107 ViewUtils.setVisible(title, true); in MetadataController() 112 ViewUtils.setVisible(artist, !TextUtils.isEmpty(artistName)); in MetadataController() 129 ViewUtils.setVisible(albumArt, true); in MetadataController() 136 ViewUtils.setVisible(currentTime, hasTime); in MetadataController() 137 ViewUtils.setVisible(innerSeparator, hasTime); in MetadataController() [all …]
|
D | MediaAppSelectorWidget.java | 31 import com.android.car.apps.common.util.ViewUtils; 98 ViewUtils.setVisible(mAppSwitchIcon, false); in MediaAppSelectorWidget()
|
D | PlaybackFragment.java | 40 import com.android.car.apps.common.util.ViewUtils; 73 state -> ViewUtils.setVisible(playbackControls, in onCreateView()
|
/packages/apps/Car/Media/src/com/android/car/media/ |
D | MediaActivity.java | 51 import com.android.car.apps.common.util.ViewUtils; 284 ViewUtils.setVisible(mMiniPlaybackControls, mCanShowMiniPlaybackControls); in handlePlaybackState() 496 ViewUtils.showViewAnimated(mErrorContainer, mFadeDuration); in changeMode() 497 ViewUtils.hideViewAnimated(mPlaybackContainer, mFadeDuration); in changeMode() 498 ViewUtils.hideViewAnimated(mBrowseContainer, mFadeDuration); in changeMode() 499 ViewUtils.hideViewAnimated(mSearchContainer, mFadeDuration); in changeMode() 510 ViewUtils.hideViewAnimated(mErrorContainer, mFadeDuration); in changeMode() 511 ViewUtils.showViewAnimated(mPlaybackContainer, mFadeDuration); in changeMode() 512 ViewUtils.hideViewAnimated(mBrowseContainer, mFadeDuration); in changeMode() 513 ViewUtils.hideViewAnimated(mSearchContainer, mFadeDuration); in changeMode() [all …]
|
D | PlaybackFragment.java | 43 import com.android.car.apps.common.util.ViewUtils; 133 ViewUtils.setVisible(mThumbnailContainer, mShowThumbnailForQueueItem); in bind() 139 ViewUtils.setVisible(mSpacer, !mShowThumbnailForQueueItem); in bind() 151 ViewUtils.setVisible(mCurrentTime, shouldShowTime); in bind() 152 ViewUtils.setVisible(mMaxTime, shouldShowTime); in bind() 153 ViewUtils.setVisible(mTimeSeparator, shouldShowTime); in bind() 156 ViewUtils.setVisible(mActiveIcon, shouldShowIcon); in bind() 277 ViewUtils.setVisible(mBackgroundScrim, false); in onCreateView() 279 ViewUtils.setVisible(mControlBarScrim, false); in onCreateView() 382 ViewUtils.showViewAnimated(mControlBarScrim, millis); in initPlaybackControls() [all …]
|
D | BrowseFragment.java | 43 import com.android.car.apps.common.util.ViewUtils; 186 ViewUtils.hideViewAnimated(mErrorIcon, mFadeDuration); in resetSearchState() 187 ViewUtils.hideViewAnimated(mMessage, mFadeDuration); in resetSearchState() 272 ViewUtils.hideViewAnimated(mBrowseList, mFadeDuration); in onCreateView() 281 ViewUtils.hideViewAnimated(mBrowseList, mFadeDuration); in onCreateView() 282 ViewUtils.showViewAnimated(mMessage, mFadeDuration); in onCreateView() 283 ViewUtils.showViewAnimated(mErrorIcon, mFadeDuration); in onCreateView() 286 ViewUtils.hideViewAnimated(mBrowseList, mFadeDuration); in onCreateView() 287 ViewUtils.hideViewAnimated(mErrorIcon, mFadeDuration); in onCreateView() 288 ViewUtils.showViewAnimated(mMessage, mFadeDuration); in onCreateView() [all …]
|
D | EmptyFragment.java | 16 import com.android.car.apps.common.util.ViewUtils; 36 ViewUtils.showViewAnimated(mMessage, mFadeDuration);
|
/packages/apps/Car/Media/src/com/android/car/media/browse/ |
D | BrowseViewHolder.java | 28 import com.android.car.apps.common.util.ViewUtils; 79 ViewUtils.setVisible(mSubtitle, showSubtitle); in bind() 87 ViewUtils.setVisible(mRightArrow, hasMediaItem && data.mMediaItem.isBrowsable()); in bind() 93 ViewUtils.setVisible(mTitleDownloadIcon, !showSubtitle && downloaded); in bind() 94 ViewUtils.setVisible(mTitleExplicitIcon, !showSubtitle && explicit); in bind() 95 ViewUtils.setVisible(mSubTitleDownloadIcon, showSubtitle && downloaded); in bind() 96 ViewUtils.setVisible(mSubTitleExplicitIcon, showSubtitle && explicit); in bind()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/dialpad/ |
D | DialpadFragment.java | 36 import com.android.car.apps.common.util.ViewUtils; 214 ViewUtils.setVisible(mDeleteButton, false); in presentDialedNumber() 223 ViewUtils.setVisible(mDeleteButton, true); in presentDialedNumber() 232 ViewUtils.setText(mDisplayName, contact == null ? "" : contact.getDisplayName()); in presentContactName()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | RecordingCardView.java | 36 import com.android.tv.ui.ViewUtils; 115 ViewUtils.setLayoutHeight( in RecordingCardView() 168 ViewUtils.setLayoutHeight(mTitleArea, mExpandedTitleHeight); in expandTitle() 172 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/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationItemViewCoordinates.java | 35 import com.android.mail.utils.ViewUtils; 314 final boolean isRtl = ViewUtils.isViewRtl(view); in ConversationItemViewCoordinates() 394 datePaddingStart = ViewUtils.getPaddingStart(date); in ConversationItemViewCoordinates() 400 paperclipPaddingStart = ViewUtils.getPaddingStart(paperclip); in ConversationItemViewCoordinates()
|
D | ConversationItemView.java | 87 import com.android.mail.utils.ViewUtils; 375 ViewUtils.setTextAlignment(mSubjectTextView, View.TEXT_ALIGNMENT_VIEW_START); in ConversationItemView() 383 ViewUtils.setTextAlignment(mSnippetTextView, View.TEXT_ALIGNMENT_VIEW_START); in ConversationItemView() 965 final boolean isRtl = ViewUtils.isViewRtl(this); in calculateCoordinates() 1213 mHeader.folderDisplayer.drawFolders(canvas, mCoordinates, ViewUtils.isViewRtl(this)); in onDraw() 1279 final boolean isRtl = ViewUtils.isViewRtl(this); in onDraw() 1328 final int x = mCoordinates.snippetX + (ViewUtils.isViewRtl(this) ? folderWidth : 0); in drawSnippet() 1453 final boolean isRtl = ViewUtils.isViewRtl(this); in isTouchInContactPhoto() 1477 final boolean isRtl = ViewUtils.isViewRtl(this); in isTouchInInfoIcon() 1506 return mStarEnabled && isTouchInStarTargetX(ViewUtils.isViewRtl(this), x); in isTouchInStar()
|
D | SuperCollapsedBlock.java | 29 import com.android.mail.utils.ViewUtils; 101 ViewUtils.announceForAccessibility(this, announcement); in onClick()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | BidiViewPagerHelper.java | 22 import com.android.mail.utils.ViewUtils; 56 if (ViewUtils.isViewRtl(mViewPager)) { in getBidiIndex()
|
D | MailActivity.java | 52 import com.android.mail.utils.ViewUtils; 501 ViewUtils.setStatusBarColor(this, R.color.action_mode_statusbar_color); in onSupportActionModeStarted() 507 ViewUtils.setStatusBarColor(this, R.color.mail_activity_status_bar_color); in onSupportActionModeFinished()
|
D | CustomViewToolbar.java | 33 import com.android.mail.utils.ViewUtils; 143 if (ViewUtils.isViewRtl(this)) { in onConversationListLayout()
|
D | AttachmentTileGrid.java | 37 import com.android.mail.utils.ViewUtils; 191 final boolean isRtl = ViewUtils.isViewRtl(this); in onLayoutForTiles()
|
D | MaterialSearchActionView.java | 42 import com.android.mail.utils.ViewUtils; 121 if (ViewUtils.isViewRtl(this)) { in adjustViewForTwoPaneLandscape()
|
D | MaterialSearchViewController.java | 35 import com.android.mail.utils.ViewUtils; 198 ViewUtils.setStatusBarColor(mActivity, statusBarColor); in showSearchActionBar()
|
D | TwoPaneLayout.java | 44 import com.android.mail.utils.ViewUtils; 222 if (ViewUtils.isViewRtl(this)) { in dispatchDraw() 275 mIsRtl = ViewUtils.isViewRtl(this); in onLayout()
|
D | ActionableToastBar.java | 37 import com.android.mail.utils.ViewUtils; 229 ViewUtils.announceForAccessibility(this, descriptionText); in show()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | ViewUtils.java | 28 public class ViewUtils { class 31 private ViewUtils() { in ViewUtils() method in ViewUtils
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/warning/ |
D | NoHfpFragment.java | 31 import com.android.car.apps.common.util.ViewUtils; 99 ViewUtils.setVisible(emergencyButton, UiCallManager.get().isEmergencyCallSupported()); in onCreateView()
|
/packages/apps/TV/src/com/android/tv/guide/ |
D | ProgramGuide.java | 64 import com.android.tv.ui.ViewUtils; 885 ViewUtils.setLayoutHeight(detailView, mDetailHeight); in selectRow() 929 ViewUtils.createHeightAnimator( in animateRowChange() 930 outDetail, ViewUtils.getLayoutHeight(outDetail), 0); in animateRowChange() 963 Animator expandAnimator = ViewUtils.createHeightAnimator(inDetail, 0, mDetailHeight); in animateRowChange()
|