Home
last modified time | relevance | path

Searched refs:animate (Results 1 – 25 of 191) sorted by relevance

12345678

/packages/apps/Settings/src/com/android/settings/widget/
DLoadingViewController.java59 public void showContent(boolean animate) { in showContent() argument
63 handleLoadingContainer(true /* showContent */, false /* showEmpty*/, animate); in showContent()
69 public void showEmpty(boolean animate) { in showEmpty() argument
77 handleLoadingContainer(false /* showContent */, true /* showEmpty */, animate); in showEmpty()
92 private void handleLoadingContainer(boolean showContent, boolean showEmpty, boolean animate) { in handleLoadingContainer() argument
94 showContent, showEmpty, animate); in handleLoadingContainer()
106 boolean animate) { in handleLoadingContainer() argument
107 setViewShown(loading, !done, animate); in handleLoadingContainer()
108 setViewShown(content, done, animate); in handleLoadingContainer()
122 boolean showContent, boolean showEmpty, boolean animate) { in handleLoadingContainer() argument
[all …]
/packages/apps/Dialer/java/com/android/dialer/main/impl/toolbar/
DMainToolbar.java75 public void slideUp(boolean animate, View container) { in slideUp() argument
87 slideUp(animate, container); in slideUp()
97 animate() in slideUp()
99 .setDuration(animate ? SLIDE_DURATION : 0) in slideUp()
103 .animate() in slideUp()
105 .setDuration(animate ? SLIDE_DURATION : 0) in slideUp()
111 public void slideDown(boolean animate, View container) { in slideDown() argument
116 animate() in slideDown()
118 .setDuration(animate ? SLIDE_DURATION : 0) in slideDown()
122 .animate() in slideDown()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationInputManager.java191 public void showHideMediaPicker(final boolean show, final boolean animate) { in showHideMediaPicker() argument
192 showHideInternal(mMediaInput, show, animate); in showHideMediaPicker()
201 public boolean showHideSimSelector(final boolean show, final boolean animate) { in showHideSimSelector() argument
202 return showHideInternal(mSimInput, show, animate); in showHideSimSelector()
205 public void showHideImeKeyboard(final boolean show, final boolean animate) { in showHideImeKeyboard() argument
206 showHideInternal(mImeInput, show, animate); in showHideImeKeyboard()
209 public void hideAllInputs(final boolean animate) { in hideAllInputs() argument
212 showHideInternal(mInputs[i], false, animate); in hideAllInputs()
223 public boolean toggleSimSelector(final boolean animate, final SubscriptionListEntry subEntry) { in toggleSimSelector() argument
225 return mSimInput.toggle(animate); in toggleSimSelector()
[all …]
DConversationSimSelector.java52 final boolean animate = mPendingShow.second; in onSubscriptionListDataLoaded()
58 show, animate); in onSubscriptionListDataLoaded()
80 public boolean show(boolean animate) { in show() argument
82 return showHide(true, animate); in show()
86 public boolean hide(boolean animate) { in hide() argument
87 return showHide(false, animate); in hide()
90 private boolean showHide(final boolean show, final boolean animate) { in showHide() argument
96 mSimSelectorView.showOrHide(show, animate); in showHide()
99 mPendingShow = Pair.create(show, animate); in showHide()
DConversationInput.java31 final boolean animate); in showHideInternal() argument
41 public abstract boolean show(boolean animate); in show() argument
42 public abstract boolean hide(boolean animate); in hide() argument
66 public boolean toggle(final boolean animate) { in toggle() argument
DConversationActivityUiState.java33 void onConversationContactPickerUiStateChanged(int oldState, int newState, boolean animate); in onConversationContactPickerUiStateChanged() argument
207 private void performUiStateUpdate(final int conversationContactState, final boolean animate) { in performUiStateUpdate() argument
215 notifyOnOverallUiStateChanged(oldState, mConversationContactUiState, animate); in performUiStateUpdate()
221 final int oldState, final int newState, final boolean animate) { in notifyOnOverallUiStateChanged() argument
231 mHost.onConversationContactPickerUiStateChanged(oldState, newState, animate); in notifyOnOverallUiStateChanged()
/packages/apps/Launcher3/src/com/android/launcher3/
DAbstractFloatingView.java134 public final void close(boolean animate) { in close() argument
135 animate &= areAnimatorsEnabled(); in close()
139 handleClose(animate); in close()
143 protected abstract void handleClose(boolean animate); in handleClose() argument
223 public static void closeOpenViews(ActivityContext activity, boolean animate, in closeOpenViews() argument
233 abs.close(animate); in closeOpenViews()
239 public static void closeAllOpenViews(ActivityContext activity, boolean animate) { in closeAllOpenViews() argument
240 closeOpenViews(activity, animate, TYPE_ALL); in closeAllOpenViews()
248 public static void closeAllOpenViewsExcept(ActivityContext activity, boolean animate, in closeAllOpenViewsExcept() argument
250 closeOpenViews(activity, animate, TYPE_ALL & ~type); in closeAllOpenViewsExcept()
/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DFolderInfo.java121 public void add(WorkspaceItemInfo item, boolean animate) { in add() argument
122 add(item, contents.size(), animate); in add()
128 public void add(WorkspaceItemInfo item, int rank, boolean animate) { in add() argument
134 itemsChanged(animate); in add()
142 public void remove(WorkspaceItemInfo item, boolean animate) { in remove() argument
143 removeAll(Collections.singletonList(item), animate); in remove() local
149 public void removeAll(List<WorkspaceItemInfo> items, boolean animate) { in removeAll() argument
154 itemsChanged(animate); in removeAll()
172 public void itemsChanged(boolean animate) { in itemsChanged() argument
174 mListeners.get(i).onItemsChanged(animate); in itemsChanged()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DPermissionsFrameFragment.java87 protected void setLoading(boolean loading, boolean animate) { in setLoading() argument
88 setLoading(loading, animate, false); in setLoading()
91 private void setLoading(boolean loading, boolean animate, boolean force) { in setLoading() argument
96 animate = false; in setLoading()
99 setViewShown(mPrefsView, !loading, animate); in setLoading()
102 setViewShown(mLoadingView, loading, animate); in setLoading()
110 private void setViewShown(final View view, boolean shown, boolean animate) { in setViewShown() argument
111 if (animate) { in setViewShown()
/packages/apps/Contacts/src/com/android/contacts/widget/
DFloatingActionButtonController.java115 public void align(int align, boolean animate) { in align() argument
116 align(align, 0 /*offsetX */, 0 /* offsetY */, animate); in align()
127 public void align(int align, int offsetX, int offsetY, boolean animate) { in align() argument
135 if (animate && mFloatingActionButtonContainer.isShown()) { in align()
136 mFloatingActionButtonContainer.animate() in align()
153 public void resize(int dimension, boolean animate) { in resize() argument
154 if (animate) { in resize()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionsFrameFragment.java118 protected void setLoading(boolean loading, boolean animate) { in setLoading() argument
119 setLoading(loading, animate, false); in setLoading()
122 private void setLoading(boolean loading, boolean animate, boolean force) { in setLoading() argument
127 animate = false; in setLoading()
130 setViewShown(mPrefsView, !loading, animate); in setLoading()
133 setViewShown(mLoadingView, loading, animate); in setLoading()
190 private void setViewShown(final View view, boolean shown, boolean animate) { in setViewShown() argument
191 if (animate) { in setViewShown()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DBummerView.java37 boolean animate = false;
40 animate = mAnimate;
54 if (animate) {
55 animate().x(newx)
84 public void setAnimationParams(boolean animate, int delay, int animTime) { in setAnimationParams() argument
85 mAnimate = animate; in setAnimationParams()
/packages/apps/Dialer/java/com/android/dialer/main/impl/
DMainSearchController.java141 public void showDialpad(boolean animate) { in showDialpad() argument
143 showDialpad(animate, false); in showDialpad()
146 private void showDialpad(boolean animate, boolean fromNewIntent) { in showDialpad() argument
155 toolbar.slideUp(animate, fragmentContainer); in showDialpad()
156 toolbar.expand(animate, Optional.absent(), /* requestFocus */ false); in showDialpad()
196 private void hideDialpad(boolean animate) { in hideDialpad() argument
219 toolbar.slideDown(animate, fragmentContainer); in hideDialpad()
223 dialpadFragment.setAnimate(animate); in hideDialpad()
225 animate, in hideDialpad()
321 private void closeSearch(boolean animate) { in closeSearch() argument
[all …]
/packages/apps/Browser2/src/org/chromium/webview_shell/
DWebViewAnimationTestActivity.java126 mWebView.animate().translationX(100f).translationY(100f); in runTranslate()
128 mWebView.animate().translationX(0f).translationY(0f); in runTranslate()
134 mWebView.animate().scaleX(.5f).scaleY(.5f); in runScale()
136 mWebView.animate().scaleX(1f).scaleY(1f); in runScale()
142 mWebView.animate().rotationX(45f).rotationY(45f).rotation(90f); in runRotate()
144 mWebView.animate().rotationX(0f).rotationY(0f).rotation(0f); in runRotate()
/packages/apps/StorageManager/src/com/android/storagemanager/utils/
DUtils.java27 View loading, View doneLoading, boolean done, boolean animate) { in handleLoadingContainer() argument
28 setViewShown(loading, !done, animate); in handleLoadingContainer()
29 setViewShown(doneLoading, done, animate); in handleLoadingContainer()
32 private static void setViewShown(final View view, boolean shown, boolean animate) { in setViewShown() argument
33 if (animate) { in setViewShown()
/packages/apps/Settings/src/com/android/settings/display/
DPreviewPagerAdapter.java121 final boolean animate) { in setPreviewLayer() argument
129 setVisibility(lastLayer, View.INVISIBLE, animate); in setPreviewLayer()
144 setVisibility(nextLayer, View.VISIBLE, animate); in setPreviewLayer()
151 private void setVisibility(final View view, final int visibility, boolean animate) { in setVisibility() argument
153 if (!animate) { in setVisibility()
161 view.animate() in setVisibility()
174 view.animate() in setVisibility()
/packages/apps/TV/src/com/android/tv/ui/
DTvViewUiManager.java261 public int setDisplayMode(int displayMode, boolean storeInPreference, boolean animate) { in setDisplayMode() argument
267 applyDisplayMode(mTvView.getVideoDisplayAspectRatio(), animate, false); in setDisplayMode() local
272 public void restoreDisplayMode(boolean animate) { in restoreDisplayMode() argument
275 setDisplayMode(displayMode, false, animate); in restoreDisplayMode()
320 int color, FrameLayout.LayoutParams targetLayoutParams, boolean animate) { in setBackgroundColor() argument
321 if (animate) { in setBackgroundColor()
358 boolean animate) { in setTvViewPosition() argument
375 + animate); in setTvViewPosition()
380 if (animate) { in setTvViewPosition()
500 float videoDisplayAspectRatio, boolean animate, boolean forceUpdate) { in applyDisplayMode() argument
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DMediaPickerPanel.java243 void setExpanded(final boolean expanded, final boolean animate, final int startingPage) { in setExpanded() argument
244 setExpanded(expanded, animate, startingPage, false /* force */); in setExpanded()
247 private void setExpanded(final boolean expanded, final boolean animate, final int startingPage, in setExpanded() argument
257 setDesiredHeight(getDesiredHeight(), animate); in setExpanded()
270 setFullScreenView(true, animate); in setExpanded()
278 private void setDesiredHeight(int height, final boolean animate) { in setDesiredHeight() argument
284 if (animate) { in setDesiredHeight()
323 void setFullScreenView(final boolean fullScreen, final boolean animate) { in setFullScreenView() argument
333 setDesiredHeight(getDesiredHeight(), animate); in setFullScreenView() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DActionAdapter.java320 view.animate().alpha(alpha) in setAlpha()
421 v.animate().alpha(destAlpha).setDuration(duration).setStartDelay(delay); in prepareAndAnimateView()
423 v.animate().setInterpolator(interpolator); in prepareAndAnimateView()
425 v.animate().setListener(new AnimatorListenerAdapter() { in prepareAndAnimateView()
444 v.animate().start(); in prepareAndAnimateView()
463 checkView.animate().alpha(CHECKMARK_ANIM_UNSELECTED_ALPHA) in fadeCheckmarks()
466 checkView.animate().setInterpolator(interpolator); in fadeCheckmarks()
468 checkView.animate().setListener(new AnimatorListenerAdapter() { in fadeCheckmarks()
486 checkView.animate().alpha(CHECKMARK_ANIM_SELECTED_ALPHA).setDuration(duration) in fadeCheckmarks()
489 checkView.animate().setInterpolator(interpolator); in fadeCheckmarks()
[all …]
/packages/apps/Dialer/java/com/android/dialer/widget/
DFloatingActionButtonController.java116 public void align(int align, boolean animate) { in align() argument
117 align(align, 0 /*offsetX */, 0 /* offsetY */, animate); in align()
128 private void align(int align, int offsetX, int offsetY, boolean animate) { in align() argument
136 if (animate && fab.isShown()) { in align()
137 fab.animate() in align()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DGridDocumentHolder.java77 public void setSelected(boolean selected, boolean animate) { in setSelected() argument
82 if (animate) { in setSelected()
94 super.setSelected(selected, animate); in setSelected()
96 if (animate) { in setSelected()
165 mIconMimeLg.animate().cancel(); in bind()
167 mIconThumb.animate().cancel(); in bind()
DGridPhotoHolder.java66 public void setSelected(boolean selected, boolean animate) { in setSelected() argument
71 if (animate) { in setSelected()
83 super.setSelected(selected, animate); in setSelected()
148 mIconMimeLg.animate().cancel(); in bind()
150 mIconThumb.animate().cancel(); in bind()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/affordance/
DSwipeButtonView.java354 public void setImageScale(float imageScale, boolean animate) { in setImageScale() argument
355 setImageScale(imageScale, animate, -1, null); in setImageScale()
368 float imageScale, boolean animate, long duration, @Nullable Interpolator interpolator) { in setImageScale() argument
370 if (!animate) { in setImageScale()
413 public void setImageAlpha(float alpha, boolean animate) { in setImageAlpha() argument
414 setImageAlpha(alpha, animate, -1, null, null); in setImageAlpha()
428 boolean animate, in setImageAlpha() argument
436 if (!animate) { in setImageAlpha()
DSwipeButtonHelper.java506 boolean animate, in updateIcon() argument
521 updateIconAlpha(view, alpha, animate); in updateIcon()
524 private void updateIconAlpha(SwipeButtonView view, float alpha, boolean animate) { in updateIconAlpha() argument
527 view.setImageAlpha(alpha, animate); in updateIconAlpha()
528 view.setImageScale(scale, animate); in updateIconAlpha()
576 public void reset(boolean animate) { in reset() argument
578 setTranslation(0.0f, true, animate); in reset()
590 public void launchAffordance(boolean animate, boolean left) { in launchAffordance() argument
598 if (animate) { in launchAffordance()
/packages/apps/QuickAccessWallet/src/com/android/systemui/plugin/globalactions/wallet/
DWalletView.java130 mEmptyStateView.animate() in showCardCarousel()
143 mCardLabel.animate().alpha(1f) in showCardCarousel()
148 mOverflowButton.animate().alpha(1f) in showCardCarousel()
154 mCardCarousel.animate().translationX(0) in showCardCarousel()
167 mCardCarousel.animate().translationX(mAnimationTranslationX) in animateDismissal()
171 mCardCarouselContainer.animate() in animateDismissal()

12345678