Home
last modified time | relevance | path

Searched refs:mSaverView (Results 1 – 3 of 3) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/
DUtils.java247 private View mContentView, mSaverView; field in Utils.ScreensaverMoveSaverRunnable
265 mSaverView = saverView; in registerViews()
271 if (mContentView == null || mSaverView == null) { in run()
277 final float xrange = mContentView.getWidth() - mSaverView.getWidth(); in run()
278 final float yrange = mContentView.getHeight() - mSaverView.getHeight(); in run()
286 if (mSaverView.getAlpha() == 0f) { in run()
288 mSaverView.setX(nextx); in run()
289 mSaverView.setY(nexty); in run()
290 ObjectAnimator.ofFloat(mSaverView, "alpha", 0f, 1f) in run()
295 Animator xMove = ObjectAnimator.ofFloat(mSaverView, in run()
[all …]
DScreensaverActivity.java45 private View mContentView, mSaverView; field in ScreensaverActivity
184 mSaverView = findViewById(R.id.main_clock); in setClockStyle()
185 mClockStyle = (mSaverView == mDigitalClock ? in setClockStyle()
187 Utils.dimClockView(true, mSaverView); in setClockStyle()
198 mContentView = (View) mSaverView.getParent(); in layoutClockSaver()
200 mSaverView.forceLayout(); in layoutClockSaver()
201 mSaverView.setAlpha(0); in layoutClockSaver()
203 mMoveSaverRunnable.registerViews(mContentView, mSaverView); in layoutClockSaver()
DScreensaver.java39 private View mContentView, mSaverView; field in Screensaver
145 mSaverView = findViewById(R.id.main_clock); in setClockStyle()
148 Utils.dimClockView(dimNightMode, mSaverView); in setClockStyle()
160 mContentView = (View) mSaverView.getParent(); in layoutClockSaver()
161 mSaverView.setAlpha(0); in layoutClockSaver()
163 mMoveSaverRunnable.registerViews(mContentView, mSaverView); in layoutClockSaver()