Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate google java format from 1.7 -> 1.19.2 #35

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,8 @@ public TextLayoutBuilder setText(@Nullable CharSequence text) {
text.hashCode();
} catch (NullPointerException e) {
throw new IllegalArgumentException(
"The given text contains a null span. Due to an Android framework bug, this will cause an exception later down the line.",
"The given text contains a null span. Due to an Android framework bug, this will cause"
+ " an exception later down the line.",
e);
}
}
Expand Down Expand Up @@ -962,7 +963,9 @@ public TextLayoutBuilder setMaxWidth(@Px int maxWidth) {
return this;
}

/** @return The density of this layout. If unset, defaults to 1.0 */
/**
* @return The density of this layout. If unset, defaults to 1.0
*/
public float getDensity() {
return mParams.paint.density;
}
Expand All @@ -982,7 +985,9 @@ public TextLayoutBuilder setDensity(float density) {
return this;
}

/** @return The justification mode of this layout. */
/**
* @return The justification mode of this layout.
*/
@RequiresApi(api = Build.VERSION_CODES.O)
public int getJustificationMode() {
return mParams.justificationMode;
Expand Down