Loading res/layout/accessibility_autoclick_custom_seekbar.xml +5 −4 Original line number Diff line number Diff line Loading @@ -31,12 +31,12 @@ android:textAppearance="@android:style/TextAppearance.DeviceDefault.Widget.TextView" /> <LinearLayout android:layout_width="wrap_content" android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center_vertical"> <ImageView android:id="@+id/smaller" android:id="@+id/shorter" android:layout_width="48dp" android:layout_height="48dp" android:background="?android:attr/selectableItemBackgroundBorderless" Loading @@ -49,12 +49,13 @@ <SeekBar android:id="@+id/autoclick_delay" android:layout_width="260dp" android:layout_width="0dp" android:layout_height="48dp" android:layout_weight="1" android:contentDescription="@string/accessibility_autoclick_seekbar_desc" /> <ImageView android:id="@+id/larger" android:id="@+id/longer" android:layout_width="48dp" android:layout_height="48dp" android:background="?android:attr/selectableItemBackgroundBorderless" Loading res/xml/accessibility_autoclick_settings.xml +1 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,7 @@ android:key="autoclick_custom_seekbar" android:layout="@layout/accessibility_autoclick_custom_seekbar" android:selectable="false" android:visibility="gone" settings:allowDividerBelow="true" settings:controller="com.android.settings.accessibility.ToggleAutoclickCustomSeekbarController" /> Loading src/com/android/settings/accessibility/ToggleAutoclickCustomSeekbarController.java +2 −2 Original line number Diff line number Diff line Loading @@ -138,12 +138,12 @@ public class ToggleAutoclickCustomSeekbarController extends BasePreferenceContro mDelayLabel = preference.findViewById(R.id.current_label); mDelayLabel.setText(delayTimeToString(delayMillis)); mShorter = preference.findViewById(R.id.smaller); mShorter = preference.findViewById(R.id.shorter); mShorter.setOnClickListener(v -> { minusDelayByImageView(); }); mLonger = preference.findViewById(R.id.larger); mLonger = preference.findViewById(R.id.longer); mLonger.setOnClickListener(v -> { plusDelayByImageView(); }); Loading Loading
res/layout/accessibility_autoclick_custom_seekbar.xml +5 −4 Original line number Diff line number Diff line Loading @@ -31,12 +31,12 @@ android:textAppearance="@android:style/TextAppearance.DeviceDefault.Widget.TextView" /> <LinearLayout android:layout_width="wrap_content" android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center_vertical"> <ImageView android:id="@+id/smaller" android:id="@+id/shorter" android:layout_width="48dp" android:layout_height="48dp" android:background="?android:attr/selectableItemBackgroundBorderless" Loading @@ -49,12 +49,13 @@ <SeekBar android:id="@+id/autoclick_delay" android:layout_width="260dp" android:layout_width="0dp" android:layout_height="48dp" android:layout_weight="1" android:contentDescription="@string/accessibility_autoclick_seekbar_desc" /> <ImageView android:id="@+id/larger" android:id="@+id/longer" android:layout_width="48dp" android:layout_height="48dp" android:background="?android:attr/selectableItemBackgroundBorderless" Loading
res/xml/accessibility_autoclick_settings.xml +1 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,7 @@ android:key="autoclick_custom_seekbar" android:layout="@layout/accessibility_autoclick_custom_seekbar" android:selectable="false" android:visibility="gone" settings:allowDividerBelow="true" settings:controller="com.android.settings.accessibility.ToggleAutoclickCustomSeekbarController" /> Loading
src/com/android/settings/accessibility/ToggleAutoclickCustomSeekbarController.java +2 −2 Original line number Diff line number Diff line Loading @@ -138,12 +138,12 @@ public class ToggleAutoclickCustomSeekbarController extends BasePreferenceContro mDelayLabel = preference.findViewById(R.id.current_label); mDelayLabel.setText(delayTimeToString(delayMillis)); mShorter = preference.findViewById(R.id.smaller); mShorter = preference.findViewById(R.id.shorter); mShorter.setOnClickListener(v -> { minusDelayByImageView(); }); mLonger = preference.findViewById(R.id.larger); mLonger = preference.findViewById(R.id.longer); mLonger.setOnClickListener(v -> { plusDelayByImageView(); }); Loading