Loading res/layout/clock_carousel.xml +15 −10 Original line number Diff line number Diff line Loading @@ -42,8 +42,9 @@ android:id="@+id/clock_scale_view_0" android:layout_width="@dimen/screen_preview_width" android:layout_height="wrap_content" android:layout_gravity="center"> <FrameLayout android:layout_gravity="center" android:clipChildren="false"> <com.android.customization.picker.clock.ui.view.ClockHostView android:id="@+id/clock_host_view_0" android:layout_width="match_parent" android:layout_height="match_parent" Loading Loading @@ -72,8 +73,9 @@ android:id="@+id/clock_scale_view_1" android:layout_width="@dimen/screen_preview_width" android:layout_height="wrap_content" android:layout_gravity="center"> <FrameLayout android:layout_gravity="center" android:clipChildren="false"> <com.android.customization.picker.clock.ui.view.ClockHostView android:id="@+id/clock_host_view_1" android:layout_width="match_parent" android:layout_height="match_parent" Loading Loading @@ -104,8 +106,9 @@ android:id="@+id/clock_scale_view_2" android:layout_width="@dimen/screen_preview_width" android:layout_height="wrap_content" android:layout_gravity="center"> <FrameLayout android:layout_gravity="center" android:clipChildren="false"> <com.android.customization.picker.clock.ui.view.ClockHostView android:id="@+id/clock_host_view_2" android:layout_width="match_parent" android:layout_height="match_parent" Loading Loading @@ -134,8 +137,9 @@ android:id="@+id/clock_scale_view_3" android:layout_width="@dimen/screen_preview_width" android:layout_height="wrap_content" android:layout_gravity="center"> <FrameLayout android:layout_gravity="center" android:clipChildren="false"> <com.android.customization.picker.clock.ui.view.ClockHostView android:id="@+id/clock_host_view_3" android:layout_width="match_parent" android:layout_height="match_parent" Loading Loading @@ -164,8 +168,9 @@ android:id="@+id/clock_scale_view_4" android:layout_width="@dimen/screen_preview_width" android:layout_height="wrap_content" android:layout_gravity="center"> <FrameLayout android:layout_gravity="center" android:clipChildren="false"> <com.android.customization.picker.clock.ui.view.ClockHostView android:id="@+id/clock_host_view_4" android:layout_width="match_parent" android:layout_height="match_parent" Loading res/layout/fragment_clock_settings.xml +3 −2 Original line number Diff line number Diff line Loading @@ -34,7 +34,8 @@ android:layout_height="0dp" android:layout_weight="1" android:paddingTop="20dp" android:paddingBottom="40dp"> android:paddingBottom="40dp" android:clipChildren="false"> <include android:id="@+id/lock_preview" Loading @@ -43,7 +44,7 @@ android:layout_height="match_parent" android:layout_gravity="center" /> <FrameLayout <com.android.customization.picker.clock.ui.view.ClockHostView android:id="@+id/clock_host_view" android:layout_width="match_parent" android:layout_height="match_parent" Loading res/layout/single_clock_view.xml +3 −2 Original line number Diff line number Diff line Loading @@ -17,8 +17,9 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="@dimen/screen_preview_width" android:layout_height="wrap_content" android:layout_gravity="center"> <FrameLayout android:layout_gravity="center" android:clipChildren="false"> <com.android.customization.picker.clock.ui.view.ClockHostView android:id="@+id/single_clock_host_view" android:layout_width="match_parent" android:layout_height="match_parent" Loading src/com/android/customization/picker/clock/ui/binder/ClockCarouselViewBinder.kt +0 −1 Original line number Diff line number Diff line Loading @@ -64,7 +64,6 @@ object ClockCarouselViewBinder { hideSmartspace(hasCustomWeatherDataDisplay) }, previewRatio = clockViewFactory.getRatio(), ) } } Loading src/com/android/customization/picker/clock/ui/binder/ClockSettingsBinder.kt +2 −3 Original line number Diff line number Diff line Loading @@ -19,7 +19,6 @@ import android.content.res.Configuration import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.FrameLayout import android.widget.LinearLayout import android.widget.SeekBar import androidx.core.view.isInvisible Loading @@ -33,6 +32,7 @@ import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView import com.android.customization.picker.clock.shared.ClockSize import com.android.customization.picker.clock.ui.adapter.ClockSettingsTabAdapter import com.android.customization.picker.clock.ui.view.ClockHostView import com.android.customization.picker.clock.ui.view.ClockSizeRadioButtonGroup import com.android.customization.picker.clock.ui.view.ClockViewFactory import com.android.customization.picker.clock.ui.viewmodel.ClockSettingsViewModel Loading @@ -55,8 +55,7 @@ object ClockSettingsBinder { clockViewFactory: ClockViewFactory, lifecycleOwner: LifecycleOwner, ) { val clockHostView: FrameLayout = view.requireViewById(R.id.clock_host_view) val clockHostView: ClockHostView = view.requireViewById(R.id.clock_host_view) val tabView: RecyclerView = view.requireViewById(R.id.tabs) val tabAdapter = ClockSettingsTabAdapter() tabView.adapter = tabAdapter Loading Loading
res/layout/clock_carousel.xml +15 −10 Original line number Diff line number Diff line Loading @@ -42,8 +42,9 @@ android:id="@+id/clock_scale_view_0" android:layout_width="@dimen/screen_preview_width" android:layout_height="wrap_content" android:layout_gravity="center"> <FrameLayout android:layout_gravity="center" android:clipChildren="false"> <com.android.customization.picker.clock.ui.view.ClockHostView android:id="@+id/clock_host_view_0" android:layout_width="match_parent" android:layout_height="match_parent" Loading Loading @@ -72,8 +73,9 @@ android:id="@+id/clock_scale_view_1" android:layout_width="@dimen/screen_preview_width" android:layout_height="wrap_content" android:layout_gravity="center"> <FrameLayout android:layout_gravity="center" android:clipChildren="false"> <com.android.customization.picker.clock.ui.view.ClockHostView android:id="@+id/clock_host_view_1" android:layout_width="match_parent" android:layout_height="match_parent" Loading Loading @@ -104,8 +106,9 @@ android:id="@+id/clock_scale_view_2" android:layout_width="@dimen/screen_preview_width" android:layout_height="wrap_content" android:layout_gravity="center"> <FrameLayout android:layout_gravity="center" android:clipChildren="false"> <com.android.customization.picker.clock.ui.view.ClockHostView android:id="@+id/clock_host_view_2" android:layout_width="match_parent" android:layout_height="match_parent" Loading Loading @@ -134,8 +137,9 @@ android:id="@+id/clock_scale_view_3" android:layout_width="@dimen/screen_preview_width" android:layout_height="wrap_content" android:layout_gravity="center"> <FrameLayout android:layout_gravity="center" android:clipChildren="false"> <com.android.customization.picker.clock.ui.view.ClockHostView android:id="@+id/clock_host_view_3" android:layout_width="match_parent" android:layout_height="match_parent" Loading Loading @@ -164,8 +168,9 @@ android:id="@+id/clock_scale_view_4" android:layout_width="@dimen/screen_preview_width" android:layout_height="wrap_content" android:layout_gravity="center"> <FrameLayout android:layout_gravity="center" android:clipChildren="false"> <com.android.customization.picker.clock.ui.view.ClockHostView android:id="@+id/clock_host_view_4" android:layout_width="match_parent" android:layout_height="match_parent" Loading
res/layout/fragment_clock_settings.xml +3 −2 Original line number Diff line number Diff line Loading @@ -34,7 +34,8 @@ android:layout_height="0dp" android:layout_weight="1" android:paddingTop="20dp" android:paddingBottom="40dp"> android:paddingBottom="40dp" android:clipChildren="false"> <include android:id="@+id/lock_preview" Loading @@ -43,7 +44,7 @@ android:layout_height="match_parent" android:layout_gravity="center" /> <FrameLayout <com.android.customization.picker.clock.ui.view.ClockHostView android:id="@+id/clock_host_view" android:layout_width="match_parent" android:layout_height="match_parent" Loading
res/layout/single_clock_view.xml +3 −2 Original line number Diff line number Diff line Loading @@ -17,8 +17,9 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="@dimen/screen_preview_width" android:layout_height="wrap_content" android:layout_gravity="center"> <FrameLayout android:layout_gravity="center" android:clipChildren="false"> <com.android.customization.picker.clock.ui.view.ClockHostView android:id="@+id/single_clock_host_view" android:layout_width="match_parent" android:layout_height="match_parent" Loading
src/com/android/customization/picker/clock/ui/binder/ClockCarouselViewBinder.kt +0 −1 Original line number Diff line number Diff line Loading @@ -64,7 +64,6 @@ object ClockCarouselViewBinder { hideSmartspace(hasCustomWeatherDataDisplay) }, previewRatio = clockViewFactory.getRatio(), ) } } Loading
src/com/android/customization/picker/clock/ui/binder/ClockSettingsBinder.kt +2 −3 Original line number Diff line number Diff line Loading @@ -19,7 +19,6 @@ import android.content.res.Configuration import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.FrameLayout import android.widget.LinearLayout import android.widget.SeekBar import androidx.core.view.isInvisible Loading @@ -33,6 +32,7 @@ import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView import com.android.customization.picker.clock.shared.ClockSize import com.android.customization.picker.clock.ui.adapter.ClockSettingsTabAdapter import com.android.customization.picker.clock.ui.view.ClockHostView import com.android.customization.picker.clock.ui.view.ClockSizeRadioButtonGroup import com.android.customization.picker.clock.ui.view.ClockViewFactory import com.android.customization.picker.clock.ui.viewmodel.ClockSettingsViewModel Loading @@ -55,8 +55,7 @@ object ClockSettingsBinder { clockViewFactory: ClockViewFactory, lifecycleOwner: LifecycleOwner, ) { val clockHostView: FrameLayout = view.requireViewById(R.id.clock_host_view) val clockHostView: ClockHostView = view.requireViewById(R.id.clock_host_view) val tabView: RecyclerView = view.requireViewById(R.id.tabs) val tabAdapter = ClockSettingsTabAdapter() tabView.adapter = tabAdapter Loading