Home
last modified time | relevance | path

Searched refs:UiUtils (Results 1 – 25 of 46) sorted by relevance

12

/packages/apps/Messaging/src/com/android/messaging/ui/animation/
DPopupTransitionAnimation.java33 import com.android.messaging.util.UiUtils;
85 setDuration(UiUtils.MEDIAPICKER_TRANSITION_DURATION); in PopupTransitionAnimation()
86 setInterpolator(UiUtils.DEFAULT_INTERPOLATOR); in PopupTransitionAnimation()
155 UiUtils.doOnceAfterLayoutChange(mViewToAnimate, this); in startAfterLayoutComplete()
187 mPopupRect.set(UiUtils.getMeasuredBoundsOnScreen(mPopupRoot)); in applyTransformation()
188 mActionBarRect.set(UiUtils.getMeasuredBoundsOnScreen(mActionBarView)); in applyTransformation()
298 outRect.set(UiUtils.getMeasuredBoundsOnScreen(view)); in getViewScreenMeasureRect()
DViewGroupItemVerticalExplodeAnimation.java38 import com.android.messaging.util.UiUtils;
118 final Rect containerRect = UiUtils.getMeasuredBoundsOnScreen(mContainer); in startAnimation()
119 final Rect decorRect = UiUtils.getMeasuredBoundsOnScreen(decorView); in startAnimation()
141 final Rect viewRect = UiUtils.getMeasuredBoundsOnScreen(mViewToAnimate); in startAnimation()
177 .setInterpolator(UiUtils.EASE_IN_INTERPOLATOR) in startAnimation()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseWrapper.java35 import com.android.messaging.util.UiUtils;
158 UiUtils.showToastAtBottom(R.string.db_full); in endTransaction()
189 UiUtils.showToastAtBottom(R.string.db_full); in insertWithOnConflict()
349 UiUtils.showToastAtBottom(R.string.db_full); in update()
369 UiUtils.showToastAtBottom(R.string.db_full); in delete()
391 UiUtils.showToastAtBottom(R.string.db_full); in insert()
411 UiUtils.showToastAtBottom(R.string.db_full); in replace()
433 UiUtils.showToastAtBottom(R.string.db_full); in execSQL()
451 UiUtils.showToastAtBottom(R.string.db_full); in execSQL()
471 UiUtils.showToastAtBottom(R.string.db_full); in execSQLUpdateDelete()
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactPickerFragment.java65 import com.android.messaging.util.UiUtils;
329 UiUtils.doOnceAfterLayoutChange(mRootView, new Runnable() { in showImeKeyboard()
370 true /* snapshotView */, UiUtils.COMPOSE_TRANSITION_DURATION); in updateVisualsForContactPickingMode()
438 UiUtils.showToast(R.string.too_many_participants); in maybeGetOrCreateConversation()
478 UiUtils.showToast(R.plurals.add_invalid_contact_error, prunedCount); in onInvalidContactChipsPruned()
512 UiUtils.getMeasuredBoundsOnScreen(mPendingExplodeView); in startExplodeTransitionForContactLists()
513 transition.setDuration(UiUtils.COMPOSE_TRANSITION_DURATION); in startExplodeTransitionForContactLists()
514 transition.setInterpolator(UiUtils.EASE_IN_INTERPOLATOR); in startExplodeTransitionForContactLists()
552 .setStartDelay(!show ? UiUtils.COMPOSE_TRANSITION_DURATION : 0) in showHideContactPagerWithAnimation()
579 UiUtils.setStatusBarColor(getActivity(), in updateActionBar()
/packages/apps/Messaging/src/com/android/messaging/util/
DChangeDefaultSmsAppHelper.java61 UiUtils.showToast(R.string.sms_disabled); in warnOfMissingActionConditions()
65 UiUtils.showToast(R.string.no_preferred_sim_selected); in warnOfMissingActionConditions()
94 UiUtils.showSnackBarWithCustomAction(activity, in promptToChangeDefaultSmsApp()
126 UiUtils.showToastAtBottom(R.string.activity_not_found_message); in run()
149 UiUtils.showToast(R.string.toast_after_setting_default_sms_app); in handleChangeDefaultSmsResult()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DMediaPickerPanel.java35 import com.android.messaging.util.UiUtils;
108 private boolean mLandscapeMode = UiUtils.isLandscapeMode(); in onFinishInflate()
113 final boolean newLandscapeMode = UiUtils.isLandscapeMode(); in onFinishInflate()
212 fullHeight -= UiUtils.getMeasuredBoundsOnScreen(composeContainer).top; in getDesiredHeight()
275 return mFullScreenOnly || UiUtils.isLandscapeMode(); in requiresFullScreen()
299 animation.setDuration(UiUtils.MEDIAPICKER_TRANSITION_DURATION); in setDesiredHeight()
300 animation.setInterpolator(UiUtils.EASE_OUT_INTERPOLATOR); in setDesiredHeight()
DCameraMediaChooser.java43 import com.android.messaging.util.UiUtils;
162 UiUtils.showToastAtBottom(R.string.camera_media_failure); in createView()
169 UiUtils.showToastAtBottom(R.string.camera_media_failure); in createView()
352 UiUtils.showToastAtBottom(mErrorToast); in showErrorToastIfNeeded()
/packages/apps/Messaging/src/com/android/messaging/ui/
DAttachmentPreview.java44 import com.android.messaging.util.UiUtils;
123 UiUtils.revealOrHideViewWithAnimation(mCloseButton, GONE, in hideAttachmentPreview()
131 UiUtils.revealOrHideViewWithAnimation(viewToHide, INVISIBLE, in hideAttachmentPreview()
201 UiUtils.revealOrHideViewWithAnimation(mCloseButton, VISIBLE, in onAttachmentsChanged()
204 }, UiUtils.MEDIAPICKER_TRANSITION_DURATION + CLOSE_BUTTON_REVEAL_STAGGER_MILLIS); in onAttachmentsChanged()
252 final Rect currentRect = UiUtils.getMeasuredBoundsOnScreen(leftoverView); in onAttachmentsChanged()
DLineWrapLayout.java26 import com.android.messaging.util.UiUtils;
46 final int startPadding = UiUtils.getPaddingStart(this); in onMeasure()
47 final int endPadding = UiUtils.getPaddingEnd(this); in onMeasure()
99 final int startPadding = UiUtils.getPaddingStart(this); in onLayout()
100 final int endPadding = UiUtils.getPaddingEnd(this); in onLayout()
DBaseBugleActivity.java24 import com.android.messaging.util.UiUtils;
34 if (UiUtils.redirectToPermissionCheckIfNeeded(this)) { in onCreate()
DPagingAwareViewPager.java24 import com.android.messaging.util.UiUtils;
60 if (adapter != null && UiUtils.isRtlMode()) { in getRtlPosition()
DPermissionCheckActivity.java32 import com.android.messaging.util.UiUtils;
55 UiUtils.setStatusBarColor(this, getColor(R.color.permission_check_activity_background)); in onCreate()
DFixedViewPagerAdapter.java26 import com.android.messaging.util.UiUtils;
127 if (UiUtils.isRtlMode()) { in getRtlPosition()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DSimSelectorView.java32 import com.android.messaging.util.UiUtils;
101 .setDuration(UiUtils.REVEAL_ANIMATION_DURATION) in showOrHide()
121 translateAnimation.setInterpolator(UiUtils.EASE_OUT_INTERPOLATOR); in showOrHide()
122 translateAnimation.setDuration(UiUtils.REVEAL_ANIMATION_DURATION); in showOrHide()
DConversationFragment.java106 import com.android.messaging.util.UiUtils;
534 final Rect startRect = UiUtils.getMeasuredBoundsOnScreen(mComposeMessageView); in onCreateView()
538 UiUtils.getMeasuredBoundsOnScreen(composeBubbleView); in onCreateView()
542 final Rect attachmentRect = UiUtils.getMeasuredBoundsOnScreen(attachmentView); in onCreateView()
610 UiUtils.isRtlMode() ? ConversationFastScroller.POSITION_LEFT_SIDE : in onCreateView()
780 UiUtils.showToast(R.string.disallow_emergency_call); in onOptionsItemSelected()
891 UiUtils.showSnackBarWithCustomAction(getActivity(), in onConversationMessagesCursorUpdated()
1073 return UiUtils.isReadyForAction(); in isReadyForAction()
1110 UiUtils.showToast(R.string.unknown_sender); in ensureKnownRecipients()
1425 UiUtils.showToastAtBottom(message); in onPostExecute()
[all …]
DLaunchConversationActivity.java35 import com.android.messaging.util.UiUtils;
57 if (UiUtils.redirectToPermissionCheckIfNeeded(this)) { in onCreate()
137 UiUtils.showToastAtBottom(R.string.conversation_creation_failure); in onGetOrCreateNewConversationFailed()
DComposeMessageView.java72 import com.android.messaging.util.UiUtils;
415 UiUtils.showToastAtBottom( in sendMessageInternal()
437 UiUtils.showToastAtBottom( in sendMessageInternal()
729 UiUtils.revealOrHideViewWithAnimation(mSendButton, VISIBLE, null); in updateVisualsOnDraftChanged()
735 UiUtils.revealOrHideViewWithAnimation(mSelfSendIcon, GONE, null); in updateVisualsOnDraftChanged()
742 UiUtils.revealOrHideViewWithAnimation(mSelfSendIcon, VISIBLE, null); in updateVisualsOnDraftChanged()
744 UiUtils.revealOrHideViewWithAnimation(mSendButton, GONE, null); in updateVisualsOnDraftChanged()
DEnterSelfPhoneNumberDialog.java31 import com.android.messaging.util.UiUtils;
75 UiUtils.showToast( in onCreateDialog()
DConversationMessageBubbleView.java30 import com.android.messaging.util.UiUtils;
104 mAnimator.setDuration(UiUtils.MEDIAPICKER_TRANSITION_DURATION); in kickOffMorphAnimation()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DAbstractConversationListActivity.java49 import com.android.messaging.util.UiUtils;
118 UiUtils.showSnackBarWithCustomAction(this, in onActionBarDelete()
186 UiUtils.showSnackBar(this, findViewById(android.R.id.list), message, undoRunnable, in onActionBarArchive()
203 UiUtils.showSnackBar(this, findViewById(android.R.id.list), message, in onActionBarNotification()
334 UiUtils.showSnackBar(mContext, mParentView, message, mUndoRunnable, in onUpdateDestinationBlockedAction()
DConversationListSwipeHelper.java34 import com.android.messaging.util.UiUtils;
350 itemView, animateTo, duration, UiUtils.DEFAULT_INTERPOLATOR); in animateDismiss()
376 itemView, 0f, duration, UiUtils.DEFAULT_INTERPOLATOR); in animateRestore()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/handheld/
DSettingsFragment.java37 import com.android.packageinstaller.role.utils.UiUtils;
126 UiUtils.setViewShown(mLoadingView, isLoading); in updateState()
128 UiUtils.setViewShown(mEmptyText, isEmpty); in updateState()
DFooterPreference.java32 import com.android.packageinstaller.role.utils.UiUtils;
84 int iconFramePaddingVertical = UiUtils.dpToPxOffset(ICON_LAYOUT_PADDING_VERTICAL_DP, in onBindViewHolder()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/utils/
DUiUtils.java35 public class UiUtils { class
37 private UiUtils() {} in UiUtils() method in UiUtils
/packages/apps/Messaging/src/com/android/messaging/widget/
DBugleWidgetProvider.java31 import com.android.messaging.util.UiUtils;
53 UiUtils.getWidgetMissingPermissionView(context)); in updateWidget()

12