Keun-young Park | 0eb8d26 | 2016-02-11 17:06:59 -0800 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (C) 2016 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | package android.support.car; |
| 17 | |
| 18 | /** |
| 19 | * VehicleSeat is an abstraction for a seat in a car. Some car APIs like |
| 20 | * {@link android.support.car.hardware.hvac.CarHvacProperty} may provide control per seat and |
| 21 | * values defined here should be used to distinguish different seats. |
| 22 | * @hide |
| 23 | */ |
| 24 | public class VehicleSeat { |
| 25 | public static final int SEAT_DRIVER_LHD = 0x0001; |
| 26 | public static final int SEAT_DRIVER_RHD = 0x0002; |
| 27 | public static final int SEAT_ROW_1_PASSENGER_LEFT = 0x0010; |
| 28 | public static final int SEAT_ROW_1_PASSENGER_CENTER = 0x0020; |
| 29 | public static final int SEAT_ROW_1_PASSENGER_RIGHT = 0x0040; |
| 30 | public static final int SEAT_ROW_2_PASSENGER_LEFT = 0x0100; |
| 31 | public static final int SEAT_ROW_2_PASSENGER_CENTER = 0x0200; |
| 32 | public static final int SEAT_ROW_2_PASSENGER_RIGHT = 0x0400; |
| 33 | public static final int SEAT_ROW_3_PASSENGER_LEFT = 0x1000; |
| 34 | public static final int SEAT_ROW_3_PASSENGER_CENTER = 0x2000; |
| 35 | public static final int SEAT_ROW_3_PASSENGER_RIGHT = 0x4000; |
| 36 | } |