Skip to content

Commit 7cf2bb0

Browse files
committed
feat(android): native-api-usage for all packages
1 parent 36d0a93 commit 7cf2bb0

File tree

11 files changed

+79
-3
lines changed

11 files changed

+79
-3
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"uses": [
3+
"com.google.android.material.progressindicator:CircularProgressIndicator*"
4+
]
5+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"uses": [
33
"com.google.android.material.bottomsheet:BottomSheetBehavior*",
4-
"com.google.android.material.bottomsheet.BottomSheetBehavior*:*"
4+
"com.google.android.material.bottomsheet.BottomSheetBehavior:BottomSheetCallback*"
55
]
66
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"uses": [
3+
"android.view:LayoutInflater*",
4+
"com.google.android.material.button:MaterialButton*",
5+
"android.graphics.drawable:Drawable*",
6+
"android.graphics.drawable:BitmapDrawable*"
7+
]
8+
}
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
22
"uses": [
3-
"com.google.android.material.card:MaterialCardView*"
3+
"com.google.android.material.card:MaterialCardView*",
4+
"android.graphics.drawable:Drawable*",
5+
"android.view:ViewOutlineProvider*"
46
]
57
}

packages/core/platforms/android/native-api-usage.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
{
22
"uses": [
3-
"com.google.android.material.shape*:*",
3+
"(com as any).nativescript.material.core:Utils*",
4+
"android.graphics:Color*",
5+
"android.os:Build*",
6+
"android.content.res:ColorStateList*",
7+
"com.google.android.material.shape:ShapeAppearanceModel*",
8+
"com.google.android.material.shape:MaterialShapeDrawable*",
9+
"com.google.android.material.shape:CornerTreatment*",
10+
"com.google.android.material.shape:CutCornerTreatment*",
11+
"com.google.android.material.shape:RelativeCornerSize*",
412
"com.google.android.material.shape:RoundedCornerTreatment*",
513
"android.content.res:TypedArray*"
614
]

packages/dialogs/platforms/android/native-api-usage.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
{
22
"uses": [
33
"com.google.android.material.dialog:MaterialAlertDialogBuilder*",
4+
"android.widget:TextView*",
5+
"android.view:KeyEvent*",
6+
"android.graphics.drawable:BitmapDrawable*",
7+
"android.content:DialogInterface*",
48
"androidx.appcompat.app:AlertDialog*",
59
"androidx.appcompat.app.AlertDialog:Builder*"
610
]
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"uses": [
3+
"android.graphics:Rect*",
4+
"android.view:Gravity*"
5+
]
6+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"uses": [
3+
"com.google.android.material.snackbar.BaseTransientBottomBar:BaseCallback*",
4+
"androidx.coordinatorlayout.widget:CoordinatorLayout*",
5+
"android.widget.FrameLayout:LayoutParams*",
6+
"android.view:Gravity*",
7+
"android.view.ViewGroup:LayoutParams*",
8+
"com.google.android.material.snackbar:Snackbar*",
9+
"android.view.View:OnClickListener*",
10+
"com.nativescript.material.snackbar:SnackCallback*",
11+
"com.nativescript.material.snackbar.SnackCallback:SnackCallbackListener*"
12+
]
13+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"uses": [
3+
"android.os:Bundle*",
4+
"android.graphics:Bitmap*",
5+
"android.view.View:OnAttachStateChangeListener*",
6+
"com.nativescript.material.core:TabViewPager*",
7+
"com.nativescript.material.core:TabsBar*",
8+
"com.nativescript.material.core:TabItemSpec*"
9+
]
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"uses": [
3+
"android.view:LayoutInflater*",
4+
"android.widget.LinearLayout:LayoutParams*",
5+
"android.view:ViewGroup*",
6+
"android.text.method:DigitsKeyListener*",
7+
"com.nativescript.material.textfield:TextInputLayout*",
8+
"com.nativescript.material.textfield:TextInputEditText*"
9+
]
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"uses": [
3+
"android.view:LayoutInflater*",
4+
"android.widget.LinearLayout:LayoutParams*",
5+
"android.view:ViewGroup*",
6+
"android.text.method:DigitsKeyListener*",
7+
"com.nativescript.material.textfield:TextInputLayout*",
8+
"com.nativescript.material.textfield:TextViewInputEditText*"
9+
]
10+
}

0 commit comments

Comments
 (0)