Home
last modified time | relevance | path

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

12345678

/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()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DLoadingViewController.java48 public void showContent(boolean animate) { in showContent() argument
52 handleLoadingContainer(true /* show */, animate); in showContent()
60 public void handleLoadingContainer(boolean done, boolean animate) { in handleLoadingContainer() argument
61 handleLoadingContainer(mLoadingView, mContentView, done, animate); in handleLoadingContainer()
73 boolean animate) { in handleLoadingContainer() argument
74 setViewShown(loading, !done, animate); in handleLoadingContainer()
75 setViewShown(content, done, animate); in handleLoadingContainer()
78 private static void setViewShown(final View view, boolean shown, boolean animate) { in setViewShown() argument
79 if (animate) { in setViewShown()
/packages/apps/Settings/src/com/android/settings/widget/
DLoadingViewController.java48 public void showContent(boolean animate) { in showContent() argument
52 handleLoadingContainer(true /* show */, animate); in showContent()
60 public void handleLoadingContainer(boolean done, boolean animate) { in handleLoadingContainer() argument
61 handleLoadingContainer(mLoadingView, mContentView, done, animate); in handleLoadingContainer()
73 boolean animate) { in handleLoadingContainer() argument
74 setViewShown(loading, !done, animate); in handleLoadingContainer()
75 setViewShown(content, done, animate); in handleLoadingContainer()
78 private static void setViewShown(final View view, boolean shown, boolean animate) { in setViewShown() argument
79 if (animate) { in setViewShown()
/packages/apps/Launcher3/src/com/android/launcher3/
DFolderInfo.java67 public void add(WorkspaceItemInfo item, boolean animate) { in add() argument
68 add(item, contents.size(), animate); in add()
74 public void add(WorkspaceItemInfo item, int rank, boolean animate) { in add() argument
80 itemsChanged(animate); in add()
88 public void remove(WorkspaceItemInfo item, boolean animate) { in remove() argument
93 itemsChanged(animate); in remove()
111 public void itemsChanged(boolean animate) { in itemsChanged() argument
113 mListeners.get(i).onItemsChanged(animate); in itemsChanged()
120 public void onItemsChanged(boolean animate); in onItemsChanged() argument
DAbstractFloatingView.java121 public final void close(boolean animate) { in close() argument
122 animate &= Utilities.areAnimationsEnabled(getContext()); in close()
127 handleClose(animate); in close()
131 protected abstract void handleClose(boolean animate); in handleClose() argument
210 public static void closeOpenViews(ActivityContext activity, boolean animate, in closeOpenViews() argument
220 abs.close(animate); in closeOpenViews()
226 public static void closeAllOpenViews(ActivityContext activity, boolean animate) { in closeAllOpenViews() argument
227 closeOpenViews(activity, animate, TYPE_ALL); in closeAllOpenViews()
235 public static void closeAllOpenViewsExcept(ActivityContext activity, boolean animate, in closeAllOpenViewsExcept() argument
237 closeOpenViews(activity, animate, TYPE_ALL & ~type); in closeAllOpenViewsExcept()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/television/
DPermissionsFrameFragment.java85 protected void setLoading(boolean loading, boolean animate) { in setLoading() argument
86 setLoading(loading, animate, false); in setLoading()
89 private void setLoading(boolean loading, boolean animate, boolean force) { in setLoading() argument
94 animate = false; in setLoading()
97 setViewShown(mPrefsView, !loading, animate); in setLoading()
100 setViewShown(mLoadingView, loading, animate); in setLoading()
105 private void setViewShown(final View view, boolean shown, boolean animate) { in setViewShown() argument
106 if (animate) { in setViewShown()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DPermissionsFrameFragment.java114 protected void setLoading(boolean loading, boolean animate) { in setLoading() argument
115 setLoading(loading, animate, false); in setLoading()
118 private void setLoading(boolean loading, boolean animate, boolean force) { in setLoading() argument
123 animate = false; in setLoading()
126 setViewShown(mPrefsView, !loading, animate); in setLoading()
129 setViewShown(mLoadingView, loading, animate); in setLoading()
186 private void setViewShown(final View view, boolean shown, boolean animate) { in setViewShown() argument
187 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/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/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/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DPreviewPagerAdapter.java120 final boolean animate) { in setPreviewLayer() argument
128 setVisibility(lastLayer, View.INVISIBLE, animate); in setPreviewLayer()
143 setVisibility(nextLayer, View.VISIBLE, animate); in setPreviewLayer()
150 private void setVisibility(final View view, final int visibility, boolean animate) { in setVisibility() argument
152 if (!animate) { in setVisibility()
160 view.animate() in setVisibility()
173 view.animate() in setVisibility()
/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/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/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/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/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/Launcher3/src/com/android/launcher3/widget/
DWidgetsFullSheet.java165 private void open(boolean animate) { in open() argument
166 if (animate) { in open()
188 mContent.animate().alpha(1).setDuration(FADE_IN_DURATION); in open()
198 protected void handleClose(boolean animate) { in handleClose() argument
199 handleClose(animate, DEFAULT_OPEN_DURATION); in handleClose()
223 public static WidgetsFullSheet show(Launcher launcher, boolean animate) { in show() argument
228 sheet.open(animate); in show()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/
DDefaultScrollBar.java255 boolean animate) { in setParameters() argument
277 moveY(mScrollThumb, thumbOffset, animate); in setParameters()
316 private void moveY(final View view, float newPosition, boolean animate) { in moveY() argument
317 final int duration = animate ? 200 : 0; in moveY()
318 view.animate() in moveY()
497 private void updatePaginationButtons(boolean animate) { in updatePaginationButtons() argument
520 animate); in updatePaginationButtons() local
526 animate); in updatePaginationButtons() local
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DGridDocumentHolder.java75 public void setSelected(boolean selected, boolean animate) { in setSelected() argument
80 if (animate) { in setSelected()
93 super.setSelected(selected, animate); in setSelected()
95 if (animate) { in setSelected()
154 mIconMimeLg.animate().cancel(); in bind()
156 mIconThumb.animate().cancel(); in bind()
DGridPhotoHolder.java62 public void setSelected(boolean selected, boolean animate) { in setSelected() argument
67 if (animate) { in setSelected()
79 super.setSelected(selected, animate); in setSelected()
134 mIconMimeLg.animate().cancel(); in bind()
136 mIconThumb.animate().cancel(); in bind()
/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/Launcher3/src/com/android/launcher3/views/
DBottomUserEducationView.java96 protected void handleClose(boolean animate) { in handleClose() argument
97 handleClose(animate, DEFAULT_CLOSE_DURATION); in handleClose()
98 if (animate) { in handleClose()
110 private void open(boolean animate) { in open() argument
115 if (animate) { in open()

12345678