1 package android.support.car { 2 3 public class Car { 4 method public void connect() throws java.lang.IllegalStateException; 5 method public static android.support.car.Car createCar(android.content.Context, android.support.car.ServiceConnectionListener, android.os.Looper); 6 method public static android.support.car.Car createCar(android.content.Context, android.support.car.ServiceConnectionListener); 7 method public void disconnect(); 8 method public int getCarConnectionType() throws android.support.car.CarNotConnectedException; 9 method public java.lang.Object getCarManager(java.lang.String) throws android.support.car.CarNotConnectedException, android.support.car.CarNotSupportedException; 10 method public boolean isConnected(); 11 method public boolean isConnectedToCar(); 12 method public boolean isConnecting(); 13 method public void registerCarConnectionListener(android.support.car.CarConnectionListener) throws android.support.car.CarNotConnectedException, java.lang.IllegalStateException; 14 method public void unregisterCarConnectionListener(android.support.car.CarConnectionListener); 15 field public static final java.lang.String APP_CONTEXT_SERVICE = "app_context"; 16 field public static final java.lang.String AUDIO_SERVICE = "audio"; 17 field public static final int CONNECTION_TYPE_ADB_EMULATOR = 4; // 0x4 18 field public static final int CONNECTION_TYPE_EMBEDDED = 5; // 0x5 19 field public static final int CONNECTION_TYPE_EMULATOR = 0; // 0x0 20 field public static final int CONNECTION_TYPE_ON_DEVICE_EMULATOR = 3; // 0x3 21 field public static final int CONNECTION_TYPE_USB = 1; // 0x1 22 field public static final int CONNECTION_TYPE_WIFI = 2; // 0x2 23 field public static final java.lang.String INFO_SERVICE = "info"; 24 field public static final java.lang.String PACKAGE_SERVICE = "package"; 25 field public static final java.lang.String PERMISSION_FUEL = "android.car.permission.CAR_FUEL"; 26 field public static final java.lang.String PERMISSION_MILEAGE = "android.car.permission.CAR_MILEAGE"; 27 field public static final java.lang.String PERMISSION_SPEED = "android.car.permission.CAR_SPEED"; 28 field public static final java.lang.String PERMISSION_VENDOR_EXTENSION = "android.car.permission.CAR_VENDOR_EXTENSION"; 29 field public static final java.lang.String SENSOR_SERVICE = "sensor"; 30 } 31 32 public abstract interface CarConnectionListener { 33 method public abstract void onConnected(int); 34 method public abstract void onDisconnected(); 35 } 36 37 public abstract class CarInfoManager { 38 ctor public CarInfoManager(); 39 method public abstract java.lang.Float getFloat(java.lang.String) throws android.support.car.CarNotConnectedException, java.lang.IllegalArgumentException; 40 method public abstract java.lang.Integer getInt(java.lang.String) throws android.support.car.CarNotConnectedException, java.lang.IllegalArgumentException; 41 method public abstract java.lang.Long getLong(java.lang.String) throws android.support.car.CarNotConnectedException, java.lang.IllegalArgumentException; 42 method public abstract java.lang.String getString(java.lang.String) throws android.support.car.CarNotConnectedException, java.lang.IllegalArgumentException; 43 field public static final java.lang.String KEY_MANUFACTURER = "manufacturer"; 44 field public static final java.lang.String KEY_MODEL = "model"; 45 field public static final java.lang.String KEY_MODEL_YEAR = "model-year"; 46 field public static final java.lang.String KEY_VEHICLE_ID = "vehicle-id"; 47 } 48 49 public class CarNotConnectedException extends java.lang.Exception { 50 ctor public CarNotConnectedException(); 51 ctor public CarNotConnectedException(java.lang.String); 52 ctor public CarNotConnectedException(java.lang.String, java.lang.Throwable); 53 ctor public CarNotConnectedException(java.lang.Exception); 54 } 55 56 public class CarNotSupportedException extends java.lang.Exception { 57 ctor public CarNotSupportedException(); 58 ctor public CarNotSupportedException(java.lang.String); 59 ctor public CarNotSupportedException(java.lang.String, java.lang.Throwable); 60 ctor public CarNotSupportedException(java.lang.Exception); 61 } 62 63 public abstract interface ServiceConnectionListener { 64 method public abstract void onServiceConnected(android.content.ComponentName); 65 method public abstract void onServiceConnectionFailed(int); 66 method public abstract void onServiceDisconnected(android.content.ComponentName); 67 method public abstract void onServiceSuspended(int); 68 } 69 70 } 71 72 package android.support.car.annotation { 73 74 public abstract class ValueTypeDef implements java.lang.annotation.Annotation { 75 } 76 77 public abstract class VersionDef implements java.lang.annotation.Annotation { 78 } 79 80 } 81 82 package android.support.car.app { 83 84 public abstract class CarActivity { 85 ctor public CarActivity(android.support.car.app.CarActivity.Proxy, android.content.Context, android.support.car.Car); 86 method public android.view.View findViewById(int); 87 method public void finish(); 88 method public void finishAfterTransition(); 89 method public android.support.car.Car getCar(); 90 method public android.content.Context getContext(); 91 method public android.support.car.input.CarInputManager getInputManager(); 92 method public android.content.Intent getIntent(); 93 method public java.lang.Object getLastNonConfigurationInstance(); 94 method public android.view.LayoutInflater getLayoutInflater(); 95 method public android.view.MenuInflater getMenuInflater(); 96 method public android.content.res.Resources getResources(); 97 method public android.view.Window getWindow(); 98 method public boolean isFinishing(); 99 method protected void onActivityResult(int, int, android.content.Intent); 100 method protected void onBackPressed(); 101 method protected void onConfigurationChanged(android.content.res.Configuration); 102 method protected void onCreate(android.os.Bundle); 103 method public boolean onCreatePanelMenu(int, android.view.Menu); 104 method public android.view.View onCreateView(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet); 105 method protected void onDestroy(); 106 method public void onLowMemory(); 107 method protected void onNewIntent(android.content.Intent); 108 method protected void onPause(); 109 method protected void onPostResume(); 110 method public void onRequestPermissionsResult(int, java.lang.String[], int[]); 111 method protected void onRestart(); 112 method protected void onRestoreInstanceState(android.os.Bundle); 113 method protected void onResume(); 114 method public java.lang.Object onRetainNonConfigurationInstance(); 115 method protected void onSaveInstanceState(android.os.Bundle); 116 method protected void onStart(); 117 method protected void onStop(); 118 method public void requestPermissions(java.lang.String[], int); 119 method public void runOnUiThread(java.lang.Runnable); 120 method public void setContentView(android.view.View); 121 method public void setContentView(int); 122 method public void setIntent(android.content.Intent); 123 method public void setResult(int); 124 method public void setResult(int, android.content.Intent); 125 method public boolean shouldShowRequestPermissionRationale(java.lang.String); 126 method public void startActivityForResult(android.content.Intent, int); 127 } 128 129 public static abstract class CarActivity.Proxy { 130 ctor public CarActivity.Proxy(); 131 method public abstract android.view.View findViewById(int); 132 method public abstract void finish(); 133 method public abstract void finishAfterTransition(); 134 method public abstract android.support.car.input.CarInputManager getCarInputManager(); 135 method public abstract android.content.Intent getIntent(); 136 method public abstract android.view.LayoutInflater getLayoutInflater(); 137 method public abstract android.view.MenuInflater getMenuInflater(); 138 method public abstract android.content.res.Resources getResources(); 139 method public abstract android.view.Window getWindow(); 140 method public abstract boolean isFinishing(); 141 method public void requestPermissions(java.lang.String[], int); 142 method public abstract void setContentView(android.view.View); 143 method public abstract void setContentView(int); 144 method public abstract void setIntent(android.content.Intent); 145 method public abstract void setResult(int); 146 method public abstract void setResult(int, android.content.Intent); 147 method public boolean shouldShowRequestPermissionRationale(java.lang.String); 148 method public void startActivityForResult(android.content.Intent, int); 149 } 150 151 public static abstract interface CarActivity.RequestPermissionsRequestCodeValidator { 152 method public abstract void validateRequestPermissionsRequestCode(int); 153 } 154 155 public class CarFragmentActivity extends android.support.car.app.CarActivity implements android.support.car.app.CarActivity.RequestPermissionsRequestCodeValidator { 156 ctor public CarFragmentActivity(android.support.car.app.CarActivity.Proxy, android.content.Context, android.support.car.Car); 157 method public void dump(java.lang.String, java.io.FileDescriptor, java.io.PrintWriter, java.lang.String[]); 158 method public java.lang.Object getLastCustomNonConfigurationInstance(); 159 method public android.support.v4.app.FragmentManager getSupportFragmentManager(); 160 method public void onBackPressed(); 161 method public void onConfigurationChanged(android.content.res.Configuration); 162 method protected void onResumeFragments(); 163 method public java.lang.Object onRetainCustomNonConfigurationInstance(); 164 method public final java.lang.Object onRetainNonConfigurationInstance(); 165 method public void onStateNotSaved(); 166 method public void setContentFragment(android.support.v4.app.Fragment, int); 167 method public void startActivityFromFragment(android.support.v4.app.Fragment, android.content.Intent, int); 168 method public void supportFinishAfterTransition(); 169 method public final void validateRequestPermissionsRequestCode(int); 170 } 171 172 public class CarProxyActivity extends android.app.Activity { 173 ctor public CarProxyActivity(java.lang.Class); 174 ctor public CarProxyActivity(java.lang.Class, boolean); 175 } 176 177 } 178 179 package android.support.car.app.menu { 180 181 public abstract class CarDrawerActivity extends android.support.car.app.CarFragmentActivity { 182 ctor public CarDrawerActivity(android.support.car.app.CarActivity.Proxy, android.content.Context, android.support.car.Car); 183 method public void closeDrawer(); 184 method protected android.support.car.app.menu.CarUiController createCarUiController(); 185 method public int getFragmentContainerId(); 186 method public void hideSearchBox(); 187 method public boolean isDrawerShowing(); 188 method public boolean isSearchBoxEnabled(); 189 method public boolean isShowingSearchBox(); 190 method public boolean onMenuClicked(); 191 method public void openDrawer(); 192 method public void restoreMenuButtonDrawable(); 193 method public void restoreSearchBox(); 194 method public void setAutoLightDarkMode(); 195 method public void setBackground(android.graphics.Bitmap); 196 method public void setCarMenuCallbacks(android.support.car.app.menu.CarMenuCallbacks); 197 method public void setContentFragment(android.support.v4.app.Fragment); 198 method public void setDarkMode(); 199 method public void setDrawerShowing(boolean); 200 method public void setLightMode(); 201 method public void setMenuButtonBitmap(android.graphics.Bitmap); 202 method public void setOnMenuClickedListener(android.support.car.app.menu.CarDrawerActivity.OnMenuClickListener); 203 method public void setScrimColor(int); 204 method public void setSearchBoxColors(int, int, int, int); 205 method public void setSearchBoxEditListener(android.support.car.app.menu.SearchBoxEditListener); 206 method public void setSearchBoxEndView(android.view.View); 207 method public void setTitle(java.lang.CharSequence); 208 method public void showMenu(java.lang.String, java.lang.String); 209 method public void showSearchBox(android.view.View.OnClickListener); 210 method public void showSearchBox(); 211 method public void showToast(java.lang.String, int); 212 method public void startInput(java.lang.String); 213 method public void startInput(java.lang.String, android.view.View.OnClickListener); 214 method public void stopInput(); 215 } 216 217 public static abstract interface CarDrawerActivity.OnMenuClickListener { 218 method public abstract boolean onClicked(); 219 } 220 221 public class CarMenu { 222 ctor public CarMenu(android.util.DisplayMetrics); 223 method public void detach(); 224 method public void sendResult(java.util.List<android.support.car.app.menu.CarMenu.Item>); 225 } 226 227 public static class CarMenu.Builder { 228 ctor public CarMenu.Builder(java.lang.String); 229 method public android.support.car.app.menu.CarMenu.Item build(); 230 method public android.support.car.app.menu.CarMenu.Builder setFlags(int); 231 method public android.support.car.app.menu.CarMenu.Builder setIcon(android.graphics.Bitmap); 232 method public android.support.car.app.menu.CarMenu.Builder setIconFromSnapshot(android.graphics.drawable.Drawable); 233 method public android.support.car.app.menu.CarMenu.Builder setIsEmptyPlaceHolder(boolean); 234 method public android.support.car.app.menu.CarMenu.Builder setRemoteViews(android.widget.RemoteViews); 235 method public android.support.car.app.menu.CarMenu.Builder setRightIcon(android.graphics.Bitmap); 236 method public android.support.car.app.menu.CarMenu.Builder setRightIconFromSnapshot(android.graphics.drawable.Drawable); 237 method public android.support.car.app.menu.CarMenu.Builder setRightText(java.lang.String); 238 method public android.support.car.app.menu.CarMenu.Builder setText(java.lang.String); 239 method public android.support.car.app.menu.CarMenu.Builder setTitle(java.lang.String); 240 method public android.support.car.app.menu.CarMenu.Builder setWidget(int); 241 method public android.support.car.app.menu.CarMenu.Builder setWidgetState(boolean); 242 } 243 244 public static abstract interface CarMenu.Item { 245 method public abstract int getFlags(); 246 method public abstract java.lang.String getId(); 247 method public abstract java.lang.String getText(); 248 method public abstract java.lang.String getTitle(); 249 method public abstract int getWidget(); 250 method public abstract boolean getWidgetState(); 251 } 252 253 public abstract class CarMenuCallbacks { 254 ctor public CarMenuCallbacks(); 255 method public void notifyChildChanged(java.lang.String, android.support.car.app.menu.CarMenu.Item); 256 method public void notifyChildrenChanged(java.lang.String); 257 method public void onCarMenuClosed(); 258 method public void onCarMenuClosing(); 259 method public void onCarMenuOpened(); 260 method public void onCarMenuOpening(); 261 method public abstract android.support.car.app.menu.RootMenu onGetRoot(android.os.Bundle); 262 method public void onItemClicked(java.lang.String); 263 method public boolean onItemLongClicked(java.lang.String); 264 method public abstract void onLoadChildren(java.lang.String, android.support.car.app.menu.CarMenu); 265 method public void onStateChanged(int); 266 } 267 268 public abstract class CarUiController { 269 ctor public CarUiController(android.support.car.app.menu.CarDrawerActivity); 270 method public abstract void closeDrawer(); 271 method public static android.support.car.app.menu.CarUiController createCarUiController(android.support.car.app.menu.CarDrawerActivity); 272 method public abstract android.view.View getContentView(); 273 method public abstract int getFragmentContainerId(); 274 method public abstract java.lang.CharSequence getText(); 275 method public abstract void onChildChanged(java.lang.String, android.os.Bundle); 276 method public abstract void onChildrenChanged(java.lang.String); 277 method public abstract void onPause(); 278 method public abstract void onRestoreInstanceState(android.os.Bundle); 279 method public abstract void onResume(); 280 method public abstract void onSaveInstanceState(android.os.Bundle); 281 method public abstract void onStart(); 282 method public abstract void onStop(); 283 method public abstract void openDrawer(); 284 method public abstract void registerCarMenuCallbacks(android.support.car.app.menu.CarMenuCallbacks); 285 method public abstract void restoreMenuButtonDrawable(); 286 method public abstract void setAutoLightDarkMode(); 287 method public abstract void setBackground(android.graphics.Bitmap); 288 method public abstract void setDarkMode(); 289 method public abstract void setLightMode(); 290 method public abstract void setMenuButtonBitmap(android.graphics.Bitmap); 291 method public abstract void setScrimColor(int); 292 method public abstract void setSearchBoxColors(int, int, int, int); 293 method public abstract void setSearchBoxEditListener(android.support.car.app.menu.SearchBoxEditListener); 294 method public abstract void setSearchBoxEndView(android.view.View); 295 method public abstract void setTitle(java.lang.CharSequence); 296 method public abstract void showMenu(java.lang.String, java.lang.String); 297 method public abstract void showSearchBox(android.view.View.OnClickListener); 298 method public abstract void showToast(java.lang.String, int); 299 method public abstract android.widget.EditText startInput(java.lang.String, android.view.View.OnClickListener); 300 method public abstract void stopInput(); 301 method public abstract void validateCarUiPackage(); 302 field protected final android.support.car.app.menu.CarDrawerActivity mActivity; 303 } 304 305 public class RootMenu { 306 ctor public RootMenu(java.lang.String); 307 ctor public RootMenu(java.lang.String, android.os.Bundle); 308 method public android.os.Bundle getBundle(); 309 method public java.lang.String getId(); 310 } 311 312 public abstract class SearchBoxEditListener { 313 ctor public SearchBoxEditListener(); 314 method public abstract void onEdit(java.lang.String); 315 method public abstract void onSearch(java.lang.String); 316 } 317 318 public class Utils { 319 ctor public Utils(); 320 method public static android.graphics.Bitmap snapshot(android.util.DisplayMetrics, android.graphics.drawable.Drawable); 321 } 322 323 } 324 325 package android.support.car.app.menu.compat { 326 327 public class CarMenuConstantsComapt { 328 ctor public CarMenuConstantsComapt(); 329 } 330 331 public static class CarMenuConstantsComapt.MenuItemConstants { 332 ctor public CarMenuConstantsComapt.MenuItemConstants(); 333 field public static final int FLAG_BROWSABLE = 1; // 0x1 334 field public static final int FLAG_FIRSTITEM = 2; // 0x2 335 field public static final java.lang.String KEY_EMPTY_PLACEHOLDER = "android.car.app.menu.empty_placeholder"; 336 field public static final java.lang.String KEY_FLAGS = "android.car.app.menu.flags"; 337 field public static final java.lang.String KEY_ID = "android.car.app.menu.id"; 338 field public static final java.lang.String KEY_LEFTICON = "android.car.app.menu.leftIcon"; 339 field public static final java.lang.String KEY_REMOTEVIEWS = "android.car.app.menu.remoteViews"; 340 field public static final java.lang.String KEY_RIGHTICON = "android.car.app.menu.rightIcon"; 341 field public static final java.lang.String KEY_RIGHTTEXT = "android.car.app.menu.rightText"; 342 field public static final java.lang.String KEY_TEXT = "android.car.app.menu.text"; 343 field public static final java.lang.String KEY_TITLE = "android.car.app.menu.title"; 344 field public static final java.lang.String KEY_WIDGET = "android.car.app.menu.widget"; 345 field public static final java.lang.String KEY_WIDGET_STATE = "android.car.app.menu.widget_state"; 346 field public static final int WIDGET_CHECKBOX = 1; // 0x1 347 field public static final int WIDGET_TEXT_VIEW = 2; // 0x2 348 } 349 350 public static abstract class CarMenuConstantsComapt.MenuItemConstants.MenuItemFlags implements java.lang.annotation.Annotation { 351 } 352 353 public static abstract class CarMenuConstantsComapt.MenuItemConstants.WidgetTypes implements java.lang.annotation.Annotation { 354 } 355 356 public class EmbeddedCarMenuCallbacksCompat extends android.car.app.menu.CarMenuCallbacks { 357 ctor public EmbeddedCarMenuCallbacksCompat(android.support.car.app.menu.CarDrawerActivity, android.support.car.app.menu.CarMenuCallbacks); 358 method public android.car.app.menu.RootMenu getRootMenu(android.os.Bundle); 359 method public void onCarMenuClosed(); 360 method public void onCarMenuClosing(); 361 method public void onCarMenuOpened(); 362 method public void onCarMenuOpening(); 363 method public void onChildChanged(java.lang.String, android.os.Bundle); 364 method public void onChildrenChanged(java.lang.String); 365 method public void onItemClicked(java.lang.String); 366 method public boolean onItemLongClicked(java.lang.String); 367 method public boolean onMenuClicked(); 368 method public void subscribe(java.lang.String, android.car.app.menu.SubscriptionCallbacks); 369 method public void unsubscribe(java.lang.String, android.car.app.menu.SubscriptionCallbacks); 370 } 371 372 public class EmbeddedSearchBoxEditListenerCompat extends android.car.app.menu.SearchBoxEditListener { 373 ctor public EmbeddedSearchBoxEditListenerCompat(android.support.car.app.menu.SearchBoxEditListener); 374 method public void onEdit(java.lang.String); 375 method public void onSearch(java.lang.String); 376 } 377 378 } 379 380 package android.support.car.content.pm { 381 382 public abstract class CarPackageManager { 383 ctor public CarPackageManager(); 384 method public abstract boolean isActivityAllowedWhileDriving(java.lang.String, java.lang.String) throws android.support.car.CarNotConnectedException; 385 method public abstract boolean isServiceAllowedWhileDriving(java.lang.String, java.lang.String) throws android.support.car.CarNotConnectedException; 386 } 387 388 } 389 390 package android.support.car.hardware { 391 392 public class CarSensorEvent extends android.support.car.os.ExtendableParcelable { 393 ctor public CarSensorEvent(android.os.Parcel); 394 ctor public CarSensorEvent(int, long, int, int); 395 method public int describeContents(); 396 method public android.support.car.hardware.CarSensorEvent.AccelerometerData getAccelerometerData(android.support.car.hardware.CarSensorEvent.AccelerometerData); 397 method public android.support.car.hardware.CarSensorEvent.CarSpeedData getCarSpeedData(android.support.car.hardware.CarSensorEvent.CarSpeedData); 398 method public android.support.car.hardware.CarSensorEvent.CompassData getCompassData(android.support.car.hardware.CarSensorEvent.CompassData); 399 method public android.support.car.hardware.CarSensorEvent.DrivingStatusData getDrivingStatusData(android.support.car.hardware.CarSensorEvent.DrivingStatusData); 400 method public android.support.car.hardware.CarSensorEvent.EnvironmentData getEnvironmentData(android.support.car.hardware.CarSensorEvent.EnvironmentData); 401 method public android.support.car.hardware.CarSensorEvent.FuelLevelData getFuelLevelData(android.support.car.hardware.CarSensorEvent.FuelLevelData); 402 method public android.support.car.hardware.CarSensorEvent.GearData getGearData(android.support.car.hardware.CarSensorEvent.GearData); 403 method public android.support.car.hardware.CarSensorEvent.GpsSatelliteData getGpsSatelliteData(android.support.car.hardware.CarSensorEvent.GpsSatelliteData, boolean); 404 method public android.support.car.hardware.CarSensorEvent.GyroscopeData getGyroscopeData(android.support.car.hardware.CarSensorEvent.GyroscopeData); 405 method public android.location.Location getLocation(android.location.Location); 406 method public android.support.car.hardware.CarSensorEvent.NightData getNightData(android.support.car.hardware.CarSensorEvent.NightData); 407 method public android.support.car.hardware.CarSensorEvent.OdometerData getOdometerData(android.support.car.hardware.CarSensorEvent.OdometerData); 408 method public android.support.car.hardware.CarSensorEvent.ParkingBrakeData getParkingBrakeData(android.support.car.hardware.CarSensorEvent.ParkingBrakeData); 409 method public android.support.car.hardware.CarSensorEvent.RpmData getRpmData(android.support.car.hardware.CarSensorEvent.RpmData); 410 method public void writeToParcel(android.os.Parcel, int); 411 field public static final android.os.Parcelable.Creator<android.support.car.hardware.CarSensorEvent> CREATOR; 412 field public static final int DRIVE_STATUS_FULLY_RESTRICTED = 31; // 0x1f 413 field public static final int DRIVE_STATUS_LIMIT_MESSAGE_LEN = 16; // 0x10 414 field public static final int DRIVE_STATUS_NO_CONFIG = 8; // 0x8 415 field public static final int DRIVE_STATUS_NO_KEYBOARD_INPUT = 2; // 0x2 416 field public static final int DRIVE_STATUS_NO_VIDEO = 1; // 0x1 417 field public static final int DRIVE_STATUS_NO_VOICE_INPUT = 4; // 0x4 418 field public static final int DRIVE_STATUS_UNRESTRICTED = 0; // 0x0 419 field public static final int GEAR_DRIVE = 100; // 0x64 420 field public static final int GEAR_EIGHTH = 8; // 0x8 421 field public static final int GEAR_FIFTH = 5; // 0x5 422 field public static final int GEAR_FIRST = 1; // 0x1 423 field public static final int GEAR_FOURTH = 4; // 0x4 424 field public static final int GEAR_NEUTRAL = 0; // 0x0 425 field public static final int GEAR_NINTH = 9; // 0x9 426 field public static final int GEAR_PARK = 101; // 0x65 427 field public static final int GEAR_REVERSE = 102; // 0x66 428 field public static final int GEAR_SECOND = 2; // 0x2 429 field public static final int GEAR_SEVENTH = 7; // 0x7 430 field public static final int GEAR_SIXTH = 6; // 0x6 431 field public static final int GEAR_TENTH = 10; // 0xa 432 field public static final int GEAR_THIRD = 3; // 0x3 433 field public static final int INDEX_ACCELEROMETER_X = 0; // 0x0 434 field public static final int INDEX_ACCELEROMETER_Y = 1; // 0x1 435 field public static final int INDEX_ACCELEROMETER_Z = 2; // 0x2 436 field public static final int INDEX_COMPASS_BEARING = 0; // 0x0 437 field public static final int INDEX_COMPASS_PITCH = 1; // 0x1 438 field public static final int INDEX_COMPASS_ROLL = 2; // 0x2 439 field public static final int INDEX_ENVIRONMENT_PRESSURE = 1; // 0x1 440 field public static final int INDEX_ENVIRONMENT_TEMPERATURE = 0; // 0x0 441 field public static final int INDEX_FUEL_LEVEL_IN_DISTANCE = 1; // 0x1 442 field public static final int INDEX_FUEL_LEVEL_IN_PERCENTILE = 0; // 0x0 443 field public static final int INDEX_FUEL_LOW_WARNING = 0; // 0x0 444 field public static final int INDEX_GPS_SATELLITE_ARRAY_FLOAT_INTERVAL = 4; // 0x4 445 field public static final int INDEX_GPS_SATELLITE_ARRAY_FLOAT_OFFSET = 0; // 0x0 446 field public static final int INDEX_GPS_SATELLITE_ARRAY_INT_INTERVAL = 1; // 0x1 447 field public static final int INDEX_GPS_SATELLITE_ARRAY_INT_OFFSET = 2; // 0x2 448 field public static final int INDEX_GPS_SATELLITE_AZIMUTH_OFFSET = 2; // 0x2 449 field public static final int INDEX_GPS_SATELLITE_ELEVATION_OFFSET = 3; // 0x3 450 field public static final int INDEX_GPS_SATELLITE_NUMBER_IN_USE = 0; // 0x0 451 field public static final int INDEX_GPS_SATELLITE_NUMBER_IN_VIEW = 1; // 0x1 452 field public static final int INDEX_GPS_SATELLITE_PRN_OFFSET = 0; // 0x0 453 field public static final int INDEX_GPS_SATELLITE_SNR_OFFSET = 1; // 0x1 454 field public static final int INDEX_GYROSCOPE_X = 0; // 0x0 455 field public static final int INDEX_GYROSCOPE_Y = 1; // 0x1 456 field public static final int INDEX_GYROSCOPE_Z = 2; // 0x2 457 field public static final int INDEX_LOCATION_ACCURACY = 2; // 0x2 458 field public static final int INDEX_LOCATION_ALTITUDE = 3; // 0x3 459 field public static final int INDEX_LOCATION_BEARING = 5; // 0x5 460 field public static final int INDEX_LOCATION_LATITUDE = 0; // 0x0 461 field public static final int INDEX_LOCATION_LATITUDE_INTS = 1; // 0x1 462 field public static final int INDEX_LOCATION_LONGITUDE = 1; // 0x1 463 field public static final int INDEX_LOCATION_LONGITUDE_INTS = 2; // 0x2 464 field public static final int INDEX_LOCATION_MAX = 5; // 0x5 465 field public static final int INDEX_LOCATION_SPEED = 4; // 0x4 466 field public final float[] floatValues; 467 field public final int[] intValues; 468 field public int sensorType; 469 field public long timeStampNs; 470 } 471 472 public static class CarSensorEvent.AccelerometerData { 473 ctor public CarSensorEvent.AccelerometerData(); 474 field public long timeStampNs; 475 field public float x; 476 field public float y; 477 field public float z; 478 } 479 480 public static class CarSensorEvent.CarSpeedData { 481 ctor public CarSensorEvent.CarSpeedData(); 482 field public float carSpeed; 483 field public long timeStampNs; 484 } 485 486 public static class CarSensorEvent.CompassData { 487 ctor public CarSensorEvent.CompassData(); 488 field public float bearing; 489 field public float pitch; 490 field public float roll; 491 field public long timeStampNs; 492 } 493 494 public static class CarSensorEvent.DrivingStatusData { 495 ctor public CarSensorEvent.DrivingStatusData(); 496 field public int status; 497 field public long timeStampNs; 498 } 499 500 public static class CarSensorEvent.EnvironmentData { 501 ctor public CarSensorEvent.EnvironmentData(); 502 field public float pressure; 503 field public float temperature; 504 field public long timeStampNs; 505 } 506 507 public static class CarSensorEvent.FuelLevelData { 508 ctor public CarSensorEvent.FuelLevelData(); 509 field public int level; 510 field public boolean lowFuelWarning; 511 field public float range; 512 field public long timeStampNs; 513 } 514 515 public static class CarSensorEvent.GearData { 516 ctor public CarSensorEvent.GearData(); 517 field public int gear; 518 field public long timeStampNs; 519 } 520 521 public static class CarSensorEvent.GpsSatelliteData { 522 ctor public CarSensorEvent.GpsSatelliteData(); 523 field public float[] azimuth; 524 field public float[] elevation; 525 field public int numberInUse; 526 field public int numberInView; 527 field public int[] prn; 528 field public float[] snr; 529 field public long timeStampNs; 530 field public boolean[] usedInFix; 531 } 532 533 public static class CarSensorEvent.GyroscopeData { 534 ctor public CarSensorEvent.GyroscopeData(); 535 field public long timeStampNs; 536 field public float x; 537 field public float y; 538 field public float z; 539 } 540 541 public static class CarSensorEvent.NightData { 542 ctor public CarSensorEvent.NightData(); 543 field public boolean isNightMode; 544 field public long timeStampNs; 545 } 546 547 public static class CarSensorEvent.OdometerData { 548 ctor public CarSensorEvent.OdometerData(); 549 field public float kms; 550 field public long timeStampNs; 551 } 552 553 public static class CarSensorEvent.ParkingBrakeData { 554 ctor public CarSensorEvent.ParkingBrakeData(); 555 field public boolean isEngaged; 556 field public long timeStampNs; 557 } 558 559 public static class CarSensorEvent.RpmData { 560 ctor public CarSensorEvent.RpmData(); 561 field public float rpm; 562 field public long timeStampNs; 563 } 564 565 public abstract class CarSensorManager { 566 ctor public CarSensorManager(); 567 method public abstract android.support.car.hardware.CarSensorEvent getLatestSensorEvent(int) throws android.support.car.CarNotConnectedException; 568 method public abstract int[] getSupportedSensors() throws android.support.car.CarNotConnectedException; 569 method public abstract boolean isSensorSupported(int) throws android.support.car.CarNotConnectedException; 570 method public static boolean isSensorSupported(int[], int); 571 method public abstract boolean registerListener(android.support.car.hardware.CarSensorManager.CarSensorEventListener, int, int) throws android.support.car.CarNotConnectedException, java.lang.IllegalArgumentException; 572 method public abstract void unregisterListener(android.support.car.hardware.CarSensorManager.CarSensorEventListener) throws android.support.car.CarNotConnectedException; 573 method public abstract void unregisterListener(android.support.car.hardware.CarSensorManager.CarSensorEventListener, int) throws android.support.car.CarNotConnectedException; 574 field public static final int SENSOR_RATE_FAST = 1; // 0x1 575 field public static final int SENSOR_RATE_FASTEST = 0; // 0x0 576 field public static final int SENSOR_RATE_NORMAL = 3; // 0x3 577 field public static final int SENSOR_RATE_UI = 2; // 0x2 578 field public static final int SENSOR_TYPE_CAR_SPEED = 2; // 0x2 579 field public static final int SENSOR_TYPE_COMPASS = 1; // 0x1 580 field public static final int SENSOR_TYPE_DRIVING_STATUS = 11; // 0xb 581 field public static final int SENSOR_TYPE_ENVIRONMENT = 12; // 0xc 582 field public static final int SENSOR_TYPE_FUEL_LEVEL = 5; // 0x5 583 field public static final int SENSOR_TYPE_GEAR = 7; // 0x7 584 field public static final int SENSOR_TYPE_LOCATION = 10; // 0xa 585 field public static final int SENSOR_TYPE_NIGHT = 9; // 0x9 586 field public static final int SENSOR_TYPE_ODOMETER = 4; // 0x4 587 field public static final int SENSOR_TYPE_PARKING_BRAKE = 6; // 0x6 588 field public static final int SENSOR_TYPE_RPM = 3; // 0x3 589 field public static final int SENSOR_TYPE_VENDOR_EXTENSION_END = 1879048191; // 0x6fffffff 590 } 591 592 public static abstract interface CarSensorManager.CarSensorEventListener { 593 method public abstract void onSensorChanged(android.support.car.hardware.CarSensorEvent); 594 } 595 596 } 597 598 package android.support.car.input { 599 600 public abstract interface CarEditable { 601 method public abstract android.view.inputmethod.InputConnection onCreateInputConnection(android.view.inputmethod.EditorInfo); 602 method public abstract void setCarEditableListener(android.support.car.input.CarEditableListener); 603 method public abstract void setInputEnabled(boolean); 604 } 605 606 public abstract interface CarEditableListener { 607 method public abstract void onUpdateSelection(int, int, int, int); 608 } 609 610 public abstract class CarInputManager { 611 ctor public CarInputManager(); 612 method public abstract boolean isCurrentCarEditable(android.widget.EditText); 613 method public abstract boolean isInputActive(); 614 method public abstract boolean isValid(); 615 method public abstract void startInput(android.widget.EditText); 616 method public abstract void stopInput(); 617 } 618 619 public class CarRestrictedEditText extends android.widget.EditText implements android.support.car.input.CarEditable { 620 ctor public CarRestrictedEditText(android.content.Context, android.util.AttributeSet); 621 method public void setCarEditableListener(android.support.car.input.CarEditableListener); 622 method public void setInputEnabled(boolean); 623 method public void setKeyListener(android.support.car.input.CarRestrictedEditText.KeyListener); 624 } 625 626 public static abstract interface CarRestrictedEditText.KeyListener { 627 method public abstract void onCloseKeyboard(); 628 method public abstract void onCommitText(java.lang.String); 629 method public abstract void onDelete(); 630 method public abstract void onKeyDown(int); 631 method public abstract void onKeyUp(int); 632 } 633 634 } 635 636 package android.support.car.media { 637 638 public abstract class CarAudioManager { 639 ctor public CarAudioManager(); 640 method public abstract int abandonAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, android.media.AudioAttributes); 641 method public abstract android.media.AudioAttributes getAudioAttributesForCarUsage(int); 642 method public abstract int requestAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, android.media.AudioAttributes, int, int) throws java.lang.IllegalArgumentException; 643 field public static final int CAR_AUDIO_USAGE_ALARM = 6; // 0x6 644 field public static final int CAR_AUDIO_USAGE_DEFAULT = 0; // 0x0 645 field public static final int CAR_AUDIO_USAGE_MUSIC = 1; // 0x1 646 field public static final int CAR_AUDIO_USAGE_NAVIGATION_GUIDANCE = 3; // 0x3 647 field public static final int CAR_AUDIO_USAGE_NOTIFICATION = 7; // 0x7 648 field public static final int CAR_AUDIO_USAGE_RADIO = 2; // 0x2 649 field public static final int CAR_AUDIO_USAGE_SYSTEM_SAFETY_ALERT = 9; // 0x9 650 field public static final int CAR_AUDIO_USAGE_SYSTEM_SOUND = 8; // 0x8 651 field public static final int CAR_AUDIO_USAGE_VOICE_CALL = 4; // 0x4 652 field public static final int CAR_AUDIO_USAGE_VOICE_COMMAND = 5; // 0x5 653 } 654 655 } 656 657 package android.support.car.os { 658 659 public abstract class ExtendableParcelable implements android.os.Parcelable { 660 ctor protected ExtendableParcelable(android.os.Parcel, int); 661 ctor protected ExtendableParcelable(int); 662 method protected void completeReading(android.os.Parcel, int); 663 method protected void completeWriting(android.os.Parcel, int); 664 method protected int readHeader(android.os.Parcel); 665 method protected int writeHeader(android.os.Parcel); 666 field public final int version; 667 } 668 669 } 670 671 package android.support.car.ui { 672 673 public class AnimationListenerAdapter implements android.view.animation.Animation.AnimationListener { 674 ctor public AnimationListenerAdapter(); 675 method public void onAnimationEnd(android.view.animation.Animation); 676 method public void onAnimationRepeat(android.view.animation.Animation); 677 method public void onAnimationStart(android.view.animation.Animation); 678 } 679 680 public class CarActionExtender implements android.support.v4.app.NotificationCompat.Action.Extender { 681 ctor public CarActionExtender(); 682 ctor public CarActionExtender(android.support.v4.app.NotificationCompat.Action); 683 method public android.support.v4.app.NotificationCompat.Action.Builder extend(android.support.v4.app.NotificationCompat.Action.Builder); 684 method public android.content.Intent getIntent(); 685 method public void setIntent(android.content.Intent); 686 } 687 688 public class CarItemAnimator extends android.support.v7.widget.DefaultItemAnimator { 689 ctor public CarItemAnimator(android.support.car.ui.CarLayoutManager); 690 } 691 692 public class CarLayoutManager extends android.support.v7.widget.RecyclerView.LayoutManager { 693 ctor public CarLayoutManager(android.content.Context); 694 method public android.support.v7.widget.RecyclerView.LayoutParams generateDefaultLayoutParams(); 695 method public android.view.View getFirstFullyVisibleChild(); 696 method public int getFirstFullyVisibleChildIndex(); 697 method public int getLastFullyVisibleChildIndex(); 698 method public int getPageDownPosition(); 699 method public int getPageUpPosition(); 700 method public boolean isAtBottom(); 701 method public boolean isAtTop(); 702 method public void offsetRows(); 703 method public void setItemsChangedListener(android.support.car.ui.CarLayoutManager.OnItemsChangedListener); 704 method public void setOffsetRows(boolean); 705 method public void setRowOffsetMode(int); 706 method public boolean settleScrollForFling(android.support.v7.widget.RecyclerView, int); 707 field public static final int ROW_OFFSET_MODE_INDIVIDUAL = 0; // 0x0 708 field public static final int ROW_OFFSET_MODE_PAGE = 1; // 0x1 709 } 710 711 public static abstract interface CarLayoutManager.OnItemsChangedListener { 712 method public abstract void onItemsChanged(); 713 } 714 715 public static abstract class CarLayoutManager.RowOffsetMode implements java.lang.annotation.Annotation { 716 } 717 718 public class CarListItemViewHolder extends android.support.v7.widget.RecyclerView.ViewHolder { 719 ctor public CarListItemViewHolder(android.view.View, int); 720 field public final android.widget.ImageView icon; 721 field public final android.widget.FrameLayout iconContainer; 722 field public final android.widget.FrameLayout remoteViewsContainer; 723 field public final android.widget.CheckBox rightCheckbox; 724 field public final android.widget.ImageView rightImage; 725 field public final android.widget.TextView rightText; 726 field public final android.widget.TextView text; 727 field public final android.widget.TextView title; 728 } 729 730 public class CarNavExtender implements android.support.v4.app.NotificationCompat.Extender { 731 ctor public CarNavExtender(); 732 ctor public CarNavExtender(android.app.Notification); 733 method public android.support.v4.app.NotificationCompat.Builder extend(android.support.v4.app.NotificationCompat.Builder); 734 method public int getActionIcon(); 735 method public int getColor(); 736 method public java.lang.Long getContentId(); 737 method public android.content.Intent getContentIntent(); 738 method public java.lang.CharSequence getContentText(); 739 method public java.lang.CharSequence getContentTitle(); 740 method public boolean getIgnoreInStream(); 741 method public android.graphics.Bitmap getLargeIcon(); 742 method public int getNightColor(); 743 method public boolean getShowAsHeadsUp(); 744 method public boolean getShowInStream(); 745 method public java.lang.CharSequence getSubText(); 746 method public int getType(); 747 method public static int getType(android.app.Notification); 748 method public boolean isExtended(); 749 method public static boolean isExtended(android.app.Notification); 750 method public android.support.car.ui.CarNavExtender setActionIcon(int); 751 method public android.support.car.ui.CarNavExtender setColor(int); 752 method public android.support.car.ui.CarNavExtender setContentId(long); 753 method public android.support.car.ui.CarNavExtender setContentIntent(android.content.Intent); 754 method public android.support.car.ui.CarNavExtender setContentText(java.lang.CharSequence); 755 method public android.support.car.ui.CarNavExtender setContentTitle(java.lang.CharSequence); 756 method public android.support.car.ui.CarNavExtender setIgnoreInStream(boolean); 757 method public android.support.car.ui.CarNavExtender setLargeIcon(android.graphics.Bitmap); 758 method public android.support.car.ui.CarNavExtender setNightColor(int); 759 method public android.support.car.ui.CarNavExtender setShowAsHeadsUp(boolean); 760 method public android.support.car.ui.CarNavExtender setShowInStream(boolean); 761 method public android.support.car.ui.CarNavExtender setSubText(java.lang.CharSequence); 762 method public android.support.car.ui.CarNavExtender setType(int); 763 field public static final int TYPE_HERO = 0; // 0x0 764 field public static final int TYPE_NORMAL = 1; // 0x1 765 } 766 767 public class CarRecyclerView extends android.support.v7.widget.RecyclerView { 768 ctor public CarRecyclerView(android.content.Context); 769 ctor public CarRecyclerView(android.content.Context, android.util.AttributeSet); 770 ctor public CarRecyclerView(android.content.Context, android.util.AttributeSet, int); 771 method public void pageDown(); 772 method public void pageUp(); 773 method public void setFadeLastItem(boolean); 774 } 775 776 public class CarUiResourceLoader { 777 ctor public CarUiResourceLoader(); 778 method public static synchronized boolean getBoolean(android.content.Context, java.lang.String, boolean); 779 method public static synchronized float getDimen(android.content.Context, java.lang.String, float); 780 method public static synchronized android.graphics.drawable.Drawable getDrawable(android.content.Context, java.lang.String); 781 method public static synchronized android.graphics.drawable.Drawable getDrawable(android.content.Context, java.lang.String, android.util.DisplayMetrics); 782 } 783 784 public class CheckboxWrapperView extends android.widget.CheckBox { 785 ctor public CheckboxWrapperView(android.content.Context); 786 ctor public CheckboxWrapperView(android.content.Context, android.util.AttributeSet); 787 ctor public CheckboxWrapperView(android.content.Context, android.util.AttributeSet, int); 788 } 789 790 public class CircleBitmapDrawable extends android.graphics.drawable.Drawable { 791 ctor public CircleBitmapDrawable(android.content.res.Resources, android.graphics.Bitmap); 792 method public void draw(android.graphics.Canvas); 793 method public int getOpacity(); 794 method public void onBoundsChange(android.graphics.Rect); 795 method public void setAlpha(int); 796 method public void setColorFilter(android.graphics.ColorFilter); 797 method public android.graphics.Bitmap toBitmap(int); 798 } 799 800 public class CircularClipAnimation implements android.animation.Animator.AnimatorListener android.animation.ValueAnimator.AnimatorUpdateListener { 801 ctor public CircularClipAnimation(android.view.ViewGroup); 802 method public void addListener(android.animation.Animator.AnimatorListener); 803 method public void addView(android.support.car.ui.PathClippingView, android.view.View); 804 method public void onAnimationCancel(android.animation.Animator); 805 method public void onAnimationEnd(android.animation.Animator); 806 method public void onAnimationRepeat(android.animation.Animator); 807 method public void onAnimationStart(android.animation.Animator); 808 method public void onAnimationUpdate(android.animation.ValueAnimator); 809 method public void removeView(android.support.car.ui.PathClippingView); 810 method public void setupCenter(int, int); 811 method public void start(boolean, int, int, int, int, android.view.View); 812 field public static final int DURATION_MS = 300; // 0x12c 813 } 814 815 public class ClippableFrameLayout extends android.widget.FrameLayout implements android.support.car.ui.PathClippingView { 816 ctor public ClippableFrameLayout(android.content.Context, android.util.AttributeSet); 817 method public void setClipPath(android.graphics.Path); 818 } 819 820 public class ColorChecker { 821 ctor public ColorChecker(); 822 method public static double getContrastRatio(int, int); 823 method public static double getContrastRatio(double, double); 824 method public static double getLuminance(int); 825 method public static int getNonCriticalTintColor(android.content.Context, int); 826 method public static int getNonCriticalTintColor(int, int...); 827 method public static int getTintColor(android.content.Context, int); 828 method public static int getTintColor(int, int...); 829 method public static int getTintColor(double, int, int...); 830 } 831 832 public abstract class CursorRecyclerViewAdapter extends android.support.v7.widget.RecyclerView.Adapter { 833 ctor public CursorRecyclerViewAdapter(android.content.Context, android.database.Cursor); 834 method public void changeCursor(android.database.Cursor); 835 method public android.database.Cursor getCursor(); 836 method public int getItemCount(); 837 method protected int getRowIdColumnIndex(android.database.Cursor); 838 method public void onBindViewHolder(VH, android.database.Cursor); 839 method public void onBindViewHolder(VH, int); 840 method public android.database.Cursor swapCursor(android.database.Cursor); 841 field protected android.content.Context mContext; 842 field protected android.database.Cursor mCursor; 843 field protected android.database.DataSetObserver mDataSetObserver; 844 field protected int mRowIdColumn; 845 } 846 847 public class DrawerArrowDrawable extends android.graphics.drawable.Drawable { 848 ctor public DrawerArrowDrawable(android.content.Context); 849 method public void draw(android.graphics.Canvas); 850 method public int getOpacity(); 851 method public float getProgress(); 852 method public boolean isLayoutRtl(); 853 method public void setAlpha(int); 854 method public void setColorFilter(android.graphics.ColorFilter); 855 method public void setProgress(float); 856 method protected void setVerticalMirror(boolean); 857 } 858 859 public class FabDrawable extends android.graphics.drawable.Drawable { 860 ctor public FabDrawable(android.content.Context); 861 ctor public FabDrawable(int, int, int); 862 method public void draw(android.graphics.Canvas); 863 method public int getOpacity(); 864 method public void setAlpha(int); 865 method public void setColorFilter(android.graphics.ColorFilter); 866 method public void setFabAndStrokeColor(int); 867 method public void setFabAndStrokeColor(int, float); 868 method public void setFabColor(int); 869 method public void setStrokeColor(int); 870 } 871 872 public abstract class GroupingCursorRecyclerViewAdapter extends android.support.car.ui.CursorRecyclerViewAdapter { 873 ctor public GroupingCursorRecyclerViewAdapter(android.content.Context, android.database.Cursor); 874 method protected void addGroup(int, int, boolean); 875 method protected abstract void buildGroups(android.database.Cursor); 876 method public android.database.Cursor getItem(int); 877 method protected abstract void onBindChildViewHolder(VH, android.content.Context, android.database.Cursor); 878 method protected abstract void onBindGroupViewHolder(VH, android.content.Context, android.database.Cursor, int, boolean); 879 method protected abstract void onBindStandAloneViewHolder(VH, android.content.Context, android.database.Cursor); 880 method protected abstract VH onCreateChildViewHolder(android.content.Context, android.view.ViewGroup); 881 method protected abstract VH onCreateGroupViewHolder(android.content.Context, android.view.ViewGroup); 882 method protected abstract VH onCreateStandAloneViewHolder(android.content.Context, android.view.ViewGroup); 883 method public VH onCreateViewHolder(android.view.ViewGroup, int); 884 method public boolean toggleGroup(int); 885 field public static final int VIEW_TYPE_GROUP_HEADER = 1; // 0x1 886 field public static final int VIEW_TYPE_IN_GROUP = 2; // 0x2 887 field public static final int VIEW_TYPE_STANDALONE = 0; // 0x0 888 } 889 890 protected static class GroupingCursorRecyclerViewAdapter.GroupMetadata { 891 ctor protected GroupingCursorRecyclerViewAdapter.GroupMetadata(); 892 method public int getActualSize(); 893 method public boolean isExpanded(); 894 method public boolean isStandAlone(); 895 } 896 897 protected static class GroupingCursorRecyclerViewAdapter.PositionMetadata { 898 ctor public GroupingCursorRecyclerViewAdapter.PositionMetadata(int, int, android.support.car.ui.GroupingCursorRecyclerViewAdapter.GroupMetadata); 899 } 900 901 public abstract class GroupingRecyclerViewAdapter extends android.support.v7.widget.RecyclerView.Adapter { 902 ctor public GroupingRecyclerViewAdapter(android.content.Context); 903 method protected void addGroup(int, int, boolean); 904 method protected abstract void buildGroups(java.util.List<E>); 905 method public E getItem(int); 906 method public int getItemCount(); 907 method public boolean isGroupExpanded(int); 908 method protected abstract void onBindChildViewHolder(VH, android.content.Context, int); 909 method protected abstract void onBindGroupViewHolder(VH, android.content.Context, int, int, boolean); 910 method protected abstract void onBindStandAloneViewHolder(VH, android.content.Context, int); 911 method public void onBindViewHolder(VH, int); 912 method protected abstract VH onCreateChildViewHolder(android.content.Context, android.view.ViewGroup); 913 method protected abstract VH onCreateGroupViewHolder(android.content.Context, android.view.ViewGroup); 914 method protected abstract VH onCreateStandAloneViewHolder(android.content.Context, android.view.ViewGroup); 915 method public VH onCreateViewHolder(android.view.ViewGroup, int); 916 method public void setData(java.util.List<E>); 917 method public boolean toggleGroup(int, int); 918 field public static final int VIEW_TYPE_GROUP_HEADER = 1; // 0x1 919 field public static final int VIEW_TYPE_IN_GROUP = 2; // 0x2 920 field public static final int VIEW_TYPE_STANDALONE = 0; // 0x0 921 field protected android.content.Context mContext; 922 field protected java.util.List<E> mData; 923 } 924 925 protected static class GroupingRecyclerViewAdapter.GroupMetadata { 926 ctor protected GroupingRecyclerViewAdapter.GroupMetadata(); 927 method public int getActualSize(); 928 method public boolean isExpanded(); 929 method public boolean isStandAlone(); 930 } 931 932 protected static class GroupingRecyclerViewAdapter.PositionMetadata { 933 ctor public GroupingRecyclerViewAdapter.PositionMetadata(int, int, android.support.car.ui.GroupingRecyclerViewAdapter.GroupMetadata); 934 } 935 936 public class LogDecelerateInterpolator implements android.view.animation.Interpolator { 937 ctor public LogDecelerateInterpolator(int, int); 938 method public float getInterpolation(float); 939 } 940 941 public class MaxWidthLayout extends android.widget.FrameLayout { 942 ctor public MaxWidthLayout(android.content.Context); 943 ctor public MaxWidthLayout(android.content.Context, android.util.AttributeSet); 944 ctor public MaxWidthLayout(android.content.Context, android.util.AttributeSet, int); 945 } 946 947 public class PagedLayoutManager extends android.support.v7.widget.LinearLayoutManager { 948 ctor public PagedLayoutManager(android.content.Context); 949 method public int getLastScrollPosition(); 950 method public boolean isAtBottom(); 951 method public boolean isAtTop(); 952 method public void setItemsChangedListener(java.lang.Runnable); 953 method public void setScrollingEnabled(boolean); 954 field public java.lang.Runnable mItemsChangedRunnable; 955 } 956 957 public class PagedListView extends android.widget.FrameLayout { 958 ctor public PagedListView(android.content.Context, android.util.AttributeSet); 959 ctor public PagedListView(android.content.Context, android.util.AttributeSet, int); 960 ctor public PagedListView(android.content.Context, android.util.AttributeSet, int, int); 961 method public void addItemDecoration(android.support.v7.widget.RecyclerView.ItemDecoration); 962 method public android.view.View findViewByPosition(int); 963 method public android.support.v7.widget.RecyclerView.Adapter<? extends android.support.v7.widget.RecyclerView.ViewHolder> getAdapter(); 964 method protected int getDefaultMaxPages(); 965 method public android.support.car.ui.CarLayoutManager getLayoutManager(); 966 method public int getMaxPages(); 967 method public int getPage(int); 968 method public android.support.car.ui.CarRecyclerView getRecyclerView(); 969 method public void onLayout(boolean, int, int, int, int); 970 method public int positionOf(android.view.View); 971 method public void removeDefaultItemDecoration(); 972 method public void removeItemDecoration(android.support.v7.widget.RecyclerView.ItemDecoration); 973 method public void resetMaxPages(); 974 method public void scrollToPosition(int); 975 method public void setAdapter(android.support.v7.widget.RecyclerView.Adapter<? extends android.support.v7.widget.RecyclerView.ViewHolder>); 976 method public void setAutoDayNightMode(); 977 method public void setDarkMode(); 978 method public void setDefaultItemDecoration(android.support.car.ui.PagedListView.Decoration); 979 method public void setLightMode(); 980 method public void setMaxPages(int); 981 method public void setOnScrollBarListener(android.support.car.ui.PagedListView.OnScrollBarListener); 982 } 983 984 public static class PagedListView.Decoration extends android.support.v7.widget.RecyclerView.ItemDecoration { 985 ctor public PagedListView.Decoration(android.content.Context); 986 method public void updateDividerColor(); 987 field protected final android.content.Context mContext; 988 field protected final int mDividerHeight; 989 field protected final android.graphics.Paint mPaint; 990 } 991 992 public static abstract interface PagedListView.ItemCap { 993 method public abstract void setMaxItems(int); 994 } 995 996 public static abstract class PagedListView.OnScrollBarListener { 997 ctor public PagedListView.OnScrollBarListener(); 998 method public void onLeaveBottom(); 999 method public void onReachBottom(); 1000 } 1001 1002 public class PagedScrollBarView extends android.widget.FrameLayout implements android.view.View.OnClickListener android.view.View.OnLongClickListener { 1003 ctor public PagedScrollBarView(android.content.Context, android.util.AttributeSet); 1004 ctor public PagedScrollBarView(android.content.Context, android.util.AttributeSet, int); 1005 ctor public PagedScrollBarView(android.content.Context, android.util.AttributeSet, int, int); 1006 method protected boolean isDownEnabled(); 1007 method public boolean isDownPressed(); 1008 method public boolean isUpPressed(); 1009 method public void onClick(android.view.View); 1010 method public boolean onLongClick(android.view.View); 1011 method protected void setAutoDayNightMode(); 1012 method protected void setDarkMode(); 1013 method protected void setDownEnabled(boolean); 1014 method protected void setLightMode(); 1015 method public void setPaginationListener(android.support.car.ui.PagedScrollBarView.PaginationListener); 1016 method protected void setParameters(int, int, int, boolean); 1017 method protected void setUpEnabled(boolean); 1018 } 1019 1020 public static abstract interface PagedScrollBarView.PaginationListener { 1021 method public abstract void onPaginate(int); 1022 field public static final int PAGE_DOWN = 1; // 0x1 1023 field public static final int PAGE_UP = 0; // 0x0 1024 } 1025 1026 public abstract interface PathClippingView { 1027 method public abstract void setClipPath(android.graphics.Path); 1028 } 1029 1030 public class QuantumInterpolator implements android.animation.TimeInterpolator { 1031 ctor public QuantumInterpolator(float[], float, float, float); 1032 method public float getInterpolation(float); 1033 method public float getInterpolation(float, float, float); 1034 method public float getReverseInterpolation(float); 1035 field public static final float[] FAST_OUT_LINEAR_IN; 1036 field public static final float[] FAST_OUT_SLOW_IN; 1037 field public static final float[] LINEAR_OUT_SLOW_IN; 1038 } 1039 1040 public class ReversibleInterpolator { 1041 ctor public ReversibleInterpolator(android.animation.TimeInterpolator, android.animation.TimeInterpolator); 1042 method public float getForwardInterpolation(float); 1043 method public float getReverseInterpolation(float); 1044 } 1045 1046 } 1047 1048