1/* 2 * Copyright (C) 2006 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 17syntax = "proto3"; 18 19option java_package = "android.content"; 20option java_multiple_files = true; 21 22package android.content; 23 24import "frameworks/base/core/proto/android/content/locale.proto"; 25 26/** 27 * An android resource configuration. 28 */ 29message ConfigurationProto { 30 float font_scale = 1; 31 uint32 mcc = 2; 32 uint32 mnc = 3; 33 repeated LocaleProto locales = 4; 34 uint32 screen_layout = 5; 35 uint32 touchscreen = 6; 36 uint32 keyboard_hidden = 7; 37 uint32 hard_keyboard_hidden = 8; 38 uint32 navigation = 9; 39 uint32 navigation_hidden = 10; 40 uint32 orientation = 11; 41 uint32 ui_mode = 12; 42 uint32 screen_width_dp = 13; 43 uint32 screen_height_dp = 14; 44 uint32 smallest_screen_width_dp = 15; 45 uint32 density_dpi = 16; 46} 47 48