Loading packages/SystemUI/res-keyguard/drawable-xxxhdpi/stretch_thumbnail.png→packages/SystemUI/res-keyguard/drawable-xxxhdpi/analog_thumbnail.png (2.2 KiB) File moved. View file packages/SystemUI/res-keyguard/drawable/analog_frame.xml 0 → 100644 +7 −0 Original line number Diff line number Diff line <vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="250dp" android:width="250dp" android:viewportHeight="380" android:viewportWidth="380"> <path android:fillColor="#000000" android:pathData="M190,190m0,2a2,2 0,1 1,0 -4a2,2 0,1 1,0 4"/> </vector> packages/SystemUI/res-keyguard/drawable/analog_hour_hand.xml 0 → 100644 +7 −0 Original line number Diff line number Diff line <vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="250dp" android:width="250dp" android:viewportHeight="380" android:viewportWidth="380"> <path android:fillColor="#777777" android:fillType="evenOdd" android:pathData="M203,190C203,185.398 200.608,181.354 197,179.044L197,58C197,54.134 193.866,51 190,51C186.134,51 183,54.134 183,58L183,179.043C179.392,181.354 177,185.397 177,190C177,197.18 182.82,203 190,203C197.18,203 203,197.18 203,190Z"/> </vector> packages/SystemUI/res-keyguard/drawable/analog_minute_hand.xml 0 → 100644 +7 −0 Original line number Diff line number Diff line <vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="250dp" android:width="250dp" android:viewportHeight="380" android:viewportWidth="380"> <path android:fillColor="#FFFFFF" android:pathData="M192,182.252C195.45,183.14 198,186.272 198,190C198,194.418 194.418,198 190,198C185.582,198 182,194.418 182,190C182,186.272 184.55,183.14 188,182.252L188,10C188,8.895 188.895,8 190,8C191.105,8 192,8.895 192,10L192,182.252Z"/> </vector> packages/SystemUI/res-keyguard/layout/stretchanalog_clock.xml→packages/SystemUI/res-keyguard/layout/analog_clock.xml +22 −4 Original line number Diff line number Diff line Loading @@ -35,9 +35,27 @@ android:format24Hour="@string/keyguard_widget_24_hours_format" android:elegantTextHeight="false" /> <com.android.keyguard.clock.StretchAnalogClock <com.android.keyguard.clock.ImageClock android:id="@+id/analog_clock" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_width="wrap_content" android:layout_height="wrap_content" > <ImageView android:id="@+id/hour_hand" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/analog_hour_hand" /> <ImageView android:id="@+id/minute_hand" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/analog_minute_hand" /> <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/analog_frame" /> </com.android.keyguard.clock.ImageClock> </com.android.keyguard.clock.ClockLayout> Loading
packages/SystemUI/res-keyguard/drawable-xxxhdpi/stretch_thumbnail.png→packages/SystemUI/res-keyguard/drawable-xxxhdpi/analog_thumbnail.png (2.2 KiB) File moved. View file
packages/SystemUI/res-keyguard/drawable/analog_frame.xml 0 → 100644 +7 −0 Original line number Diff line number Diff line <vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="250dp" android:width="250dp" android:viewportHeight="380" android:viewportWidth="380"> <path android:fillColor="#000000" android:pathData="M190,190m0,2a2,2 0,1 1,0 -4a2,2 0,1 1,0 4"/> </vector>
packages/SystemUI/res-keyguard/drawable/analog_hour_hand.xml 0 → 100644 +7 −0 Original line number Diff line number Diff line <vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="250dp" android:width="250dp" android:viewportHeight="380" android:viewportWidth="380"> <path android:fillColor="#777777" android:fillType="evenOdd" android:pathData="M203,190C203,185.398 200.608,181.354 197,179.044L197,58C197,54.134 193.866,51 190,51C186.134,51 183,54.134 183,58L183,179.043C179.392,181.354 177,185.397 177,190C177,197.18 182.82,203 190,203C197.18,203 203,197.18 203,190Z"/> </vector>
packages/SystemUI/res-keyguard/drawable/analog_minute_hand.xml 0 → 100644 +7 −0 Original line number Diff line number Diff line <vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="250dp" android:width="250dp" android:viewportHeight="380" android:viewportWidth="380"> <path android:fillColor="#FFFFFF" android:pathData="M192,182.252C195.45,183.14 198,186.272 198,190C198,194.418 194.418,198 190,198C185.582,198 182,194.418 182,190C182,186.272 184.55,183.14 188,182.252L188,10C188,8.895 188.895,8 190,8C191.105,8 192,8.895 192,10L192,182.252Z"/> </vector>
packages/SystemUI/res-keyguard/layout/stretchanalog_clock.xml→packages/SystemUI/res-keyguard/layout/analog_clock.xml +22 −4 Original line number Diff line number Diff line Loading @@ -35,9 +35,27 @@ android:format24Hour="@string/keyguard_widget_24_hours_format" android:elegantTextHeight="false" /> <com.android.keyguard.clock.StretchAnalogClock <com.android.keyguard.clock.ImageClock android:id="@+id/analog_clock" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_width="wrap_content" android:layout_height="wrap_content" > <ImageView android:id="@+id/hour_hand" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/analog_hour_hand" /> <ImageView android:id="@+id/minute_hand" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/analog_minute_hand" /> <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/analog_frame" /> </com.android.keyguard.clock.ImageClock> </com.android.keyguard.clock.ClockLayout>