Best effort dismissal of the login screen.

This change adds in two mechanisms to dismiss the login
screen that shows up on boot. The first is a countdown
timer and the second is a start driving button. Both of
them behave in the same way that once the timer runs out
or if the button is clicked, the system will automatically
try to select a user and get the system running.

Right now the implementation of selecting a user is a bit
trivial, it just tries to drop the keyguard on the currently
running user.

Bug: 36454400
Test: 1. Booted mojave, watched progress bar make progress
         and automatically log in user.
      2. Booted mojave, clicked the start driving button and
         watch the keyguard dismiss itself.
Change-Id: If22f4c3c7e21aadf2951b9c0cd8b97a4b474b349
diff --git a/packages/SystemUI/res/values/integers_car.xml b/packages/SystemUI/res/values/integers_car.xml
new file mode 100644
index 0000000..320ee9f
--- /dev/null
+++ b/packages/SystemUI/res/values/integers_car.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+  Copyright (c) 2017, The Android Open Source Project
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android">
+    <integer name="car_user_switcher_timeout_ms">15000</integer>
+    <!-- This values less than ProgressBar.PROGRESS_ANIM_DURATION for a smooth animation. -->
+    <integer name="car_user_switcher_anim_update_ms">60</integer>
+</resources>