Skip to content

Commit

Permalink
Add metalava.
Browse files Browse the repository at this point in the history
  • Loading branch information
vanniktech committed May 11, 2022
1 parent e236fc1 commit 0ac07f4
Show file tree
Hide file tree
Showing 15 changed files with 515 additions and 0 deletions.
11 changes: 11 additions & 0 deletions emoji-facebook/api/current.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Signature format: 4.0
package com.vanniktech.emoji.facebook {

public final class FacebookEmojiProvider implements com.vanniktech.emoji.EmojiProvider {
ctor public FacebookEmojiProvider();
method public com.vanniktech.emoji.EmojiCategory![] getCategories();
property public com.vanniktech.emoji.EmojiCategory![] categories;
}

}

6 changes: 6 additions & 0 deletions emoji-facebook/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ plugins {
alias(libs.plugins.kotlin.android)
alias(libs.plugins.kotlin.parcelize)
alias(libs.plugins.publish)
alias(libs.plugins.metalava)
}

metalava {
filename = "api/current.txt"
sourcePaths = ["src/main"]
}

android {
Expand Down
12 changes: 12 additions & 0 deletions emoji-google-compat/api/current.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Signature format: 4.0
package com.vanniktech.emoji.googlecompat {

public final class GoogleCompatEmojiProvider implements com.vanniktech.emoji.EmojiProvider com.vanniktech.emoji.EmojiReplacer {
ctor public GoogleCompatEmojiProvider(androidx.emoji.text.EmojiCompat emojiCompat);
method public com.vanniktech.emoji.EmojiCategory![] getCategories();
method public void replaceWithImages(android.content.Context context, android.text.Spannable text, float emojiSize, com.vanniktech.emoji.EmojiReplacer? fallback);
property public com.vanniktech.emoji.EmojiCategory![] categories;
}

}

6 changes: 6 additions & 0 deletions emoji-google-compat/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ plugins {
alias(libs.plugins.kotlin.android)
alias(libs.plugins.kotlin.parcelize)
alias(libs.plugins.publish)
alias(libs.plugins.metalava)
}

metalava {
filename = "api/current.txt"
sourcePaths = ["src/main"]
}

android {
Expand Down
11 changes: 11 additions & 0 deletions emoji-google/api/current.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Signature format: 4.0
package com.vanniktech.emoji.google {

public final class GoogleEmojiProvider implements com.vanniktech.emoji.EmojiProvider {
ctor public GoogleEmojiProvider();
method public com.vanniktech.emoji.EmojiCategory![] getCategories();
property public com.vanniktech.emoji.EmojiCategory![] categories;
}

}

6 changes: 6 additions & 0 deletions emoji-google/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ plugins {
alias(libs.plugins.kotlin.android)
alias(libs.plugins.kotlin.parcelize)
alias(libs.plugins.publish)
alias(libs.plugins.metalava)
}

metalava {
filename = "api/current.txt"
sourcePaths = ["src/main"]
}

android {
Expand Down
11 changes: 11 additions & 0 deletions emoji-ios/api/current.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Signature format: 4.0
package com.vanniktech.emoji.ios {

public final class IosEmojiProvider implements com.vanniktech.emoji.EmojiProvider {
ctor public IosEmojiProvider();
method public com.vanniktech.emoji.EmojiCategory![] getCategories();
property public com.vanniktech.emoji.EmojiCategory![] categories;
}

}

6 changes: 6 additions & 0 deletions emoji-ios/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ plugins {
alias(libs.plugins.kotlin.android)
alias(libs.plugins.kotlin.parcelize)
alias(libs.plugins.publish)
alias(libs.plugins.metalava)
}

metalava {
filename = "api/current.txt"
sourcePaths = ["src/main"]
}

android {
Expand Down
53 changes: 53 additions & 0 deletions emoji-material/api/current.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
// Signature format: 4.0
package com.vanniktech.emoji.material {

public class EmojiMaterialButton extends com.google.android.material.button.MaterialButton implements com.vanniktech.emoji.EmojiDisplayable {
ctor public EmojiMaterialButton(android.content.Context context, optional android.util.AttributeSet? attrs, optional @AttrRes int defStyleAttr);
ctor public EmojiMaterialButton(android.content.Context context, optional android.util.AttributeSet? attrs);
ctor public EmojiMaterialButton(android.content.Context context);
method public float getEmojiSize();
method public void setEmojiSize(@Px int pixels);
method public void setEmojiSize(@Px int pixels, boolean shouldInvalidate);
method public void setEmojiSizeRes(@DimenRes int res);
method public void setEmojiSizeRes(@DimenRes int res, boolean shouldInvalidate);
}

public class EmojiMaterialCheckBox extends com.google.android.material.checkbox.MaterialCheckBox implements com.vanniktech.emoji.EmojiDisplayable {
ctor public EmojiMaterialCheckBox(android.content.Context context, optional android.util.AttributeSet? attrs, optional @AttrRes int defStyleAttr);
ctor public EmojiMaterialCheckBox(android.content.Context context, optional android.util.AttributeSet? attrs);
ctor public EmojiMaterialCheckBox(android.content.Context context);
method public float getEmojiSize();
method public void setEmojiSize(@Px int pixels);
method public void setEmojiSize(@Px int pixels, boolean shouldInvalidate);
method public void setEmojiSizeRes(@DimenRes int res);
method public void setEmojiSizeRes(@DimenRes int res, boolean shouldInvalidate);
}

public class EmojiMaterialRadioButton extends com.google.android.material.radiobutton.MaterialRadioButton implements com.vanniktech.emoji.EmojiDisplayable {
ctor public EmojiMaterialRadioButton(android.content.Context context, optional android.util.AttributeSet? attrs, optional @AttrRes int defStyleAttr);
ctor public EmojiMaterialRadioButton(android.content.Context context, optional android.util.AttributeSet? attrs);
ctor public EmojiMaterialRadioButton(android.content.Context context);
method public float getEmojiSize();
method public void setEmojiSize(@Px int pixels);
method public void setEmojiSize(@Px int pixels, boolean shouldInvalidate);
method public void setEmojiSizeRes(@DimenRes int res);
method public void setEmojiSizeRes(@DimenRes int res, boolean shouldInvalidate);
}

public class EmojiTextInputEditText extends com.google.android.material.textfield.TextInputEditText implements com.vanniktech.emoji.EmojiDisplayable {
ctor public EmojiTextInputEditText(android.content.Context context, optional android.util.AttributeSet? attrs, optional @AttrRes int defStyleAttr);
ctor public EmojiTextInputEditText(android.content.Context context, optional android.util.AttributeSet? attrs);
ctor public EmojiTextInputEditText(android.content.Context context);
method public float getEmojiSize();
method public void setEmojiSize(@Px int pixels);
method public void setEmojiSize(@Px int pixels, boolean shouldInvalidate);
method public void setEmojiSizeRes(@DimenRes int res);
method public void setEmojiSizeRes(@DimenRes int res, boolean shouldInvalidate);
}

public class MaterialEmojiLayoutFactory extends com.vanniktech.emoji.EmojiLayoutFactory {
ctor public MaterialEmojiLayoutFactory(android.view.LayoutInflater.Factory2? delegate);
}

}

6 changes: 6 additions & 0 deletions emoji-material/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ plugins {
alias(libs.plugins.kotlin.android)
alias(libs.plugins.kotlin.parcelize)
alias(libs.plugins.publish)
alias(libs.plugins.metalava)
}

metalava {
filename = "api/current.txt"
sourcePaths = ["src/main"]
}

android {
Expand Down
11 changes: 11 additions & 0 deletions emoji-twitter/api/current.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Signature format: 4.0
package com.vanniktech.emoji.twitter {

public final class TwitterEmojiProvider implements com.vanniktech.emoji.EmojiProvider {
ctor public TwitterEmojiProvider();
method public com.vanniktech.emoji.EmojiCategory![] getCategories();
property public com.vanniktech.emoji.EmojiCategory![] categories;
}

}

6 changes: 6 additions & 0 deletions emoji-twitter/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ plugins {
alias(libs.plugins.kotlin.android)
alias(libs.plugins.kotlin.parcelize)
alias(libs.plugins.publish)
alias(libs.plugins.metalava)
}

metalava {
filename = "api/current.txt"
sourcePaths = ["src/main"]
}

android {
Expand Down
Loading

0 comments on commit 0ac07f4

Please sign in to comment.