Lines Matching defs:animate
51 applyModeBackground(-1, getMode(), false /*animate*/);
52 applyMode(getMode(), false /*animate*/, true /*force*/);
57 transitionTo(mRequestedMode, false /*animate*/);
61 public void transitionTo(int mode, boolean animate) {
71 super.transitionTo(mode, animate);
75 protected void onTransition(int oldMode, int newMode, boolean animate) {
76 super.onTransition(oldMode, newMode, animate);
77 applyMode(newMode, animate, false /*force*/);
80 private void applyMode(int mode, boolean animate, boolean force) {
83 setKeyButtonViewQuiescentAlpha(mView.getHomeButton(), alpha, animate);
84 setKeyButtonViewQuiescentAlpha(mView.getRecentsButton(), alpha, animate);
85 setKeyButtonViewQuiescentAlpha(mView.getMenuButton(), alpha, animate);
86 setKeyButtonViewQuiescentAlpha(mView.getImeSwitchButton(), alpha, animate);
88 applyBackButtonQuiescentAlpha(mode, animate);
91 applyLightsOut(isLightsOut(mode), animate, force);
99 public void applyBackButtonQuiescentAlpha(int mode, boolean animate) {
106 setKeyButtonViewQuiescentAlpha(mView.getBackButton(), backAlpha, animate);
117 private void setKeyButtonViewQuiescentAlpha(View button, float alpha, boolean animate) {
119 ((KeyButtonView) button).setQuiescentAlpha(alpha, animate);
123 private void applyLightsOut(boolean lightsOut, boolean animate, boolean force) {
132 navButtons.animate().cancel();
133 lowLights.animate().cancel();
138 if (!animate) {
144 navButtons.animate()
154 lowLights.animate()