use of com.android.systemui.statusbar.phone.TickerView in project android_frameworks_base by DirtyUnicorns.
the class PhoneStatusBar method initTickerView.
private void initTickerView() {
if (mTickerEnabled != 0 && (mTicker == null || mTickerView == null)) {
final ViewStub tickerStub = (ViewStub) mStatusBarView.findViewById(R.id.ticker_stub);
if (tickerStub != null) {
mTickerView = tickerStub.inflate();
mTicker = new MyTicker(mContext, mStatusBarView);
TickerView tickerView = (TickerView) mStatusBarView.findViewById(R.id.tickerText);
tickerView.mTicker = mTicker;
} else {
mTickerEnabled = 0;
}
}
}
Aggregations