Loading packages/SystemUI/src/com/android/systemui/PluginInflateContainer.java +1 −0 Original line number Diff line number Diff line Loading @@ -60,6 +60,7 @@ public class PluginInflateContainer extends AutoReinflateContainer super(context, attrs); TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.PluginInflateContainer); String viewType = a.getString(R.styleable.PluginInflateContainer_viewType); a.recycle(); try { mClass = (Class<ViewProvider>) Class.forName(viewType); } catch (Exception e) { Loading packages/SystemUI/src/com/android/systemui/ResizingSpace.java +1 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,7 @@ public class ResizingSpace extends View { TypedArray a = context.obtainStyledAttributes(attrs, android.R.styleable.ViewGroup_Layout); mWidth = a.getResourceId(android.R.styleable.ViewGroup_Layout_layout_width, 0); mHeight = a.getResourceId(android.R.styleable.ViewGroup_Layout_layout_height, 0); a.recycle(); } @Override Loading packages/SystemUI/src/com/android/systemui/tuner/TunerSwitch.java +1 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ public class TunerSwitch extends SwitchPreference implements Tunable { TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.TunerSwitch); mDefault = a.getBoolean(R.styleable.TunerSwitch_defValue, false); mAction = a.getInt(R.styleable.TunerSwitch_metricsAction, -1); a.recycle(); } @Override Loading Loading
packages/SystemUI/src/com/android/systemui/PluginInflateContainer.java +1 −0 Original line number Diff line number Diff line Loading @@ -60,6 +60,7 @@ public class PluginInflateContainer extends AutoReinflateContainer super(context, attrs); TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.PluginInflateContainer); String viewType = a.getString(R.styleable.PluginInflateContainer_viewType); a.recycle(); try { mClass = (Class<ViewProvider>) Class.forName(viewType); } catch (Exception e) { Loading
packages/SystemUI/src/com/android/systemui/ResizingSpace.java +1 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,7 @@ public class ResizingSpace extends View { TypedArray a = context.obtainStyledAttributes(attrs, android.R.styleable.ViewGroup_Layout); mWidth = a.getResourceId(android.R.styleable.ViewGroup_Layout_layout_width, 0); mHeight = a.getResourceId(android.R.styleable.ViewGroup_Layout_layout_height, 0); a.recycle(); } @Override Loading
packages/SystemUI/src/com/android/systemui/tuner/TunerSwitch.java +1 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ public class TunerSwitch extends SwitchPreference implements Tunable { TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.TunerSwitch); mDefault = a.getBoolean(R.styleable.TunerSwitch_defValue, false); mAction = a.getInt(R.styleable.TunerSwitch_metricsAction, -1); a.recycle(); } @Override Loading