@Override protected void onAttachedToWindow() { super.onAttachedToWindow(); }
@Override protected void onAttachedToWindow() { super.onAttachedToWindow(); setCompoundDrawablesVisible(true); }
@Override protected void onAttachedToWindow() { super.onAttachedToWindow(); if (autoStart) { start(); } }
@Override protected void onAttachedToWindow() { super.onAttachedToWindow(); textViewList.add(this); if (!TextUtils.isEmpty(textKey)) { SpannableString spannableString = textSpannableCache.get(textKey); if (spannableString != null) { setTextSpannable(spannableString); } else { addText(content); } } }
@Override protected void onAttachedToWindow() { super.onAttachedToWindow(); startTaskForPeriodicallyUpdatingRelativeTime(); }
@Override protected void onAttachedToWindow() { super.onAttachedToWindow(); Database.registerEventListener(this); }
@Override protected void onAttachedToWindow() { mTickerStopped = false; super.onAttachedToWindow(); mHandler = new Handler(); /** * requests a tick on the next hard-second boundary */ mTicker = new Runnable() { @Override public void run() { if (mTickerStopped) return; mCalendar.setTimeInMillis(System.currentTimeMillis()); setText(DateFormat.format(mFormat, mCalendar)); invalidate(); long now = SystemClock.uptimeMillis(); long next = now + (1000 - now % 1000); mHandler.postAtTime(mTicker, next); } }; mTicker.run(); }
@Override protected void onAttachedToWindow() { mTickerStopped = false; super.onAttachedToWindow(); mHandler = new Handler(); /** * requests a tick on the next hard-second boundary */ mTicker = new Runnable() { @Override public void run() { if (mTickerStopped) return; mCalendar.setTimeInMillis(System.currentTimeMillis()); setText(DateFormat.format(mFormat, mCalendar)); invalidate(); long now = SystemClock.uptimeMillis(); long next = now + (1000 - now % 1000); mHandler.postAtTime(mTicker, next); } }; mTicker.run(); }
@Override protected void onAttachedToWindow() { mTickerStopped = false; super.onAttachedToWindow(); mHandler = new Handler(); /** * requests a tick on the next hard-second boundary */ mTicker = new Runnable() { @Override public void run() { if (mTickerStopped) return; mCalendar.setTimeInMillis(System.currentTimeMillis()); setText(DateFormat.format(mFormat, mCalendar)); invalidate(); long now = SystemClock.uptimeMillis(); long next = now + (1000 - now % 1000); mHandler.postAtTime(mTicker, next); } }; mTicker.run(); }
@Override protected void onAttachedToWindow() { super.onAttachedToWindow(); ReceiverInfo ri = sReceiverInfo.get(); if (ri == null) { ri = new ReceiverInfo(); sReceiverInfo.set(ri); } ri.addView(this); }
@Override protected void onAttachedToWindow() { super.onAttachedToWindow(); if (mBackground != null) mBackground.setCallback(this); mSlop = ViewConfiguration.get(getContext()).getScaledTouchSlop(); }
@Override protected void onAttachedToWindow() { mState = STATE_ATTACHED_ACTIVE; if (mPauseSource != null) { mPauseSource.addPauseListener(this); } super.onAttachedToWindow(); mHandler = new Handler(); /** * requests a tick on the next hard-second boundary. */ mTicker = new Runnable() { @Override public void run() { if (mState != STATE_ATTACHED_ACTIVE) { return; } updateClock(); long now = SystemClock.uptimeMillis(); long next = now + (1000 - now % 1000); mHandler.postAtTime(mTicker, next); } }; mTicker.run(); }
@Override protected void onAttachedToWindow() { super.onAttachedToWindow(); if (mBackground != null) mBackground.setCallback(this); if (mIcon instanceof PreloadIconDrawable) { ((PreloadIconDrawable) mIcon).applyPreloaderTheme(getPreloaderTheme()); } mSlop = ViewConfiguration.get(getContext()).getScaledTouchSlop(); }
@Override protected void onAttachedToWindow() { super.onAttachedToWindow(); if (mBackground != null) mBackground.setCallback(this); if (mIcon instanceof PreloadIconDrawable) { ((PreloadIconDrawable) mIcon).applyPreloaderTheme(getPreloaderTheme()); } mSlop = ViewConfiguration.get(getContext()).getScaledTouchSlop(); }
@Override protected void onAttachedToWindow() { super.onAttachedToWindow(); if (mBackground != null) mBackground.setCallback(this); if (mIcon instanceof PreloadIconDrawable) { ((PreloadIconDrawable) mIcon).applyPreloaderTheme(getPreloaderTheme()); } mSlop = ViewConfiguration.get(getContext()).getScaledTouchSlop(); }
@Override protected void onAttachedToWindow() { super.onAttachedToWindow(); helper.onViewAttachedToWindow(this); }
@Override protected void onAttachedToWindow() { super.onAttachedToWindow(); if (mBackground != null) { mBackground.setCallback(this); } Drawable top = getCompoundDrawables()[1]; if (top instanceof PreloadIconDrawable) { ((PreloadIconDrawable) top).applyTheme(getPreloaderTheme()); } mSlop = ViewConfiguration.get(getContext()).getScaledTouchSlop(); }