use of com.android.systemui.statusbar.phone.PhoneStatusBarView in project platform_frameworks_base by android.
the class CarStatusBar method makeStatusBarView.
@Override
protected PhoneStatusBarView makeStatusBarView() {
PhoneStatusBarView statusBarView = super.makeStatusBarView();
mBatteryMeterView = ((BatteryMeterView) statusBarView.findViewById(R.id.battery));
// By default, the BatteryMeterView should not be visible. It will be toggled visible
// when a device has connected by bluetooth.
mBatteryMeterView.setVisibility(View.GONE);
if (Log.isLoggable(TAG, Log.DEBUG)) {
Log.d(TAG, "makeStatusBarView(). mBatteryMeterView: " + mBatteryMeterView);
}
return statusBarView;
}
use of com.android.systemui.statusbar.phone.PhoneStatusBarView in project android_frameworks_base by AOSPA.
the class CarStatusBar method makeStatusBarView.
@Override
protected PhoneStatusBarView makeStatusBarView() {
PhoneStatusBarView statusBarView = super.makeStatusBarView();
mBatteryMeterView = ((BatteryMeterView) statusBarView.findViewById(R.id.battery));
// By default, the BatteryMeterView should not be visible. It will be toggled visible
// when a device has connected by bluetooth.
mBatteryMeterView.setVisibility(View.GONE);
if (Log.isLoggable(TAG, Log.DEBUG)) {
Log.d(TAG, "makeStatusBarView(). mBatteryMeterView: " + mBatteryMeterView);
}
return statusBarView;
}
Aggregations