MCPcopy Create free account
hub / github.com/OneUIProject/oneui-core / wrap

Method wrap

core/src/main/java/androidx/core/graphics/Insets.java:173–179  ·  view source on GitHub ↗

@hide @deprecated Use #toCompatInsets(android.graphics.Insets) instead.

(@NonNull android.graphics.Insets insets)

Source from the content-addressed store, hash-verified

171 * @deprecated Use {@link #toCompatInsets(android.graphics.Insets)} instead.
172 */
173 @RequiresApi(api = 29)
174 @NonNull
175 @Deprecated
176 @RestrictTo(LIBRARY_GROUP_PREFIX)
177 public static Insets wrap(@NonNull android.graphics.Insets insets) {
178 return toCompatInsets(insets);
179 }
180
181 /**
182 * Return a copy of the given {@link android.graphics.Insets} instance, converted to be an

Callers 12

isRtlMethod · 0.45
AppCompatImageButtonMethod · 0.45
AppCompatRadioButtonMethod · 0.45
AppCompatEditTextMethod · 0.45
AppCompatCheckBoxMethod · 0.45
AppCompatButtonMethod · 0.45
AppCompatTextViewMethod · 0.45
AppCompatImageViewMethod · 0.45
createViewMethod · 0.45

Calls 1

toCompatInsetsMethod · 0.95

Tested by

no test coverage detected