android_frameworks_base/.clang-format
Siarhei Vishniakou a3117ca4c6 Enable clang-format for input code
Currently, there is no format enforcement for hid command. Add
clang-format hook for all input-related code in frameworks/base.

Bug: None
Test: repo upload
Change-Id: I08b8c6d1bae7d1954847c207ef8e6d80373b2d05
2019-12-10 10:15:27 -08:00

14 lines
349 B
YAML

BasedOnStyle: Google
AccessModifierOffset: -4
AlignOperands: false
AllowShortFunctionsOnASingleLine: Inline
AlwaysBreakBeforeMultilineStrings: false
ColumnLimit: 100
CommentPragmas: NOLINT:.*
ConstructorInitializerIndentWidth: 6
ContinuationIndentWidth: 8
IndentWidth: 4
PenaltyBreakBeforeFirstCallParameter: 100000
SpacesBeforeTrailingComments: 1