Aurimas Liutikas | 3aa5a20 | 2020-10-05 09:42:14 -0700 | [diff] [blame] | 1 | // Signature format: 4.0 |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 2 | package androidx.compose.ui.text { |
Siyamed Sinir | 2207b72 | 2019-02-22 15:53:41 -0800 | [diff] [blame] | 3 | |
Siyamed Sinir | 7fd5ad2 | 2021-01-14 14:12:21 -0800 | [diff] [blame] | 4 | @androidx.compose.runtime.Immutable public final class AnnotatedString implements java.lang.CharSequence { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 5 | ctor public AnnotatedString(String text, java.util.List<androidx.compose.ui.text.AnnotatedString.Range<androidx.compose.ui.text.SpanStyle>> spanStyles, java.util.List<androidx.compose.ui.text.AnnotatedString.Range<androidx.compose.ui.text.ParagraphStyle>> paragraphStyles); |
Siyamed Sinir | 7fd5ad2 | 2021-01-14 14:12:21 -0800 | [diff] [blame] | 6 | method public operator char get(int index); |
| 7 | method public int getLength(); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 8 | method public java.util.List<androidx.compose.ui.text.AnnotatedString.Range<androidx.compose.ui.text.ParagraphStyle>> getParagraphStyles(); |
| 9 | method public java.util.List<androidx.compose.ui.text.AnnotatedString.Range<androidx.compose.ui.text.SpanStyle>> getSpanStyles(); |
| 10 | method public java.util.List<androidx.compose.ui.text.AnnotatedString.Range<java.lang.String>> getStringAnnotations(String tag, int start, int end); |
| 11 | method public java.util.List<androidx.compose.ui.text.AnnotatedString.Range<java.lang.String>> getStringAnnotations(int start, int end); |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 12 | method public String getText(); |
haoyu | 247a19b | 2020-09-29 13:29:08 -0700 | [diff] [blame] | 13 | method public java.util.List<androidx.compose.ui.text.AnnotatedString.Range<androidx.compose.ui.text.TtsAnnotation>> getTtsAnnotations(int start, int end); |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 14 | method @androidx.compose.runtime.Stable public operator androidx.compose.ui.text.AnnotatedString plus(androidx.compose.ui.text.AnnotatedString other); |
Siyamed Sinir | 7fd5ad2 | 2021-01-14 14:12:21 -0800 | [diff] [blame] | 15 | method public androidx.compose.ui.text.AnnotatedString subSequence(int startIndex, int endIndex); |
| 16 | method public androidx.compose.ui.text.AnnotatedString subSequence-5zc-tL8(long range); |
| 17 | property public int length; |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 18 | property public final java.util.List<androidx.compose.ui.text.AnnotatedString.Range<androidx.compose.ui.text.ParagraphStyle>> paragraphStyles; |
| 19 | property public final java.util.List<androidx.compose.ui.text.AnnotatedString.Range<androidx.compose.ui.text.SpanStyle>> spanStyles; |
| 20 | property public final String text; |
Siyamed Sinir | 2207b72 | 2019-02-22 15:53:41 -0800 | [diff] [blame] | 21 | } |
| 22 | |
Siyamed Sinir | 223942e | 2019-10-07 11:18:51 -0700 | [diff] [blame] | 23 | public static final class AnnotatedString.Builder { |
Siyamed Sinir | a275ce2 | 2019-10-16 09:15:55 -0700 | [diff] [blame] | 24 | ctor public AnnotatedString.Builder(int capacity); |
Siyamed Sinir | 223942e | 2019-10-07 11:18:51 -0700 | [diff] [blame] | 25 | ctor public AnnotatedString.Builder(); |
| 26 | ctor public AnnotatedString.Builder(String text); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 27 | ctor public AnnotatedString.Builder(androidx.compose.ui.text.AnnotatedString text); |
haoyu | 0a191b9 | 2020-09-29 13:30:50 -0700 | [diff] [blame] | 28 | method public void addStringAnnotation(String tag, String annotation, int start, int end); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 29 | method public void addStyle(androidx.compose.ui.text.SpanStyle style, int start, int end); |
| 30 | method public void addStyle(androidx.compose.ui.text.ParagraphStyle style, int start, int end); |
Siyamed Sinir | 7afe832 | 2019-10-15 09:41:09 -0700 | [diff] [blame] | 31 | method public void append(String text); |
Siyamed Sinir | a275ce2 | 2019-10-16 09:15:55 -0700 | [diff] [blame] | 32 | method public void append(char p); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 33 | method public void append(androidx.compose.ui.text.AnnotatedString text); |
Siyamed Sinir | 223942e | 2019-10-07 11:18:51 -0700 | [diff] [blame] | 34 | method public int getLength(); |
haoyu | 9d7045e | 2020-03-11 02:35:00 -0700 | [diff] [blame] | 35 | method public void pop(); |
| 36 | method public void pop(int index); |
haoyu | 3dfc36a | 2020-04-06 15:25:03 -0700 | [diff] [blame] | 37 | method public int pushStringAnnotation(String tag, String annotation); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 38 | method public int pushStyle(androidx.compose.ui.text.SpanStyle style); |
| 39 | method public int pushStyle(androidx.compose.ui.text.ParagraphStyle style); |
haoyu | 247a19b | 2020-09-29 13:29:08 -0700 | [diff] [blame] | 40 | method public int pushTtsAnnotation(androidx.compose.ui.text.TtsAnnotation ttsAnnotation); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 41 | method public androidx.compose.ui.text.AnnotatedString toAnnotatedString(); |
Siyamed Sinir | 223942e | 2019-10-07 11:18:51 -0700 | [diff] [blame] | 42 | property public final int length; |
| 43 | } |
| 44 | |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 45 | @androidx.compose.runtime.Immutable public static final class AnnotatedString.Range<T> { |
Aurimas Liutikas | a3bfa99 | 2020-08-05 16:32:56 -0700 | [diff] [blame] | 46 | ctor public AnnotatedString.Range(T? item, int start, int end, String tag); |
| 47 | ctor public AnnotatedString.Range(T? item, int start, int end); |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 48 | method public T! component1(); |
| 49 | method public int component2(); |
| 50 | method public int component3(); |
haoyu | 9d7045e | 2020-03-11 02:35:00 -0700 | [diff] [blame] | 51 | method public String component4(); |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 52 | method @androidx.compose.runtime.Immutable public androidx.compose.ui.text.AnnotatedString.Range<T> copy(T! item, int start, int end, String tag); |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 53 | method public int getEnd(); |
Seigo Nonaka | f54736d | 2019-11-22 11:52:47 -0800 | [diff] [blame] | 54 | method public T! getItem(); |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 55 | method public int getStart(); |
haoyu | 3dfc36a | 2020-04-06 15:25:03 -0700 | [diff] [blame] | 56 | method public String getTag(); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 57 | property public final int end; |
| 58 | property public final T! item; |
| 59 | property public final int start; |
| 60 | property public final String tag; |
Siyamed Sinir | 2207b72 | 2019-02-22 15:53:41 -0800 | [diff] [blame] | 61 | } |
| 62 | |
Siyamed Sinir | 2516890 | 2019-09-06 17:49:44 -0700 | [diff] [blame] | 63 | public final class AnnotatedStringKt { |
Aurimas Liutikas | 3aa5a20 | 2020-10-05 09:42:14 -0700 | [diff] [blame] | 64 | method public static androidx.compose.ui.text.AnnotatedString AnnotatedString(String text, androidx.compose.ui.text.SpanStyle spanStyle, optional androidx.compose.ui.text.ParagraphStyle? paragraphStyle); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 65 | method public static androidx.compose.ui.text.AnnotatedString AnnotatedString(String text, androidx.compose.ui.text.ParagraphStyle paragraphStyle); |
Siyamed Sinir | f62f720 | 2020-11-24 10:47:33 -0800 | [diff] [blame] | 66 | method public static inline androidx.compose.ui.text.AnnotatedString buildAnnotatedString(kotlin.jvm.functions.Function1<? super androidx.compose.ui.text.AnnotatedString.Builder,kotlin.Unit> builder); |
Aurimas Liutikas | 3aa5a20 | 2020-10-05 09:42:14 -0700 | [diff] [blame] | 67 | method public static androidx.compose.ui.text.AnnotatedString capitalize(androidx.compose.ui.text.AnnotatedString, optional androidx.compose.ui.text.intl.LocaleList localeList); |
| 68 | method public static androidx.compose.ui.text.AnnotatedString decapitalize(androidx.compose.ui.text.AnnotatedString, optional androidx.compose.ui.text.intl.LocaleList localeList); |
Aurimas Liutikas | 3aa5a20 | 2020-10-05 09:42:14 -0700 | [diff] [blame] | 69 | method public static androidx.compose.ui.text.AnnotatedString toLowerCase(androidx.compose.ui.text.AnnotatedString, optional androidx.compose.ui.text.intl.LocaleList localeList); |
| 70 | method public static androidx.compose.ui.text.AnnotatedString toUpperCase(androidx.compose.ui.text.AnnotatedString, optional androidx.compose.ui.text.intl.LocaleList localeList); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 71 | method public static inline <R> R withStyle(androidx.compose.ui.text.AnnotatedString.Builder, androidx.compose.ui.text.SpanStyle style, kotlin.jvm.functions.Function1<? super androidx.compose.ui.text.AnnotatedString.Builder,? extends R> block); |
| 72 | method public static inline <R> R withStyle(androidx.compose.ui.text.AnnotatedString.Builder, androidx.compose.ui.text.ParagraphStyle style, kotlin.jvm.functions.Function1<? super androidx.compose.ui.text.AnnotatedString.Builder,? extends R> block); |
Siyamed Sinir | 2516890 | 2019-09-06 17:49:44 -0700 | [diff] [blame] | 73 | } |
| 74 | |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 75 | @kotlin.RequiresOptIn(level=kotlin.RequiresOptIn.Level, message="This is internal API that may change frequently and without warning.") @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget}) public @interface InternalTextApi { |
Siyamed Sinir | 027edb4 | 2020-06-17 12:59:23 -0700 | [diff] [blame] | 76 | } |
| 77 | |
Nikolay Igotti | 705beee | 2020-05-28 10:34:39 +0300 | [diff] [blame] | 78 | public final class JvmAnnotatedStringKt { |
| 79 | } |
| 80 | |
haoyu | 705aaeb | 2021-01-14 11:44:21 -0800 | [diff] [blame] | 81 | public final class JvmCharHelpersKt { |
haoyu | 705aaeb | 2021-01-14 11:44:21 -0800 | [diff] [blame] | 82 | } |
| 83 | |
haoyu | b45eeea | 2019-10-30 14:54:23 -0700 | [diff] [blame] | 84 | public final class MultiParagraph { |
haoyu | 059581f | 2020-08-31 11:51:43 -0700 | [diff] [blame] | 85 | ctor public MultiParagraph(androidx.compose.ui.text.MultiParagraphIntrinsics intrinsics, int maxLines, boolean ellipsis, float width); |
| 86 | ctor public MultiParagraph(androidx.compose.ui.text.AnnotatedString annotatedString, androidx.compose.ui.text.TextStyle style, java.util.List<androidx.compose.ui.text.AnnotatedString.Range<androidx.compose.ui.text.Placeholder>> placeholders, int maxLines, boolean ellipsis, float width, androidx.compose.ui.unit.Density density, androidx.compose.ui.text.font.Font.ResourceLoader resourceLoader); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 87 | method public androidx.compose.ui.text.style.ResolvedTextDirection getBidiRunDirection(int offset); |
Louis Pullen-Freilich | f434a13 | 2020-07-22 14:19:24 +0100 | [diff] [blame] | 88 | method public androidx.compose.ui.geometry.Rect getBoundingBox(int offset); |
| 89 | method public androidx.compose.ui.geometry.Rect getCursorRect(int offset); |
haoyu | b45eeea | 2019-10-30 14:54:23 -0700 | [diff] [blame] | 90 | method public boolean getDidExceedMaxLines(); |
| 91 | method public float getFirstBaseline(); |
| 92 | method public float getHeight(); |
| 93 | method public float getHorizontalPosition(int offset, boolean usePrimaryDirection); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 94 | method public androidx.compose.ui.text.MultiParagraphIntrinsics getIntrinsics(); |
haoyu | b45eeea | 2019-10-30 14:54:23 -0700 | [diff] [blame] | 95 | method public float getLastBaseline(); |
| 96 | method public float getLineBottom(int lineIndex); |
| 97 | method public int getLineCount(); |
haoyu | 942a5bf | 2020-11-17 12:49:47 -0800 | [diff] [blame] | 98 | method public int getLineEnd(int lineIndex, optional boolean visibleEnd); |
haoyu | b45eeea | 2019-10-30 14:54:23 -0700 | [diff] [blame] | 99 | method public int getLineForOffset(int offset); |
yingleiw | 1df9e8a | 2020-07-08 18:41:40 -0700 | [diff] [blame] | 100 | method public int getLineForVerticalPosition(float vertical); |
haoyu | b45eeea | 2019-10-30 14:54:23 -0700 | [diff] [blame] | 101 | method public float getLineHeight(int lineIndex); |
| 102 | method public float getLineLeft(int lineIndex); |
| 103 | method public float getLineRight(int lineIndex); |
haoyu | 7ec1376 | 2020-04-14 11:02:05 -0700 | [diff] [blame] | 104 | method public int getLineStart(int lineIndex); |
Haoyu Zhang | cbbcc0e | 2020-02-11 17:37:08 -0800 | [diff] [blame] | 105 | method public float getLineTop(int lineIndex); |
haoyu | b45eeea | 2019-10-30 14:54:23 -0700 | [diff] [blame] | 106 | method public float getLineWidth(int lineIndex); |
| 107 | method public float getMaxIntrinsicWidth(); |
Seigo Nonaka | 5166479 | 2019-12-04 10:59:29 -0800 | [diff] [blame] | 108 | method public int getMaxLines(); |
haoyu | b45eeea | 2019-10-30 14:54:23 -0700 | [diff] [blame] | 109 | method public float getMinIntrinsicWidth(); |
George Mount | 16715b4 | 2020-08-06 16:03:43 -0700 | [diff] [blame] | 110 | method public int getOffsetForPosition-k-4lQ0M(long position); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 111 | method public androidx.compose.ui.text.style.ResolvedTextDirection getParagraphDirection(int offset); |
Louis Pullen-Freilich | 4dc4dac | 2020-07-22 14:39:14 +0100 | [diff] [blame] | 112 | method public androidx.compose.ui.graphics.Path getPathForRange(int start, int end); |
Louis Pullen-Freilich | f434a13 | 2020-07-22 14:19:24 +0100 | [diff] [blame] | 113 | method public java.util.List<androidx.compose.ui.geometry.Rect> getPlaceholderRects(); |
haoyu | b45eeea | 2019-10-30 14:54:23 -0700 | [diff] [blame] | 114 | method public float getWidth(); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 115 | method public long getWordBoundary-d9O1mEE(int offset); |
Seigo Nonaka | 24aad83 | 2020-07-23 18:13:26 -0700 | [diff] [blame] | 116 | method public boolean isLineEllipsized(int lineIndex); |
Aurimas Liutikas | 3aa5a20 | 2020-10-05 09:42:14 -0700 | [diff] [blame] | 117 | method public void paint-TAOIQ28(androidx.compose.ui.graphics.Canvas canvas, optional long color, optional androidx.compose.ui.graphics.Shadow? shadow, optional androidx.compose.ui.text.style.TextDecoration? decoration); |
haoyu | b45eeea | 2019-10-30 14:54:23 -0700 | [diff] [blame] | 118 | property public final boolean didExceedMaxLines; |
| 119 | property public final float firstBaseline; |
| 120 | property public final float height; |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 121 | property public final androidx.compose.ui.text.MultiParagraphIntrinsics intrinsics; |
haoyu | b45eeea | 2019-10-30 14:54:23 -0700 | [diff] [blame] | 122 | property public final float lastBaseline; |
| 123 | property public final int lineCount; |
| 124 | property public final float maxIntrinsicWidth; |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 125 | property public final int maxLines; |
haoyu | b45eeea | 2019-10-30 14:54:23 -0700 | [diff] [blame] | 126 | property public final float minIntrinsicWidth; |
Louis Pullen-Freilich | f434a13 | 2020-07-22 14:19:24 +0100 | [diff] [blame] | 127 | property public final java.util.List<androidx.compose.ui.geometry.Rect> placeholderRects; |
haoyu | b45eeea | 2019-10-30 14:54:23 -0700 | [diff] [blame] | 128 | property public final float width; |
| 129 | } |
| 130 | |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 131 | public final class MultiParagraphIntrinsics implements androidx.compose.ui.text.ParagraphIntrinsics { |
Louis Pullen-Freilich | a7eeb10 | 2020-07-22 17:54:24 +0100 | [diff] [blame] | 132 | ctor public MultiParagraphIntrinsics(androidx.compose.ui.text.AnnotatedString annotatedString, androidx.compose.ui.text.TextStyle style, java.util.List<androidx.compose.ui.text.AnnotatedString.Range<androidx.compose.ui.text.Placeholder>> placeholders, androidx.compose.ui.unit.Density density, androidx.compose.ui.text.font.Font.ResourceLoader resourceLoader); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 133 | method public androidx.compose.ui.text.AnnotatedString getAnnotatedString(); |
haoyu | b45eeea | 2019-10-30 14:54:23 -0700 | [diff] [blame] | 134 | method public float getMaxIntrinsicWidth(); |
| 135 | method public float getMinIntrinsicWidth(); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 136 | method public java.util.List<androidx.compose.ui.text.AnnotatedString.Range<androidx.compose.ui.text.Placeholder>> getPlaceholders(); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 137 | property public final androidx.compose.ui.text.AnnotatedString annotatedString; |
haoyu | b45eeea | 2019-10-30 14:54:23 -0700 | [diff] [blame] | 138 | property public float maxIntrinsicWidth; |
| 139 | property public float minIntrinsicWidth; |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 140 | property public final java.util.List<androidx.compose.ui.text.AnnotatedString.Range<androidx.compose.ui.text.Placeholder>> placeholders; |
haoyu | b45eeea | 2019-10-30 14:54:23 -0700 | [diff] [blame] | 141 | } |
| 142 | |
haoyu | ec58647 | 2020-03-31 18:04:39 -0700 | [diff] [blame] | 143 | public final class MultiParagraphIntrinsicsKt { |
| 144 | } |
| 145 | |
Haoyu Zhang | 53c5b29 | 2019-07-18 15:02:38 -0700 | [diff] [blame] | 146 | public final class MultiParagraphKt { |
Haoyu Zhang | 53c5b29 | 2019-07-18 15:02:38 -0700 | [diff] [blame] | 147 | } |
| 148 | |
Siyamed Sinir | 031e5bf | 2019-07-02 11:49:05 -0700 | [diff] [blame] | 149 | public interface Paragraph { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 150 | method public androidx.compose.ui.text.style.ResolvedTextDirection getBidiRunDirection(int offset); |
Louis Pullen-Freilich | f434a13 | 2020-07-22 14:19:24 +0100 | [diff] [blame] | 151 | method public androidx.compose.ui.geometry.Rect getBoundingBox(int offset); |
| 152 | method public androidx.compose.ui.geometry.Rect getCursorRect(int offset); |
Siyamed Sinir | 2207b72 | 2019-02-22 15:53:41 -0800 | [diff] [blame] | 153 | method public boolean getDidExceedMaxLines(); |
Mihai Popa | 802dac3 | 2019-07-30 15:50:28 +0100 | [diff] [blame] | 154 | method public float getFirstBaseline(); |
Siyamed Sinir | 2207b72 | 2019-02-22 15:53:41 -0800 | [diff] [blame] | 155 | method public float getHeight(); |
Haoyu Zhang | 3e52847 | 2019-10-21 16:56:51 -0700 | [diff] [blame] | 156 | method public float getHorizontalPosition(int offset, boolean usePrimaryDirection); |
Mihai Popa | 802dac3 | 2019-07-30 15:50:28 +0100 | [diff] [blame] | 157 | method public float getLastBaseline(); |
Siyamed Sinir | 3f44b9a | 2019-09-21 13:13:38 -0700 | [diff] [blame] | 158 | method public float getLineBottom(int lineIndex); |
Siyamed Sinir | 031e5bf | 2019-07-02 11:49:05 -0700 | [diff] [blame] | 159 | method public int getLineCount(); |
haoyu | 942a5bf | 2020-11-17 12:49:47 -0800 | [diff] [blame] | 160 | method public int getLineEnd(int lineIndex, optional boolean visibleEnd); |
haoyu | 4547dac | 2019-10-30 15:34:58 -0700 | [diff] [blame] | 161 | method public int getLineForOffset(int offset); |
yingleiw | 1df9e8a | 2020-07-08 18:41:40 -0700 | [diff] [blame] | 162 | method public int getLineForVerticalPosition(float vertical); |
Siyamed Sinir | 2207b72 | 2019-02-22 15:53:41 -0800 | [diff] [blame] | 163 | method public float getLineHeight(int lineIndex); |
| 164 | method public float getLineLeft(int lineIndex); |
| 165 | method public float getLineRight(int lineIndex); |
haoyu | 7ec1376 | 2020-04-14 11:02:05 -0700 | [diff] [blame] | 166 | method public int getLineStart(int lineIndex); |
Haoyu Zhang | cbbcc0e | 2020-02-11 17:37:08 -0800 | [diff] [blame] | 167 | method public float getLineTop(int lineIndex); |
Siyamed Sinir | 2207b72 | 2019-02-22 15:53:41 -0800 | [diff] [blame] | 168 | method public float getLineWidth(int lineIndex); |
| 169 | method public float getMaxIntrinsicWidth(); |
| 170 | method public float getMinIntrinsicWidth(); |
George Mount | 16715b4 | 2020-08-06 16:03:43 -0700 | [diff] [blame] | 171 | method public int getOffsetForPosition-k-4lQ0M(long position); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 172 | method public androidx.compose.ui.text.style.ResolvedTextDirection getParagraphDirection(int offset); |
Louis Pullen-Freilich | 4dc4dac | 2020-07-22 14:39:14 +0100 | [diff] [blame] | 173 | method public androidx.compose.ui.graphics.Path getPathForRange(int start, int end); |
Louis Pullen-Freilich | f434a13 | 2020-07-22 14:19:24 +0100 | [diff] [blame] | 174 | method public java.util.List<androidx.compose.ui.geometry.Rect> getPlaceholderRects(); |
Siyamed Sinir | 2207b72 | 2019-02-22 15:53:41 -0800 | [diff] [blame] | 175 | method public float getWidth(); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 176 | method public long getWordBoundary-d9O1mEE(int offset); |
Seigo Nonaka | 24aad83 | 2020-07-23 18:13:26 -0700 | [diff] [blame] | 177 | method public boolean isLineEllipsized(int lineIndex); |
Aurimas Liutikas | 3aa5a20 | 2020-10-05 09:42:14 -0700 | [diff] [blame] | 178 | method public void paint-TAOIQ28(androidx.compose.ui.graphics.Canvas canvas, optional long color, optional androidx.compose.ui.graphics.Shadow? shadow, optional androidx.compose.ui.text.style.TextDecoration? textDecoration); |
Siyamed Sinir | 031e5bf | 2019-07-02 11:49:05 -0700 | [diff] [blame] | 179 | property public abstract boolean didExceedMaxLines; |
Mihai Popa | 802dac3 | 2019-07-30 15:50:28 +0100 | [diff] [blame] | 180 | property public abstract float firstBaseline; |
Siyamed Sinir | 031e5bf | 2019-07-02 11:49:05 -0700 | [diff] [blame] | 181 | property public abstract float height; |
Mihai Popa | 802dac3 | 2019-07-30 15:50:28 +0100 | [diff] [blame] | 182 | property public abstract float lastBaseline; |
Siyamed Sinir | 031e5bf | 2019-07-02 11:49:05 -0700 | [diff] [blame] | 183 | property public abstract int lineCount; |
| 184 | property public abstract float maxIntrinsicWidth; |
| 185 | property public abstract float minIntrinsicWidth; |
Louis Pullen-Freilich | f434a13 | 2020-07-22 14:19:24 +0100 | [diff] [blame] | 186 | property public abstract java.util.List<androidx.compose.ui.geometry.Rect> placeholderRects; |
Siyamed Sinir | 031e5bf | 2019-07-02 11:49:05 -0700 | [diff] [blame] | 187 | property public abstract float width; |
Siyamed Sinir | 2207b72 | 2019-02-22 15:53:41 -0800 | [diff] [blame] | 188 | } |
| 189 | |
Siyamed Sinir | fe2c037 | 2019-09-05 15:05:05 -0700 | [diff] [blame] | 190 | public interface ParagraphIntrinsics { |
| 191 | method public float getMaxIntrinsicWidth(); |
| 192 | method public float getMinIntrinsicWidth(); |
| 193 | property public abstract float maxIntrinsicWidth; |
| 194 | property public abstract float minIntrinsicWidth; |
| 195 | } |
| 196 | |
| 197 | public final class ParagraphIntrinsicsKt { |
Aurimas Liutikas | 3aa5a20 | 2020-10-05 09:42:14 -0700 | [diff] [blame] | 198 | method public static androidx.compose.ui.text.ParagraphIntrinsics ParagraphIntrinsics(String text, androidx.compose.ui.text.TextStyle style, optional java.util.List<androidx.compose.ui.text.AnnotatedString.Range<androidx.compose.ui.text.SpanStyle>> spanStyles, optional java.util.List<androidx.compose.ui.text.AnnotatedString.Range<androidx.compose.ui.text.Placeholder>> placeholders, androidx.compose.ui.unit.Density density, androidx.compose.ui.text.font.Font.ResourceLoader resourceLoader); |
Siyamed Sinir | fe2c037 | 2019-09-05 15:05:05 -0700 | [diff] [blame] | 199 | } |
| 200 | |
Siyamed Sinir | 031e5bf | 2019-07-02 11:49:05 -0700 | [diff] [blame] | 201 | public final class ParagraphKt { |
Aurimas Liutikas | 3aa5a20 | 2020-10-05 09:42:14 -0700 | [diff] [blame] | 202 | method public static androidx.compose.ui.text.Paragraph Paragraph(String text, androidx.compose.ui.text.TextStyle style, optional java.util.List<androidx.compose.ui.text.AnnotatedString.Range<androidx.compose.ui.text.SpanStyle>> spanStyles, optional java.util.List<androidx.compose.ui.text.AnnotatedString.Range<androidx.compose.ui.text.Placeholder>> placeholders, optional int maxLines, optional boolean ellipsis, float width, androidx.compose.ui.unit.Density density, androidx.compose.ui.text.font.Font.ResourceLoader resourceLoader); |
| 203 | method public static androidx.compose.ui.text.Paragraph Paragraph(androidx.compose.ui.text.ParagraphIntrinsics paragraphIntrinsics, optional int maxLines, optional boolean ellipsis, float width); |
Siyamed Sinir | 031e5bf | 2019-07-02 11:49:05 -0700 | [diff] [blame] | 204 | } |
| 205 | |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 206 | @androidx.compose.runtime.Immutable public final class ParagraphStyle { |
Siyamed Sinir | da765cc | 2021-01-09 10:17:35 -0800 | [diff] [blame] | 207 | method public androidx.compose.ui.text.ParagraphStyle copy-QrGfzA0(optional androidx.compose.ui.text.style.TextAlign? textAlign, optional androidx.compose.ui.text.style.TextDirection? textDirection, optional long lineHeight, optional androidx.compose.ui.text.style.TextIndent? textIndent); |
| 208 | method public operator boolean equals(Object? other); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 209 | method public long getLineHeight-XSAIIZE(); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 210 | method public androidx.compose.ui.text.style.TextAlign? getTextAlign(); |
| 211 | method public androidx.compose.ui.text.style.TextDirection? getTextDirection(); |
| 212 | method public androidx.compose.ui.text.style.TextIndent? getTextIndent(); |
Aurimas Liutikas | 3aa5a20 | 2020-10-05 09:42:14 -0700 | [diff] [blame] | 213 | method @androidx.compose.runtime.Stable public androidx.compose.ui.text.ParagraphStyle merge(optional androidx.compose.ui.text.ParagraphStyle? other); |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 214 | method @androidx.compose.runtime.Stable public operator androidx.compose.ui.text.ParagraphStyle plus(androidx.compose.ui.text.ParagraphStyle other); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 215 | property public final long lineHeight; |
| 216 | property public final androidx.compose.ui.text.style.TextAlign? textAlign; |
| 217 | property public final androidx.compose.ui.text.style.TextDirection? textDirection; |
| 218 | property public final androidx.compose.ui.text.style.TextIndent? textIndent; |
Siyamed Sinir | cd51901 | 2019-06-21 09:27:11 -0700 | [diff] [blame] | 219 | } |
| 220 | |
Siyamed Sinir | c8b0132 | 2019-12-05 09:41:00 -0800 | [diff] [blame] | 221 | public final class ParagraphStyleKt { |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 222 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.text.ParagraphStyle lerp(androidx.compose.ui.text.ParagraphStyle start, androidx.compose.ui.text.ParagraphStyle stop, float fraction); |
Siyamed Sinir | c8b0132 | 2019-12-05 09:41:00 -0800 | [diff] [blame] | 223 | } |
| 224 | |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 225 | @androidx.compose.runtime.Immutable public final class Placeholder { |
Siyamed Sinir | da765cc | 2021-01-09 10:17:35 -0800 | [diff] [blame] | 226 | method public androidx.compose.ui.text.Placeholder copy-KJSDsNM(optional long width, optional long height, optional androidx.compose.ui.text.PlaceholderVerticalAlign placeholderVerticalAlign); |
| 227 | method public operator boolean equals(Object? other); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 228 | method public long getHeight-XSAIIZE(); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 229 | method public androidx.compose.ui.text.PlaceholderVerticalAlign getPlaceholderVerticalAlign(); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 230 | method public long getWidth-XSAIIZE(); |
| 231 | property public final long height; |
| 232 | property public final androidx.compose.ui.text.PlaceholderVerticalAlign placeholderVerticalAlign; |
| 233 | property public final long width; |
Haoyu Zhang | bafa280 | 2020-02-20 11:36:23 -0800 | [diff] [blame] | 234 | } |
| 235 | |
| 236 | public enum PlaceholderVerticalAlign { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 237 | enum_constant public static final androidx.compose.ui.text.PlaceholderVerticalAlign AboveBaseline; |
| 238 | enum_constant public static final androidx.compose.ui.text.PlaceholderVerticalAlign Bottom; |
| 239 | enum_constant public static final androidx.compose.ui.text.PlaceholderVerticalAlign Center; |
| 240 | enum_constant public static final androidx.compose.ui.text.PlaceholderVerticalAlign TextBottom; |
| 241 | enum_constant public static final androidx.compose.ui.text.PlaceholderVerticalAlign TextCenter; |
| 242 | enum_constant public static final androidx.compose.ui.text.PlaceholderVerticalAlign TextTop; |
| 243 | enum_constant public static final androidx.compose.ui.text.PlaceholderVerticalAlign Top; |
Haoyu Zhang | bafa280 | 2020-02-20 11:36:23 -0800 | [diff] [blame] | 244 | } |
| 245 | |
Seigo Nonaka | 0f2b8d5 | 2020-04-27 15:15:52 -0700 | [diff] [blame] | 246 | public final class SoftwareKeyboardController { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 247 | ctor public SoftwareKeyboardController(androidx.compose.ui.text.input.TextInputService textInputService, int token); |
Seigo Nonaka | 0f2b8d5 | 2020-04-27 15:15:52 -0700 | [diff] [blame] | 248 | method public void hideSoftwareKeyboard(); |
Louis Pullen-Freilich | f434a13 | 2020-07-22 14:19:24 +0100 | [diff] [blame] | 249 | method public void notifyFocusedRect(androidx.compose.ui.geometry.Rect rect); |
Seigo Nonaka | 0f2b8d5 | 2020-04-27 15:15:52 -0700 | [diff] [blame] | 250 | method public void showSoftwareKeyboard(); |
| 251 | } |
| 252 | |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 253 | @androidx.compose.runtime.Immutable public final class SpanStyle { |
Siyamed Sinir | da765cc | 2021-01-09 10:17:35 -0800 | [diff] [blame] | 254 | method public androidx.compose.ui.text.SpanStyle copy-D5kMcog(optional long color, optional long fontSize, optional androidx.compose.ui.text.font.FontWeight? fontWeight, optional androidx.compose.ui.text.font.FontStyle? fontStyle, optional androidx.compose.ui.text.font.FontSynthesis? fontSynthesis, optional androidx.compose.ui.text.font.FontFamily? fontFamily, optional String? fontFeatureSettings, optional long letterSpacing, optional androidx.compose.ui.text.style.BaselineShift? baselineShift, optional androidx.compose.ui.text.style.TextGeometricTransform? textGeometricTransform, optional androidx.compose.ui.text.intl.LocaleList? localeList, optional long background, optional androidx.compose.ui.text.style.TextDecoration? textDecoration, optional androidx.compose.ui.graphics.Shadow? shadow); |
| 255 | method public operator boolean equals(Object? other); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 256 | method public long getBackground-0d7_KjU(); |
| 257 | method public androidx.compose.ui.text.style.BaselineShift? getBaselineShift-5SSeXJ0(); |
| 258 | method public long getColor-0d7_KjU(); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 259 | method public androidx.compose.ui.text.font.FontFamily? getFontFamily(); |
Siyamed Sinir | f447f2a | 2019-12-03 15:44:51 -0800 | [diff] [blame] | 260 | method public String? getFontFeatureSettings(); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 261 | method public long getFontSize-XSAIIZE(); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 262 | method public androidx.compose.ui.text.font.FontStyle? getFontStyle(); |
| 263 | method public androidx.compose.ui.text.font.FontSynthesis? getFontSynthesis(); |
| 264 | method public androidx.compose.ui.text.font.FontWeight? getFontWeight(); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 265 | method public long getLetterSpacing-XSAIIZE(); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 266 | method public androidx.compose.ui.text.intl.LocaleList? getLocaleList(); |
Louis Pullen-Freilich | 4dc4dac | 2020-07-22 14:39:14 +0100 | [diff] [blame] | 267 | method public androidx.compose.ui.graphics.Shadow? getShadow(); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 268 | method public androidx.compose.ui.text.style.TextDecoration? getTextDecoration(); |
| 269 | method public androidx.compose.ui.text.style.TextGeometricTransform? getTextGeometricTransform(); |
Aurimas Liutikas | 3aa5a20 | 2020-10-05 09:42:14 -0700 | [diff] [blame] | 270 | method @androidx.compose.runtime.Stable public androidx.compose.ui.text.SpanStyle merge(optional androidx.compose.ui.text.SpanStyle? other); |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 271 | method @androidx.compose.runtime.Stable public operator androidx.compose.ui.text.SpanStyle plus(androidx.compose.ui.text.SpanStyle other); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 272 | property public final long background; |
| 273 | property public final androidx.compose.ui.text.style.BaselineShift? baselineShift; |
| 274 | property public final long color; |
| 275 | property public final androidx.compose.ui.text.font.FontFamily? fontFamily; |
| 276 | property public final String? fontFeatureSettings; |
| 277 | property public final long fontSize; |
| 278 | property public final androidx.compose.ui.text.font.FontStyle? fontStyle; |
| 279 | property public final androidx.compose.ui.text.font.FontSynthesis? fontSynthesis; |
| 280 | property public final androidx.compose.ui.text.font.FontWeight? fontWeight; |
| 281 | property public final long letterSpacing; |
| 282 | property public final androidx.compose.ui.text.intl.LocaleList? localeList; |
| 283 | property public final androidx.compose.ui.graphics.Shadow? shadow; |
| 284 | property public final androidx.compose.ui.text.style.TextDecoration? textDecoration; |
| 285 | property public final androidx.compose.ui.text.style.TextGeometricTransform? textGeometricTransform; |
Siyamed Sinir | f447f2a | 2019-12-03 15:44:51 -0800 | [diff] [blame] | 286 | } |
| 287 | |
| 288 | public final class SpanStyleKt { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 289 | method public static androidx.compose.ui.text.SpanStyle lerp(androidx.compose.ui.text.SpanStyle start, androidx.compose.ui.text.SpanStyle stop, float fraction); |
Siyamed Sinir | f447f2a | 2019-12-03 15:44:51 -0800 | [diff] [blame] | 290 | } |
| 291 | |
Seigo Nonaka | e50a848 | 2019-08-30 18:26:07 -0700 | [diff] [blame] | 292 | public final class StringKt { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 293 | method public static String capitalize(String, androidx.compose.ui.text.intl.Locale locale); |
| 294 | method public static String capitalize(String, androidx.compose.ui.text.intl.LocaleList localeList); |
| 295 | method public static String decapitalize(String, androidx.compose.ui.text.intl.Locale locale); |
| 296 | method public static String decapitalize(String, androidx.compose.ui.text.intl.LocaleList localeList); |
| 297 | method public static String toLowerCase(String, androidx.compose.ui.text.intl.Locale locale); |
| 298 | method public static String toLowerCase(String, androidx.compose.ui.text.intl.LocaleList localeList); |
| 299 | method public static String toUpperCase(String, androidx.compose.ui.text.intl.Locale locale); |
| 300 | method public static String toUpperCase(String, androidx.compose.ui.text.intl.LocaleList localeList); |
Seigo Nonaka | e50a848 | 2019-08-30 18:26:07 -0700 | [diff] [blame] | 301 | } |
| 302 | |
Seigo Nonaka | 7006675 | 2019-12-09 19:43:52 -0800 | [diff] [blame] | 303 | public final class TextLayoutInput { |
Siyamed Sinir | da765cc | 2021-01-09 10:17:35 -0800 | [diff] [blame] | 304 | method public androidx.compose.ui.text.TextLayoutInput copy-ih31NyA(optional androidx.compose.ui.text.AnnotatedString text, optional androidx.compose.ui.text.TextStyle style, optional java.util.List<androidx.compose.ui.text.AnnotatedString.Range<androidx.compose.ui.text.Placeholder>> placeholders, optional int maxLines, optional boolean softWrap, optional androidx.compose.ui.text.style.TextOverflow overflow, optional androidx.compose.ui.unit.Density density, optional androidx.compose.ui.unit.LayoutDirection layoutDirection, optional androidx.compose.ui.text.font.Font.ResourceLoader resourceLoader, optional long constraints); |
| 305 | method public operator boolean equals(Object? other); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 306 | method public long getConstraints-msEJaDk(); |
Louis Pullen-Freilich | a7eeb10 | 2020-07-22 17:54:24 +0100 | [diff] [blame] | 307 | method public androidx.compose.ui.unit.Density getDensity(); |
| 308 | method public androidx.compose.ui.unit.LayoutDirection getLayoutDirection(); |
Seigo Nonaka | 7006675 | 2019-12-09 19:43:52 -0800 | [diff] [blame] | 309 | method public int getMaxLines(); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 310 | method public androidx.compose.ui.text.style.TextOverflow getOverflow(); |
| 311 | method public java.util.List<androidx.compose.ui.text.AnnotatedString.Range<androidx.compose.ui.text.Placeholder>> getPlaceholders(); |
| 312 | method public androidx.compose.ui.text.font.Font.ResourceLoader getResourceLoader(); |
Seigo Nonaka | 7006675 | 2019-12-09 19:43:52 -0800 | [diff] [blame] | 313 | method public boolean getSoftWrap(); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 314 | method public androidx.compose.ui.text.TextStyle getStyle(); |
| 315 | method public androidx.compose.ui.text.AnnotatedString getText(); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 316 | property public final long constraints; |
| 317 | property public final androidx.compose.ui.unit.Density density; |
| 318 | property public final androidx.compose.ui.unit.LayoutDirection layoutDirection; |
| 319 | property public final int maxLines; |
| 320 | property public final androidx.compose.ui.text.style.TextOverflow overflow; |
| 321 | property public final java.util.List<androidx.compose.ui.text.AnnotatedString.Range<androidx.compose.ui.text.Placeholder>> placeholders; |
| 322 | property public final androidx.compose.ui.text.font.Font.ResourceLoader resourceLoader; |
| 323 | property public final boolean softWrap; |
| 324 | property public final androidx.compose.ui.text.TextStyle style; |
| 325 | property public final androidx.compose.ui.text.AnnotatedString text; |
Seigo Nonaka | 7006675 | 2019-12-09 19:43:52 -0800 | [diff] [blame] | 326 | } |
| 327 | |
| 328 | public final class TextLayoutResult { |
Siyamed Sinir | da765cc | 2021-01-09 10:17:35 -0800 | [diff] [blame] | 329 | method public androidx.compose.ui.text.TextLayoutResult copy-1moGK-E(optional androidx.compose.ui.text.TextLayoutInput layoutInput, optional long size); |
| 330 | method public operator boolean equals(Object? other); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 331 | method public androidx.compose.ui.text.style.ResolvedTextDirection getBidiRunDirection(int offset); |
Louis Pullen-Freilich | f434a13 | 2020-07-22 14:19:24 +0100 | [diff] [blame] | 332 | method public androidx.compose.ui.geometry.Rect getBoundingBox(int offset); |
| 333 | method public androidx.compose.ui.geometry.Rect getCursorRect(int offset); |
Seigo Nonaka | 7006675 | 2019-12-09 19:43:52 -0800 | [diff] [blame] | 334 | method public boolean getDidOverflowHeight(); |
| 335 | method public boolean getDidOverflowWidth(); |
Mads Ager | ba4927c | 2020-04-08 13:34:14 +0200 | [diff] [blame] | 336 | method public float getFirstBaseline(); |
Seigo Nonaka | 7006675 | 2019-12-09 19:43:52 -0800 | [diff] [blame] | 337 | method public boolean getHasVisualOverflow(); |
Mads Ager | ba4927c | 2020-04-08 13:34:14 +0200 | [diff] [blame] | 338 | method public float getHorizontalPosition(int offset, boolean usePrimaryDirection); |
| 339 | method public float getLastBaseline(); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 340 | method public androidx.compose.ui.text.TextLayoutInput getLayoutInput(); |
Mads Ager | ba4927c | 2020-04-08 13:34:14 +0200 | [diff] [blame] | 341 | method public float getLineBottom(int lineIndex); |
Seigo Nonaka | 956c8fe | 2020-07-17 12:15:08 -0700 | [diff] [blame] | 342 | method public int getLineCount(); |
haoyu | 942a5bf | 2020-11-17 12:49:47 -0800 | [diff] [blame] | 343 | method public int getLineEnd(int lineIndex, optional boolean visibleEnd); |
Seigo Nonaka | 7006675 | 2019-12-09 19:43:52 -0800 | [diff] [blame] | 344 | method public int getLineForOffset(int offset); |
yingleiw | 1df9e8a | 2020-07-08 18:41:40 -0700 | [diff] [blame] | 345 | method public int getLineForVerticalPosition(float vertical); |
Seigo Nonaka | 956c8fe | 2020-07-17 12:15:08 -0700 | [diff] [blame] | 346 | method public float getLineLeft(int lineIndex); |
| 347 | method public float getLineRight(int lineIndex); |
haoyu | 7ec1376 | 2020-04-14 11:02:05 -0700 | [diff] [blame] | 348 | method public int getLineStart(int lineIndex); |
Mads Ager | ba4927c | 2020-04-08 13:34:14 +0200 | [diff] [blame] | 349 | method public float getLineTop(int lineIndex); |
Siyamed Sinir | 75473dd | 2021-02-08 13:13:38 -0800 | [diff] [blame] | 350 | method public androidx.compose.ui.text.MultiParagraph getMultiParagraph(); |
George Mount | 16715b4 | 2020-08-06 16:03:43 -0700 | [diff] [blame] | 351 | method public int getOffsetForPosition-k-4lQ0M(long position); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 352 | method public androidx.compose.ui.text.style.ResolvedTextDirection getParagraphDirection(int offset); |
Louis Pullen-Freilich | 4dc4dac | 2020-07-22 14:39:14 +0100 | [diff] [blame] | 353 | method public androidx.compose.ui.graphics.Path getPathForRange(int start, int end); |
Louis Pullen-Freilich | f434a13 | 2020-07-22 14:19:24 +0100 | [diff] [blame] | 354 | method public java.util.List<androidx.compose.ui.geometry.Rect> getPlaceholderRects(); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 355 | method public long getSize-YbymL2g(); |
| 356 | method public long getWordBoundary-d9O1mEE(int offset); |
Seigo Nonaka | 24aad83 | 2020-07-23 18:13:26 -0700 | [diff] [blame] | 357 | method public boolean isLineEllipsized(int lineIndex); |
Seigo Nonaka | 7006675 | 2019-12-09 19:43:52 -0800 | [diff] [blame] | 358 | property public final boolean didOverflowHeight; |
| 359 | property public final boolean didOverflowWidth; |
Mads Ager | ba4927c | 2020-04-08 13:34:14 +0200 | [diff] [blame] | 360 | property public final float firstBaseline; |
Seigo Nonaka | 7006675 | 2019-12-09 19:43:52 -0800 | [diff] [blame] | 361 | property public final boolean hasVisualOverflow; |
Mads Ager | ba4927c | 2020-04-08 13:34:14 +0200 | [diff] [blame] | 362 | property public final float lastBaseline; |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 363 | property public final androidx.compose.ui.text.TextLayoutInput layoutInput; |
Seigo Nonaka | 956c8fe | 2020-07-17 12:15:08 -0700 | [diff] [blame] | 364 | property public final int lineCount; |
Siyamed Sinir | 75473dd | 2021-02-08 13:13:38 -0800 | [diff] [blame] | 365 | property public final androidx.compose.ui.text.MultiParagraph multiParagraph; |
Louis Pullen-Freilich | f434a13 | 2020-07-22 14:19:24 +0100 | [diff] [blame] | 366 | property public final java.util.List<androidx.compose.ui.geometry.Rect> placeholderRects; |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 367 | property public final long size; |
Seigo Nonaka | 7006675 | 2019-12-09 19:43:52 -0800 | [diff] [blame] | 368 | } |
| 369 | |
George Mount | dec43a9 | 2020-08-06 12:17:53 -0700 | [diff] [blame] | 370 | public final class TextLayoutResultKt { |
George Mount | a4da1bb | 2021-01-07 17:12:05 +0000 | [diff] [blame] | 371 | method public static androidx.compose.ui.text.TextLayoutResult createTextLayoutResult-2H_Vf2E(optional androidx.compose.ui.text.TextLayoutInput layoutInput, optional androidx.compose.ui.text.MultiParagraph multiParagraph, optional long size); |
George Mount | dec43a9 | 2020-08-06 12:17:53 -0700 | [diff] [blame] | 372 | } |
| 373 | |
Seigo Nonaka | eaf4d64 | 2019-12-12 14:42:14 -0800 | [diff] [blame] | 374 | public final class TextPainter { |
Louis Pullen-Freilich | 4dc4dac | 2020-07-22 14:39:14 +0100 | [diff] [blame] | 375 | method public void paint(androidx.compose.ui.graphics.Canvas canvas, androidx.compose.ui.text.TextLayoutResult textLayoutResult); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 376 | field public static final androidx.compose.ui.text.TextPainter INSTANCE; |
Seigo Nonaka | eaf4d64 | 2019-12-12 14:42:14 -0800 | [diff] [blame] | 377 | } |
| 378 | |
haoyu | 093026c | 2020-08-25 17:44:12 -0700 | [diff] [blame] | 379 | @androidx.compose.runtime.Immutable public final inline class TextRange { |
| 380 | ctor public TextRange(); |
| 381 | method public static long constructor-impl(long packedValue); |
| 382 | method public static long constructor-impl(int start, int end); |
| 383 | method public static operator boolean contains-5zc-tL8(long $this, long other); |
| 384 | method public static operator boolean contains-impl(long $this, int offset); |
| 385 | method @androidx.compose.runtime.Immutable public static inline boolean equals-impl(long p, Object? p1); |
| 386 | method public static boolean equals-impl0(long p1, long p2); |
| 387 | method public static boolean getCollapsed-impl(long $this); |
| 388 | method public static int getEnd-impl(long $this); |
| 389 | method public static int getLength-impl(long $this); |
| 390 | method public static int getMax-impl(long $this); |
| 391 | method public static int getMin-impl(long $this); |
| 392 | method public long getPackedValue(); |
| 393 | method public static boolean getReversed-impl(long $this); |
| 394 | method public static int getStart-impl(long $this); |
| 395 | method @androidx.compose.runtime.Immutable public static inline int hashCode-impl(long p); |
| 396 | method public static boolean intersects-5zc-tL8(long $this, long other); |
| 397 | method public static String toString-impl(long $this); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 398 | property public final long packedValue; |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 399 | field public static final androidx.compose.ui.text.TextRange.Companion Companion; |
Siyamed Sinir | 01b35f7 | 2020-06-15 19:15:32 -0700 | [diff] [blame] | 400 | } |
| 401 | |
| 402 | public static final class TextRange.Companion { |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 403 | method public long getZero-d9O1mEE(); |
haoyu | 093026c | 2020-08-25 17:44:12 -0700 | [diff] [blame] | 404 | property public final long Zero; |
Siyamed Sinir | b427d33 | 2019-11-02 00:05:25 -0700 | [diff] [blame] | 405 | } |
| 406 | |
| 407 | public final class TextRangeKt { |
haoyu | 093026c | 2020-08-25 17:44:12 -0700 | [diff] [blame] | 408 | method public static long TextRange(int index); |
| 409 | method public static String substring-cWlJSyE(CharSequence, long range); |
Siyamed Sinir | b427d33 | 2019-11-02 00:05:25 -0700 | [diff] [blame] | 410 | } |
| 411 | |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 412 | @androidx.compose.runtime.Immutable public final class TextStyle { |
Siyamed Sinir | da765cc | 2021-01-09 10:17:35 -0800 | [diff] [blame] | 413 | method public androidx.compose.ui.text.TextStyle copy-4skVB9c(optional long color, optional long fontSize, optional androidx.compose.ui.text.font.FontWeight? fontWeight, optional androidx.compose.ui.text.font.FontStyle? fontStyle, optional androidx.compose.ui.text.font.FontSynthesis? fontSynthesis, optional androidx.compose.ui.text.font.FontFamily? fontFamily, optional String? fontFeatureSettings, optional long letterSpacing, optional androidx.compose.ui.text.style.BaselineShift? baselineShift, optional androidx.compose.ui.text.style.TextGeometricTransform? textGeometricTransform, optional androidx.compose.ui.text.intl.LocaleList? localeList, optional long background, optional androidx.compose.ui.text.style.TextDecoration? textDecoration, optional androidx.compose.ui.graphics.Shadow? shadow, optional androidx.compose.ui.text.style.TextAlign? textAlign, optional androidx.compose.ui.text.style.TextDirection? textDirection, optional long lineHeight, optional androidx.compose.ui.text.style.TextIndent? textIndent); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 414 | method public long getBackground-0d7_KjU(); |
| 415 | method public androidx.compose.ui.text.style.BaselineShift? getBaselineShift-5SSeXJ0(); |
| 416 | method public long getColor-0d7_KjU(); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 417 | method public androidx.compose.ui.text.font.FontFamily? getFontFamily(); |
Haoyu Zhang | 588aaef | 2019-02-20 14:47:39 -0800 | [diff] [blame] | 418 | method public String? getFontFeatureSettings(); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 419 | method public long getFontSize-XSAIIZE(); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 420 | method public androidx.compose.ui.text.font.FontStyle? getFontStyle(); |
| 421 | method public androidx.compose.ui.text.font.FontSynthesis? getFontSynthesis(); |
| 422 | method public androidx.compose.ui.text.font.FontWeight? getFontWeight(); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 423 | method public long getLetterSpacing-XSAIIZE(); |
| 424 | method public long getLineHeight-XSAIIZE(); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 425 | method public androidx.compose.ui.text.intl.LocaleList? getLocaleList(); |
Louis Pullen-Freilich | 4dc4dac | 2020-07-22 14:39:14 +0100 | [diff] [blame] | 426 | method public androidx.compose.ui.graphics.Shadow? getShadow(); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 427 | method public androidx.compose.ui.text.style.TextAlign? getTextAlign(); |
| 428 | method public androidx.compose.ui.text.style.TextDecoration? getTextDecoration(); |
| 429 | method public androidx.compose.ui.text.style.TextDirection? getTextDirection(); |
| 430 | method public androidx.compose.ui.text.style.TextGeometricTransform? getTextGeometricTransform(); |
| 431 | method public androidx.compose.ui.text.style.TextIndent? getTextIndent(); |
Aurimas Liutikas | 3aa5a20 | 2020-10-05 09:42:14 -0700 | [diff] [blame] | 432 | method @androidx.compose.runtime.Stable public androidx.compose.ui.text.TextStyle merge(optional androidx.compose.ui.text.TextStyle? other); |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 433 | method @androidx.compose.runtime.Stable public androidx.compose.ui.text.TextStyle merge(androidx.compose.ui.text.SpanStyle other); |
| 434 | method @androidx.compose.runtime.Stable public androidx.compose.ui.text.TextStyle merge(androidx.compose.ui.text.ParagraphStyle other); |
| 435 | method @androidx.compose.runtime.Stable public operator androidx.compose.ui.text.TextStyle plus(androidx.compose.ui.text.TextStyle other); |
| 436 | method @androidx.compose.runtime.Stable public operator androidx.compose.ui.text.TextStyle plus(androidx.compose.ui.text.ParagraphStyle other); |
| 437 | method @androidx.compose.runtime.Stable public operator androidx.compose.ui.text.TextStyle plus(androidx.compose.ui.text.SpanStyle other); |
| 438 | method @androidx.compose.runtime.Stable public androidx.compose.ui.text.ParagraphStyle toParagraphStyle(); |
| 439 | method @androidx.compose.runtime.Stable public androidx.compose.ui.text.SpanStyle toSpanStyle(); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 440 | property public final long background; |
| 441 | property public final androidx.compose.ui.text.style.BaselineShift? baselineShift; |
| 442 | property public final long color; |
| 443 | property public final androidx.compose.ui.text.font.FontFamily? fontFamily; |
| 444 | property public final String? fontFeatureSettings; |
| 445 | property public final long fontSize; |
| 446 | property public final androidx.compose.ui.text.font.FontStyle? fontStyle; |
| 447 | property public final androidx.compose.ui.text.font.FontSynthesis? fontSynthesis; |
| 448 | property public final androidx.compose.ui.text.font.FontWeight? fontWeight; |
| 449 | property public final long letterSpacing; |
| 450 | property public final long lineHeight; |
| 451 | property public final androidx.compose.ui.text.intl.LocaleList? localeList; |
| 452 | property public final androidx.compose.ui.graphics.Shadow? shadow; |
| 453 | property public final androidx.compose.ui.text.style.TextAlign? textAlign; |
| 454 | property public final androidx.compose.ui.text.style.TextDecoration? textDecoration; |
| 455 | property public final androidx.compose.ui.text.style.TextDirection? textDirection; |
| 456 | property public final androidx.compose.ui.text.style.TextGeometricTransform? textGeometricTransform; |
| 457 | property public final androidx.compose.ui.text.style.TextIndent? textIndent; |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 458 | field public static final androidx.compose.ui.text.TextStyle.Companion Companion; |
Seigo Nonaka | fde1ff3 | 2020-01-30 18:20:01 -0800 | [diff] [blame] | 459 | } |
| 460 | |
| 461 | public static final class TextStyle.Companion { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 462 | method public androidx.compose.ui.text.TextStyle getDefault(); |
| 463 | property public final androidx.compose.ui.text.TextStyle Default; |
Siyamed Sinir | 2207b72 | 2019-02-22 15:53:41 -0800 | [diff] [blame] | 464 | } |
| 465 | |
Siyamed Sinir | 6a89453 | 2019-10-20 11:02:04 -0700 | [diff] [blame] | 466 | public final class TextStyleKt { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 467 | method public static androidx.compose.ui.text.TextStyle lerp(androidx.compose.ui.text.TextStyle start, androidx.compose.ui.text.TextStyle stop, float fraction); |
Louis Pullen-Freilich | a7eeb10 | 2020-07-22 17:54:24 +0100 | [diff] [blame] | 468 | method public static androidx.compose.ui.text.TextStyle resolveDefaults(androidx.compose.ui.text.TextStyle style, androidx.compose.ui.unit.LayoutDirection direction); |
Siyamed Sinir | 6a89453 | 2019-10-20 11:02:04 -0700 | [diff] [blame] | 469 | } |
| 470 | |
haoyu | 247a19b | 2020-09-29 13:29:08 -0700 | [diff] [blame] | 471 | public abstract sealed class TtsAnnotation { |
| 472 | } |
| 473 | |
haoyu | 247a19b | 2020-09-29 13:29:08 -0700 | [diff] [blame] | 474 | public final class VerbatimTtsAnnotation extends androidx.compose.ui.text.TtsAnnotation { |
| 475 | ctor public VerbatimTtsAnnotation(String verbatim); |
| 476 | method public String getVerbatim(); |
| 477 | property public final String verbatim; |
| 478 | } |
| 479 | |
Siyamed Sinir | 2207b72 | 2019-02-22 15:53:41 -0800 | [diff] [blame] | 480 | } |
| 481 | |
Igor Demin | ca6fde9 | 2020-11-02 23:19:20 +0300 | [diff] [blame] | 482 | package androidx.compose.ui.text.android { |
| 483 | |
| 484 | @kotlin.RequiresOptIn(level=kotlin.RequiresOptIn.Level, message="This is internal API that may change frequently and without warning.") @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget}) public @interface InternalPlatformTextApi { |
| 485 | } |
| 486 | |
| 487 | public final class LayoutCompatKt { |
| 488 | } |
| 489 | |
| 490 | public final class LayoutHelperKt { |
| 491 | } |
| 492 | |
| 493 | public final class LayoutIntrinsicsKt { |
| 494 | } |
| 495 | |
| 496 | public final class TextLayoutKt { |
| 497 | } |
| 498 | |
| 499 | } |
| 500 | |
| 501 | package androidx.compose.ui.text.android.style { |
| 502 | |
Igor Demin | ca6fde9 | 2020-11-02 23:19:20 +0300 | [diff] [blame] | 503 | public final class PlaceholderSpanKt { |
| 504 | } |
| 505 | |
| 506 | } |
| 507 | |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 508 | package androidx.compose.ui.text.font { |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 509 | |
Siyamed Sinir | 4d973ec | 2020-11-13 09:11:13 -0800 | [diff] [blame] | 510 | public final class AndroidTypefaceKt { |
Siyamed Sinir | 2baa99a9 | 2021-01-19 20:31:38 -0800 | [diff] [blame] | 511 | method public static androidx.compose.ui.text.font.FontFamily FontFamily(android.graphics.Typeface typeface); |
| 512 | method public static androidx.compose.ui.text.font.Typeface Typeface(android.content.Context context, androidx.compose.ui.text.font.FontFamily fontFamily, optional java.util.List<? extends kotlin.Pair<androidx.compose.ui.text.font.FontWeight,? extends androidx.compose.ui.text.font.FontStyle>>? styles); |
| 513 | method public static androidx.compose.ui.text.font.Typeface Typeface(android.graphics.Typeface typeface); |
Siyamed Sinir | 4d973ec | 2020-11-13 09:11:13 -0800 | [diff] [blame] | 514 | } |
| 515 | |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 516 | public abstract sealed class FileBasedFontFamily extends androidx.compose.ui.text.font.FontFamily { |
Seigo Nonaka | 97dcd4a | 2020-01-27 17:14:27 -0800 | [diff] [blame] | 517 | } |
| 518 | |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 519 | @androidx.compose.runtime.Immutable public interface Font { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 520 | method public androidx.compose.ui.text.font.FontStyle getStyle(); |
| 521 | method public androidx.compose.ui.text.font.FontWeight getWeight(); |
| 522 | property public abstract androidx.compose.ui.text.font.FontStyle style; |
| 523 | property public abstract androidx.compose.ui.text.font.FontWeight weight; |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 524 | } |
| 525 | |
Siyamed Sinir | c4c308e | 2019-07-03 16:14:22 -0700 | [diff] [blame] | 526 | public static interface Font.ResourceLoader { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 527 | method public Object load(androidx.compose.ui.text.font.Font font); |
Siyamed Sinir | b1286e1 | 2019-07-03 14:19:04 -0700 | [diff] [blame] | 528 | } |
| 529 | |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 530 | @androidx.compose.runtime.Immutable public abstract sealed class FontFamily { |
Seigo Nonaka | d7b6109 | 2020-03-18 16:31:15 -0700 | [diff] [blame] | 531 | method public final boolean getCanLoadSynchronously(); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 532 | property public final boolean canLoadSynchronously; |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 533 | field public static final androidx.compose.ui.text.font.FontFamily.Companion Companion; |
Seigo Nonaka | 23fcd67 | 2019-12-09 14:46:23 -0800 | [diff] [blame] | 534 | } |
| 535 | |
| 536 | public static final class FontFamily.Companion { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 537 | method public androidx.compose.ui.text.font.GenericFontFamily getCursive(); |
| 538 | method public androidx.compose.ui.text.font.SystemFontFamily getDefault(); |
| 539 | method public androidx.compose.ui.text.font.GenericFontFamily getMonospace(); |
| 540 | method public androidx.compose.ui.text.font.GenericFontFamily getSansSerif(); |
| 541 | method public androidx.compose.ui.text.font.GenericFontFamily getSerif(); |
| 542 | property public final androidx.compose.ui.text.font.GenericFontFamily Cursive; |
| 543 | property public final androidx.compose.ui.text.font.SystemFontFamily Default; |
| 544 | property public final androidx.compose.ui.text.font.GenericFontFamily Monospace; |
| 545 | property public final androidx.compose.ui.text.font.GenericFontFamily SansSerif; |
| 546 | property public final androidx.compose.ui.text.font.GenericFontFamily Serif; |
Seigo Nonaka | 23fcd67 | 2019-12-09 14:46:23 -0800 | [diff] [blame] | 547 | } |
| 548 | |
| 549 | public final class FontFamilyKt { |
Siyamed Sinir | 2baa99a9 | 2021-01-19 20:31:38 -0800 | [diff] [blame] | 550 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.text.font.FontFamily FontFamily(java.util.List<? extends androidx.compose.ui.text.font.Font> fonts); |
| 551 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.text.font.FontFamily FontFamily(androidx.compose.ui.text.font.Font... fonts); |
| 552 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.text.font.FontFamily FontFamily(androidx.compose.ui.text.font.Typeface typeface); |
Seigo Nonaka | 23fcd67 | 2019-12-09 14:46:23 -0800 | [diff] [blame] | 553 | } |
| 554 | |
| 555 | public final class FontKt { |
Siyamed Sinir | 2baa99a9 | 2021-01-19 20:31:38 -0800 | [diff] [blame] | 556 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.text.font.Font Font(int resId, optional androidx.compose.ui.text.font.FontWeight weight, optional androidx.compose.ui.text.font.FontStyle style); |
Siyamed Sinir | 2baa99a9 | 2021-01-19 20:31:38 -0800 | [diff] [blame] | 557 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.text.font.FontFamily toFontFamily(androidx.compose.ui.text.font.Font); |
Seigo Nonaka | 23fcd67 | 2019-12-09 14:46:23 -0800 | [diff] [blame] | 558 | } |
| 559 | |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 560 | @androidx.compose.runtime.Immutable public final class FontListFontFamily extends androidx.compose.ui.text.font.FileBasedFontFamily implements kotlin.jvm.internal.markers.KMappedMarker java.util.List<androidx.compose.ui.text.font.Font> { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 561 | method public boolean contains(androidx.compose.ui.text.font.Font element); |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 562 | method public boolean containsAll(java.util.Collection<?> elements); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 563 | method public androidx.compose.ui.text.font.Font get(int index); |
| 564 | method public java.util.List<androidx.compose.ui.text.font.Font> getFonts(); |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 565 | method public int getSize(); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 566 | method public int indexOf(androidx.compose.ui.text.font.Font element); |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 567 | method public boolean isEmpty(); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 568 | method public java.util.Iterator<androidx.compose.ui.text.font.Font> iterator(); |
| 569 | method public int lastIndexOf(androidx.compose.ui.text.font.Font element); |
| 570 | method public java.util.ListIterator<androidx.compose.ui.text.font.Font> listIterator(); |
| 571 | method public java.util.ListIterator<androidx.compose.ui.text.font.Font> listIterator(int index); |
| 572 | method public java.util.List<androidx.compose.ui.text.font.Font> subList(int fromIndex, int toIndex); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 573 | property public final java.util.List<androidx.compose.ui.text.font.Font> fonts; |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 574 | } |
| 575 | |
| 576 | public enum FontStyle { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 577 | enum_constant public static final androidx.compose.ui.text.font.FontStyle Italic; |
| 578 | enum_constant public static final androidx.compose.ui.text.font.FontStyle Normal; |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 579 | } |
| 580 | |
| 581 | public enum FontSynthesis { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 582 | enum_constant public static final androidx.compose.ui.text.font.FontSynthesis All; |
| 583 | enum_constant public static final androidx.compose.ui.text.font.FontSynthesis None; |
| 584 | enum_constant public static final androidx.compose.ui.text.font.FontSynthesis Style; |
| 585 | enum_constant public static final androidx.compose.ui.text.font.FontSynthesis Weight; |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 586 | } |
| 587 | |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 588 | @androidx.compose.runtime.Immutable public final class FontWeight implements java.lang.Comparable<androidx.compose.ui.text.font.FontWeight> { |
Siyamed Sinir | b88e53b | 2020-04-20 14:07:27 -0700 | [diff] [blame] | 589 | ctor public FontWeight(int weight); |
Siyamed Sinir | da765cc | 2021-01-09 10:17:35 -0800 | [diff] [blame] | 590 | method public operator int compareTo(androidx.compose.ui.text.font.FontWeight other); |
Siyamed Sinir | b88e53b | 2020-04-20 14:07:27 -0700 | [diff] [blame] | 591 | method public int getWeight(); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 592 | property public final int weight; |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 593 | field public static final androidx.compose.ui.text.font.FontWeight.Companion Companion; |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 594 | } |
| 595 | |
| 596 | public static final class FontWeight.Companion { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 597 | method public androidx.compose.ui.text.font.FontWeight getBlack(); |
| 598 | method public androidx.compose.ui.text.font.FontWeight getBold(); |
| 599 | method public androidx.compose.ui.text.font.FontWeight getExtraBold(); |
| 600 | method public androidx.compose.ui.text.font.FontWeight getExtraLight(); |
| 601 | method public androidx.compose.ui.text.font.FontWeight getLight(); |
| 602 | method public androidx.compose.ui.text.font.FontWeight getMedium(); |
| 603 | method public androidx.compose.ui.text.font.FontWeight getNormal(); |
| 604 | method public androidx.compose.ui.text.font.FontWeight getSemiBold(); |
| 605 | method public androidx.compose.ui.text.font.FontWeight getThin(); |
| 606 | method public androidx.compose.ui.text.font.FontWeight getW100(); |
| 607 | method public androidx.compose.ui.text.font.FontWeight getW200(); |
| 608 | method public androidx.compose.ui.text.font.FontWeight getW300(); |
| 609 | method public androidx.compose.ui.text.font.FontWeight getW400(); |
| 610 | method public androidx.compose.ui.text.font.FontWeight getW500(); |
| 611 | method public androidx.compose.ui.text.font.FontWeight getW600(); |
| 612 | method public androidx.compose.ui.text.font.FontWeight getW700(); |
| 613 | method public androidx.compose.ui.text.font.FontWeight getW800(); |
| 614 | method public androidx.compose.ui.text.font.FontWeight getW900(); |
| 615 | property public final androidx.compose.ui.text.font.FontWeight Black; |
| 616 | property public final androidx.compose.ui.text.font.FontWeight Bold; |
| 617 | property public final androidx.compose.ui.text.font.FontWeight ExtraBold; |
| 618 | property public final androidx.compose.ui.text.font.FontWeight ExtraLight; |
| 619 | property public final androidx.compose.ui.text.font.FontWeight Light; |
| 620 | property public final androidx.compose.ui.text.font.FontWeight Medium; |
| 621 | property public final androidx.compose.ui.text.font.FontWeight Normal; |
| 622 | property public final androidx.compose.ui.text.font.FontWeight SemiBold; |
| 623 | property public final androidx.compose.ui.text.font.FontWeight Thin; |
| 624 | property public final androidx.compose.ui.text.font.FontWeight W100; |
| 625 | property public final androidx.compose.ui.text.font.FontWeight W200; |
| 626 | property public final androidx.compose.ui.text.font.FontWeight W300; |
| 627 | property public final androidx.compose.ui.text.font.FontWeight W400; |
| 628 | property public final androidx.compose.ui.text.font.FontWeight W500; |
| 629 | property public final androidx.compose.ui.text.font.FontWeight W600; |
| 630 | property public final androidx.compose.ui.text.font.FontWeight W700; |
| 631 | property public final androidx.compose.ui.text.font.FontWeight W800; |
| 632 | property public final androidx.compose.ui.text.font.FontWeight W900; |
Siyamed Sinir | 6a89453 | 2019-10-20 11:02:04 -0700 | [diff] [blame] | 633 | } |
| 634 | |
| 635 | public final class FontWeightKt { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 636 | method public static androidx.compose.ui.text.font.FontWeight lerp(androidx.compose.ui.text.font.FontWeight start, androidx.compose.ui.text.font.FontWeight stop, float fraction); |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 637 | } |
| 638 | |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 639 | @androidx.compose.runtime.Immutable public final class GenericFontFamily extends androidx.compose.ui.text.font.SystemFontFamily { |
Seigo Nonaka | 23fcd67 | 2019-12-09 14:46:23 -0800 | [diff] [blame] | 640 | method public String getName(); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 641 | property public final String name; |
Seigo Nonaka | 23fcd67 | 2019-12-09 14:46:23 -0800 | [diff] [blame] | 642 | } |
| 643 | |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 644 | public final class LoadedFontFamily extends androidx.compose.ui.text.font.FontFamily { |
Siyamed Sinir | cc90fec | 2020-11-13 08:36:47 -0800 | [diff] [blame] | 645 | method public androidx.compose.ui.text.font.Typeface getTypeface(); |
| 646 | property public final androidx.compose.ui.text.font.Typeface typeface; |
Seigo Nonaka | d7b6109 | 2020-03-18 16:31:15 -0700 | [diff] [blame] | 647 | } |
| 648 | |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 649 | public final class ResourceFont implements androidx.compose.ui.text.font.Font { |
Siyamed Sinir | da765cc | 2021-01-09 10:17:35 -0800 | [diff] [blame] | 650 | method public androidx.compose.ui.text.font.ResourceFont copy(optional int resId, optional androidx.compose.ui.text.font.FontWeight weight, optional androidx.compose.ui.text.font.FontStyle style); |
Seigo Nonaka | a60904d | 2019-12-09 13:56:53 -0800 | [diff] [blame] | 651 | method public int getResId(); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 652 | method public androidx.compose.ui.text.font.FontStyle getStyle(); |
| 653 | method public androidx.compose.ui.text.font.FontWeight getWeight(); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 654 | property public final int resId; |
| 655 | property public androidx.compose.ui.text.font.FontStyle style; |
| 656 | property public androidx.compose.ui.text.font.FontWeight weight; |
Seigo Nonaka | a60904d | 2019-12-09 13:56:53 -0800 | [diff] [blame] | 657 | } |
| 658 | |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 659 | public abstract sealed class SystemFontFamily extends androidx.compose.ui.text.font.FontFamily { |
Seigo Nonaka | 5df56b8 | 2020-01-30 14:15:25 -0800 | [diff] [blame] | 660 | } |
| 661 | |
Siyamed Sinir | cc90fec | 2020-11-13 08:36:47 -0800 | [diff] [blame] | 662 | public interface Typeface { |
Siyamed Sinir | 4d973ec | 2020-11-13 09:11:13 -0800 | [diff] [blame] | 663 | method public androidx.compose.ui.text.font.FontFamily? getFontFamily(); |
| 664 | property public abstract androidx.compose.ui.text.font.FontFamily? fontFamily; |
Siyamed Sinir | cc90fec | 2020-11-13 08:36:47 -0800 | [diff] [blame] | 665 | } |
| 666 | |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 667 | } |
| 668 | |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 669 | package androidx.compose.ui.text.input { |
| 670 | |
Siyamed Sinir | 3aaa30b9 | 2021-01-05 10:29:16 -0800 | [diff] [blame] | 671 | public final class BackspaceCommand implements androidx.compose.ui.text.input.EditCommand { |
| 672 | ctor public BackspaceCommand(); |
| 673 | method public void applyTo(androidx.compose.ui.text.input.EditingBuffer buffer); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 674 | } |
| 675 | |
Siyamed Sinir | 3aaa30b9 | 2021-01-05 10:29:16 -0800 | [diff] [blame] | 676 | public final class CommitTextCommand implements androidx.compose.ui.text.input.EditCommand { |
Siyamed Sinir | e66d7c8 | 2021-01-07 20:49:43 -0800 | [diff] [blame] | 677 | ctor public CommitTextCommand(androidx.compose.ui.text.AnnotatedString annotatedString, int newCursorPosition); |
Siyamed Sinir | 3aaa30b9 | 2021-01-05 10:29:16 -0800 | [diff] [blame] | 678 | ctor public CommitTextCommand(String text, int newCursorPosition); |
| 679 | method public void applyTo(androidx.compose.ui.text.input.EditingBuffer buffer); |
Siyamed Sinir | e66d7c8 | 2021-01-07 20:49:43 -0800 | [diff] [blame] | 680 | method public androidx.compose.ui.text.AnnotatedString getAnnotatedString(); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 681 | method public int getNewCursorPosition(); |
| 682 | method public String getText(); |
Siyamed Sinir | e66d7c8 | 2021-01-07 20:49:43 -0800 | [diff] [blame] | 683 | property public final androidx.compose.ui.text.AnnotatedString annotatedString; |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 684 | property public final int newCursorPosition; |
| 685 | property public final String text; |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 686 | } |
| 687 | |
Siyamed Sinir | 3aaa30b9 | 2021-01-05 10:29:16 -0800 | [diff] [blame] | 688 | public final class DeleteAllCommand implements androidx.compose.ui.text.input.EditCommand { |
| 689 | ctor public DeleteAllCommand(); |
| 690 | method public void applyTo(androidx.compose.ui.text.input.EditingBuffer buffer); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 691 | } |
| 692 | |
Siyamed Sinir | 3aaa30b9 | 2021-01-05 10:29:16 -0800 | [diff] [blame] | 693 | public final class DeleteSurroundingTextCommand implements androidx.compose.ui.text.input.EditCommand { |
| 694 | ctor public DeleteSurroundingTextCommand(int lengthBeforeCursor, int lengthAfterCursor); |
| 695 | method public void applyTo(androidx.compose.ui.text.input.EditingBuffer buffer); |
| 696 | method public int getLengthAfterCursor(); |
| 697 | method public int getLengthBeforeCursor(); |
| 698 | property public final int lengthAfterCursor; |
| 699 | property public final int lengthBeforeCursor; |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 700 | } |
| 701 | |
Siyamed Sinir | 3aaa30b9 | 2021-01-05 10:29:16 -0800 | [diff] [blame] | 702 | public final class DeleteSurroundingTextInCodePointsCommand implements androidx.compose.ui.text.input.EditCommand { |
| 703 | ctor public DeleteSurroundingTextInCodePointsCommand(int lengthBeforeCursor, int lengthAfterCursor); |
| 704 | method public void applyTo(androidx.compose.ui.text.input.EditingBuffer buffer); |
| 705 | method public int getLengthAfterCursor(); |
| 706 | method public int getLengthBeforeCursor(); |
| 707 | property public final int lengthAfterCursor; |
| 708 | property public final int lengthBeforeCursor; |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 709 | } |
| 710 | |
Siyamed Sinir | 3aaa30b9 | 2021-01-05 10:29:16 -0800 | [diff] [blame] | 711 | public interface EditCommand { |
| 712 | method public void applyTo(androidx.compose.ui.text.input.EditingBuffer buffer); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 713 | } |
| 714 | |
haoyu | ec37a2c | 2021-01-13 13:36:17 -0800 | [diff] [blame] | 715 | public final class EditCommandKt { |
| 716 | } |
| 717 | |
Siyamed Sinir | 825fc2f | 2021-02-08 19:17:48 -0800 | [diff] [blame^] | 718 | public final class EditProcessor { |
| 719 | ctor public EditProcessor(); |
| 720 | method public androidx.compose.ui.text.input.TextFieldValue apply(java.util.List<? extends androidx.compose.ui.text.input.EditCommand> editCommands); |
| 721 | method public void reset(androidx.compose.ui.text.input.TextFieldValue value, androidx.compose.ui.text.input.TextInputService? textInputService, int token); |
| 722 | method public androidx.compose.ui.text.input.TextFieldValue toTextFieldValue(); |
| 723 | } |
| 724 | |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 725 | public final class EditingBuffer { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 726 | } |
| 727 | |
Siyamed Sinir | 3aaa30b9 | 2021-01-05 10:29:16 -0800 | [diff] [blame] | 728 | public final class FinishComposingTextCommand implements androidx.compose.ui.text.input.EditCommand { |
| 729 | ctor public FinishComposingTextCommand(); |
| 730 | method public void applyTo(androidx.compose.ui.text.input.EditingBuffer buffer); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 731 | } |
| 732 | |
| 733 | public final class GapBufferKt { |
| 734 | } |
| 735 | |
| 736 | public enum ImeAction { |
Siyamed Sinir | 1cd8bb9 | 2021-01-08 01:41:47 -0800 | [diff] [blame] | 737 | enum_constant public static final androidx.compose.ui.text.input.ImeAction Default; |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 738 | enum_constant public static final androidx.compose.ui.text.input.ImeAction Done; |
| 739 | enum_constant public static final androidx.compose.ui.text.input.ImeAction Go; |
| 740 | enum_constant public static final androidx.compose.ui.text.input.ImeAction Next; |
Siyamed Sinir | 1cd8bb9 | 2021-01-08 01:41:47 -0800 | [diff] [blame] | 741 | enum_constant public static final androidx.compose.ui.text.input.ImeAction None; |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 742 | enum_constant public static final androidx.compose.ui.text.input.ImeAction Previous; |
| 743 | enum_constant public static final androidx.compose.ui.text.input.ImeAction Search; |
| 744 | enum_constant public static final androidx.compose.ui.text.input.ImeAction Send; |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 745 | } |
| 746 | |
Siyamed Sinir | 8951653 | 2020-10-30 19:09:45 -0700 | [diff] [blame] | 747 | @androidx.compose.runtime.Immutable public final class ImeOptions { |
Siyamed Sinir | ec287f5 | 2020-10-29 22:02:00 -0700 | [diff] [blame] | 748 | ctor public ImeOptions(boolean singleLine, androidx.compose.ui.text.input.KeyboardCapitalization capitalization, boolean autoCorrect, androidx.compose.ui.text.input.KeyboardType keyboardType, androidx.compose.ui.text.input.ImeAction imeAction); |
| 749 | ctor public ImeOptions(); |
Siyamed Sinir | fdd7a9a | 2021-01-05 15:33:24 -0800 | [diff] [blame] | 750 | method public androidx.compose.ui.text.input.ImeOptions copy(optional boolean singleLine, optional androidx.compose.ui.text.input.KeyboardCapitalization capitalization, optional boolean autoCorrect, optional androidx.compose.ui.text.input.KeyboardType keyboardType, optional androidx.compose.ui.text.input.ImeAction imeAction); |
Siyamed Sinir | 4a35e40 | 2020-10-14 23:21:25 -0700 | [diff] [blame] | 751 | method public boolean getAutoCorrect(); |
Siyamed Sinir | 06dab30 | 2020-10-14 23:21:25 -0700 | [diff] [blame] | 752 | method public androidx.compose.ui.text.input.KeyboardCapitalization getCapitalization(); |
Siyamed Sinir | 90a74d0 | 2020-10-28 18:42:03 -0700 | [diff] [blame] | 753 | method public androidx.compose.ui.text.input.ImeAction getImeAction(); |
| 754 | method public androidx.compose.ui.text.input.KeyboardType getKeyboardType(); |
Siyamed Sinir | ae73b306 | 2020-10-13 22:37:50 -0700 | [diff] [blame] | 755 | method public boolean getSingleLine(); |
Siyamed Sinir | 4a35e40 | 2020-10-14 23:21:25 -0700 | [diff] [blame] | 756 | property public final boolean autoCorrect; |
Siyamed Sinir | 06dab30 | 2020-10-14 23:21:25 -0700 | [diff] [blame] | 757 | property public final androidx.compose.ui.text.input.KeyboardCapitalization capitalization; |
Siyamed Sinir | 90a74d0 | 2020-10-28 18:42:03 -0700 | [diff] [blame] | 758 | property public final androidx.compose.ui.text.input.ImeAction imeAction; |
| 759 | property public final androidx.compose.ui.text.input.KeyboardType keyboardType; |
Siyamed Sinir | ae73b306 | 2020-10-13 22:37:50 -0700 | [diff] [blame] | 760 | property public final boolean singleLine; |
Siyamed Sinir | ec287f5 | 2020-10-29 22:02:00 -0700 | [diff] [blame] | 761 | field public static final androidx.compose.ui.text.input.ImeOptions.Companion Companion; |
Siyamed Sinir | ae73b306 | 2020-10-13 22:37:50 -0700 | [diff] [blame] | 762 | } |
| 763 | |
Siyamed Sinir | ec287f5 | 2020-10-29 22:02:00 -0700 | [diff] [blame] | 764 | public static final class ImeOptions.Companion { |
| 765 | method public androidx.compose.ui.text.input.ImeOptions getDefault(); |
| 766 | property public final androidx.compose.ui.text.input.ImeOptions Default; |
| 767 | } |
| 768 | |
Siyamed Sinir | 3aaa30b9 | 2021-01-05 10:29:16 -0800 | [diff] [blame] | 769 | public interface InputEventCallback { |
| 770 | method public void onEditCommands(java.util.List<? extends androidx.compose.ui.text.input.EditCommand> editCommands); |
Siyamed Sinir | ec287f5 | 2020-10-29 22:02:00 -0700 | [diff] [blame] | 771 | method public void onImeAction(androidx.compose.ui.text.input.ImeAction imeAction); |
| 772 | } |
| 773 | |
| 774 | public enum KeyboardCapitalization { |
| 775 | enum_constant public static final androidx.compose.ui.text.input.KeyboardCapitalization Characters; |
| 776 | enum_constant public static final androidx.compose.ui.text.input.KeyboardCapitalization None; |
| 777 | enum_constant public static final androidx.compose.ui.text.input.KeyboardCapitalization Sentences; |
| 778 | enum_constant public static final androidx.compose.ui.text.input.KeyboardCapitalization Words; |
Siyamed Sinir | ae73b306 | 2020-10-13 22:37:50 -0700 | [diff] [blame] | 779 | } |
| 780 | |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 781 | public enum KeyboardType { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 782 | enum_constant public static final androidx.compose.ui.text.input.KeyboardType Ascii; |
| 783 | enum_constant public static final androidx.compose.ui.text.input.KeyboardType Email; |
| 784 | enum_constant public static final androidx.compose.ui.text.input.KeyboardType Number; |
| 785 | enum_constant public static final androidx.compose.ui.text.input.KeyboardType NumberPassword; |
| 786 | enum_constant public static final androidx.compose.ui.text.input.KeyboardType Password; |
| 787 | enum_constant public static final androidx.compose.ui.text.input.KeyboardType Phone; |
| 788 | enum_constant public static final androidx.compose.ui.text.input.KeyboardType Text; |
| 789 | enum_constant public static final androidx.compose.ui.text.input.KeyboardType Uri; |
| 790 | } |
| 791 | |
Siyamed Sinir | 3aaa30b9 | 2021-01-05 10:29:16 -0800 | [diff] [blame] | 792 | public final class MoveCursorCommand implements androidx.compose.ui.text.input.EditCommand { |
| 793 | ctor public MoveCursorCommand(int amount); |
| 794 | method public void applyTo(androidx.compose.ui.text.input.EditingBuffer buffer); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 795 | method public int getAmount(); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 796 | property public final int amount; |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 797 | } |
| 798 | |
Siyamed Sinir | 642df0e | 2021-01-05 14:34:57 -0800 | [diff] [blame] | 799 | public interface OffsetMapping { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 800 | method public int originalToTransformed(int offset); |
| 801 | method public int transformedToOriginal(int offset); |
Siyamed Sinir | 642df0e | 2021-01-05 14:34:57 -0800 | [diff] [blame] | 802 | field public static final androidx.compose.ui.text.input.OffsetMapping.Companion Companion; |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 803 | } |
| 804 | |
Siyamed Sinir | 642df0e | 2021-01-05 14:34:57 -0800 | [diff] [blame] | 805 | public static final class OffsetMapping.Companion { |
| 806 | method public androidx.compose.ui.text.input.OffsetMapping getIdentity(); |
| 807 | property public final androidx.compose.ui.text.input.OffsetMapping Identity; |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 808 | } |
| 809 | |
| 810 | public final class PasswordVisualTransformation implements androidx.compose.ui.text.input.VisualTransformation { |
| 811 | ctor public PasswordVisualTransformation(char mask); |
| 812 | ctor public PasswordVisualTransformation(); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 813 | method public androidx.compose.ui.text.input.TransformedText filter(androidx.compose.ui.text.AnnotatedString text); |
| 814 | method public char getMask(); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 815 | property public final char mask; |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 816 | } |
| 817 | |
| 818 | public interface PlatformTextInputService { |
| 819 | method public void hideSoftwareKeyboard(); |
Louis Pullen-Freilich | f434a13 | 2020-07-22 14:19:24 +0100 | [diff] [blame] | 820 | method public void notifyFocusedRect(androidx.compose.ui.geometry.Rect rect); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 821 | method public void showSoftwareKeyboard(); |
Siyamed Sinir | 3aaa30b9 | 2021-01-05 10:29:16 -0800 | [diff] [blame] | 822 | method public void startInput(androidx.compose.ui.text.input.TextFieldValue value, androidx.compose.ui.text.input.ImeOptions imeOptions, kotlin.jvm.functions.Function1<? super java.util.List<? extends androidx.compose.ui.text.input.EditCommand>,kotlin.Unit> onEditCommand, kotlin.jvm.functions.Function1<? super androidx.compose.ui.text.input.ImeAction,kotlin.Unit> onImeActionPerformed); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 823 | method public void stopInput(); |
Siyamed Sinir | 082eae3 | 2021-01-06 08:56:20 -0800 | [diff] [blame] | 824 | method public void updateState(androidx.compose.ui.text.input.TextFieldValue? oldValue, androidx.compose.ui.text.input.TextFieldValue newValue); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 825 | } |
| 826 | |
Siyamed Sinir | 3aaa30b9 | 2021-01-05 10:29:16 -0800 | [diff] [blame] | 827 | public final class SetComposingRegionCommand implements androidx.compose.ui.text.input.EditCommand { |
| 828 | ctor public SetComposingRegionCommand(int start, int end); |
| 829 | method public void applyTo(androidx.compose.ui.text.input.EditingBuffer buffer); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 830 | method public int getEnd(); |
| 831 | method public int getStart(); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 832 | property public final int end; |
| 833 | property public final int start; |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 834 | } |
| 835 | |
Siyamed Sinir | 3aaa30b9 | 2021-01-05 10:29:16 -0800 | [diff] [blame] | 836 | public final class SetComposingTextCommand implements androidx.compose.ui.text.input.EditCommand { |
Siyamed Sinir | e66d7c8 | 2021-01-07 20:49:43 -0800 | [diff] [blame] | 837 | ctor public SetComposingTextCommand(androidx.compose.ui.text.AnnotatedString annotatedString, int newCursorPosition); |
Siyamed Sinir | 3aaa30b9 | 2021-01-05 10:29:16 -0800 | [diff] [blame] | 838 | ctor public SetComposingTextCommand(String text, int newCursorPosition); |
| 839 | method public void applyTo(androidx.compose.ui.text.input.EditingBuffer buffer); |
Siyamed Sinir | e66d7c8 | 2021-01-07 20:49:43 -0800 | [diff] [blame] | 840 | method public androidx.compose.ui.text.AnnotatedString getAnnotatedString(); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 841 | method public int getNewCursorPosition(); |
| 842 | method public String getText(); |
Siyamed Sinir | e66d7c8 | 2021-01-07 20:49:43 -0800 | [diff] [blame] | 843 | property public final androidx.compose.ui.text.AnnotatedString annotatedString; |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 844 | property public final int newCursorPosition; |
| 845 | property public final String text; |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 846 | } |
| 847 | |
Siyamed Sinir | 3aaa30b9 | 2021-01-05 10:29:16 -0800 | [diff] [blame] | 848 | public final class SetSelectionCommand implements androidx.compose.ui.text.input.EditCommand { |
| 849 | ctor public SetSelectionCommand(int start, int end); |
| 850 | method public void applyTo(androidx.compose.ui.text.input.EditingBuffer buffer); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 851 | method public int getEnd(); |
| 852 | method public int getStart(); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 853 | property public final int end; |
| 854 | property public final int start; |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 855 | } |
| 856 | |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 857 | @androidx.compose.runtime.Immutable public final class TextFieldValue { |
Siyamed Sinir | 5520c56 | 2020-11-15 21:48:58 -0800 | [diff] [blame] | 858 | method public androidx.compose.ui.text.input.TextFieldValue commitComposition(); |
Siyamed Sinir | c5ccee4 | 2021-02-08 18:30:43 -0800 | [diff] [blame] | 859 | method public androidx.compose.ui.text.input.TextFieldValue copy-Dr2r1M0(String text, optional long selection, optional androidx.compose.ui.text.TextRange? composition); |
| 860 | method public androidx.compose.ui.text.input.TextFieldValue copy-ec4yWi8(optional androidx.compose.ui.text.AnnotatedString annotatedString, optional long selection, optional androidx.compose.ui.text.TextRange? composition); |
Siyamed Sinir | a9c5fd9 | 2021-01-14 15:31:07 -0800 | [diff] [blame] | 861 | method public androidx.compose.ui.text.AnnotatedString getAnnotatedString(); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 862 | method public androidx.compose.ui.text.TextRange? getComposition-MzsxiRA(); |
| 863 | method public long getSelection-d9O1mEE(); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 864 | method public String getText(); |
Siyamed Sinir | a9c5fd9 | 2021-01-14 15:31:07 -0800 | [diff] [blame] | 865 | property public final androidx.compose.ui.text.AnnotatedString annotatedString; |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 866 | property public final androidx.compose.ui.text.TextRange? composition; |
| 867 | property public final long selection; |
| 868 | property public final String text; |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 869 | field public static final androidx.compose.ui.text.input.TextFieldValue.Companion Companion; |
| 870 | } |
| 871 | |
| 872 | public static final class TextFieldValue.Companion { |
Andrey Kulikov | 7ff9978 | 2021-01-26 21:13:52 +0000 | [diff] [blame] | 873 | method public androidx.compose.runtime.saveable.Saver<androidx.compose.ui.text.input.TextFieldValue,java.lang.Object> getSaver(); |
| 874 | property public final androidx.compose.runtime.saveable.Saver<androidx.compose.ui.text.input.TextFieldValue,java.lang.Object> Saver; |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 875 | } |
| 876 | |
| 877 | public final class TextFieldValueKt { |
Siyamed Sinir | a9c5fd9 | 2021-01-14 15:31:07 -0800 | [diff] [blame] | 878 | method public static androidx.compose.ui.text.AnnotatedString getSelectedText(androidx.compose.ui.text.input.TextFieldValue); |
| 879 | method public static androidx.compose.ui.text.AnnotatedString getTextAfterSelection(androidx.compose.ui.text.input.TextFieldValue, int maxChars); |
| 880 | method public static androidx.compose.ui.text.AnnotatedString getTextBeforeSelection(androidx.compose.ui.text.input.TextFieldValue, int maxChars); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 881 | } |
| 882 | |
| 883 | public class TextInputService { |
| 884 | ctor public TextInputService(androidx.compose.ui.text.input.PlatformTextInputService platformTextInputService); |
| 885 | method public void hideSoftwareKeyboard(int token); |
Louis Pullen-Freilich | f434a13 | 2020-07-22 14:19:24 +0100 | [diff] [blame] | 886 | method public void notifyFocusedRect(int token, androidx.compose.ui.geometry.Rect rect); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 887 | method public void showSoftwareKeyboard(int token); |
Siyamed Sinir | 3aaa30b9 | 2021-01-05 10:29:16 -0800 | [diff] [blame] | 888 | method public int startInput(androidx.compose.ui.text.input.TextFieldValue value, androidx.compose.ui.text.input.ImeOptions imeOptions, kotlin.jvm.functions.Function1<? super java.util.List<? extends androidx.compose.ui.text.input.EditCommand>,kotlin.Unit> onEditCommand, kotlin.jvm.functions.Function1<? super androidx.compose.ui.text.input.ImeAction,kotlin.Unit> onImeActionPerformed); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 889 | method public void stopInput(int token); |
Siyamed Sinir | 082eae3 | 2021-01-06 08:56:20 -0800 | [diff] [blame] | 890 | method public void updateState(int token, androidx.compose.ui.text.input.TextFieldValue? oldValue, androidx.compose.ui.text.input.TextFieldValue newValue); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 891 | } |
| 892 | |
| 893 | public final class TextInputServiceKt { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 894 | field public static final int INVALID_SESSION = -1; // 0xffffffff |
| 895 | field public static final int NO_SESSION = 0; // 0x0 |
| 896 | } |
| 897 | |
| 898 | public final class TransformedText { |
Siyamed Sinir | 6d87912 | 2021-01-13 10:39:54 -0800 | [diff] [blame] | 899 | ctor public TransformedText(androidx.compose.ui.text.AnnotatedString text, androidx.compose.ui.text.input.OffsetMapping offsetMapping); |
Siyamed Sinir | 642df0e | 2021-01-05 14:34:57 -0800 | [diff] [blame] | 900 | method public androidx.compose.ui.text.input.OffsetMapping getOffsetMapping(); |
Siyamed Sinir | 6d87912 | 2021-01-13 10:39:54 -0800 | [diff] [blame] | 901 | method public androidx.compose.ui.text.AnnotatedString getText(); |
Siyamed Sinir | 642df0e | 2021-01-05 14:34:57 -0800 | [diff] [blame] | 902 | property public final androidx.compose.ui.text.input.OffsetMapping offsetMapping; |
Siyamed Sinir | 6d87912 | 2021-01-13 10:39:54 -0800 | [diff] [blame] | 903 | property public final androidx.compose.ui.text.AnnotatedString text; |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 904 | } |
| 905 | |
Siyamed Sinir | e3b986c | 2021-01-07 12:04:03 -0800 | [diff] [blame] | 906 | @androidx.compose.runtime.Immutable public fun interface VisualTransformation { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 907 | method public androidx.compose.ui.text.input.TransformedText filter(androidx.compose.ui.text.AnnotatedString text); |
| 908 | field public static final androidx.compose.ui.text.input.VisualTransformation.Companion Companion; |
| 909 | } |
| 910 | |
| 911 | public static final class VisualTransformation.Companion { |
| 912 | method public androidx.compose.ui.text.input.VisualTransformation getNone(); |
| 913 | property public final androidx.compose.ui.text.input.VisualTransformation None; |
| 914 | } |
| 915 | |
| 916 | } |
| 917 | |
| 918 | package androidx.compose.ui.text.intl { |
| 919 | |
| 920 | public final class AndroidPlatformLocaleKt { |
| 921 | } |
| 922 | |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 923 | @androidx.compose.runtime.Immutable public final class Locale { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 924 | ctor public Locale(String languageTag); |
| 925 | method public String getLanguage(); |
| 926 | method public String getRegion(); |
| 927 | method public String getScript(); |
| 928 | method public String toLanguageTag(); |
| 929 | property public final String language; |
| 930 | property public final String region; |
| 931 | property public final String script; |
| 932 | field public static final androidx.compose.ui.text.intl.Locale.Companion Companion; |
| 933 | } |
| 934 | |
| 935 | public static final class Locale.Companion { |
| 936 | method public androidx.compose.ui.text.intl.Locale getCurrent(); |
| 937 | property public final androidx.compose.ui.text.intl.Locale current; |
| 938 | } |
| 939 | |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 940 | @androidx.compose.runtime.Immutable public final class LocaleList implements java.util.Collection<androidx.compose.ui.text.intl.Locale> kotlin.jvm.internal.markers.KMappedMarker { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 941 | ctor public LocaleList(java.util.List<androidx.compose.ui.text.intl.Locale> localeList); |
| 942 | ctor public LocaleList(String languageTags); |
| 943 | ctor public LocaleList(androidx.compose.ui.text.intl.Locale... locales); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 944 | method public operator boolean contains(androidx.compose.ui.text.intl.Locale element); |
| 945 | method public boolean containsAll(java.util.Collection<?> elements); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 946 | method public operator androidx.compose.ui.text.intl.Locale get(int i); |
| 947 | method public java.util.List<androidx.compose.ui.text.intl.Locale> getLocaleList(); |
| 948 | method public int getSize(); |
| 949 | method public boolean isEmpty(); |
| 950 | method public java.util.Iterator<androidx.compose.ui.text.intl.Locale> iterator(); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 951 | property public final java.util.List<androidx.compose.ui.text.intl.Locale> localeList; |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 952 | property public int size; |
| 953 | field public static final androidx.compose.ui.text.intl.LocaleList.Companion Companion; |
| 954 | } |
| 955 | |
| 956 | public static final class LocaleList.Companion { |
| 957 | method public androidx.compose.ui.text.intl.LocaleList getCurrent(); |
| 958 | property public final androidx.compose.ui.text.intl.LocaleList current; |
| 959 | } |
| 960 | |
| 961 | public final class PlatformLocaleKt { |
| 962 | } |
| 963 | |
| 964 | } |
| 965 | |
| 966 | package androidx.compose.ui.text.platform { |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 967 | |
haoyu | 52a7fa1 | 2020-09-09 15:19:58 -0700 | [diff] [blame] | 968 | public final class AndroidAccessibilitySpannableStringKt { |
haoyu | 52a7fa1 | 2020-09-09 15:19:58 -0700 | [diff] [blame] | 969 | } |
| 970 | |
Siyamed Sinir | fe2c037 | 2019-09-05 15:05:05 -0700 | [diff] [blame] | 971 | public final class AndroidParagraphHelperKt { |
Siyamed Sinir | fe2c037 | 2019-09-05 15:05:05 -0700 | [diff] [blame] | 972 | } |
| 973 | |
Nikolay Igotti | 705beee | 2020-05-28 10:34:39 +0300 | [diff] [blame] | 974 | public final class AndroidParagraphIntrinsicsKt { |
| 975 | } |
| 976 | |
Siyamed Sinir | e75976f | 2019-07-03 09:24:30 -0700 | [diff] [blame] | 977 | public final class AndroidParagraphKt { |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 978 | } |
| 979 | |
Nikolay Igotti | 705beee | 2020-05-28 10:34:39 +0300 | [diff] [blame] | 980 | public final class AndroidStringDelegateKt { |
| 981 | } |
| 982 | |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 983 | } |
| 984 | |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 985 | package androidx.compose.ui.text.platform.extensions { |
Siyamed Sinir | e2bba72 | 2020-06-24 19:34:07 -0700 | [diff] [blame] | 986 | |
| 987 | public final class LocaleExtensionsKt { |
| 988 | } |
| 989 | |
Siyamed Sinir | 1111b52 | 2020-06-25 09:40:59 -0700 | [diff] [blame] | 990 | public final class PlaceholderExtensionsKt { |
| 991 | } |
| 992 | |
| 993 | public final class SpannableExtensionsKt { |
| 994 | } |
| 995 | |
Siyamed Sinir | e2bba72 | 2020-06-24 19:34:07 -0700 | [diff] [blame] | 996 | public final class TextPaintExtensionsKt { |
| 997 | } |
| 998 | |
haoyu | 247a19b | 2020-09-29 13:29:08 -0700 | [diff] [blame] | 999 | public final class TtsAnnotationExtensionsKt { |
| 1000 | method public static android.text.style.TtsSpan toSpan(androidx.compose.ui.text.TtsAnnotation); |
| 1001 | method public static android.text.style.TtsSpan toSpan(androidx.compose.ui.text.VerbatimTtsAnnotation); |
| 1002 | } |
| 1003 | |
Siyamed Sinir | e2bba72 | 2020-06-24 19:34:07 -0700 | [diff] [blame] | 1004 | } |
| 1005 | |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 1006 | package androidx.compose.ui.text.style { |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 1007 | |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 1008 | @androidx.compose.runtime.Immutable public final inline class BaselineShift { |
Mads Ager | ba4927c | 2020-04-08 13:34:14 +0200 | [diff] [blame] | 1009 | ctor public BaselineShift(); |
| 1010 | method public static float constructor-impl(float multiplier); |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 1011 | method @androidx.compose.runtime.Immutable public static inline boolean equals-impl(float p, Object? p1); |
Mads Ager | ba4927c | 2020-04-08 13:34:14 +0200 | [diff] [blame] | 1012 | method public static boolean equals-impl0(float p1, float p2); |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 1013 | method public float getMultiplier(); |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 1014 | method @androidx.compose.runtime.Immutable public static inline int hashCode-impl(float p); |
| 1015 | method @androidx.compose.runtime.Immutable public static inline String! toString-impl(float p); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 1016 | property public final float multiplier; |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 1017 | field public static final androidx.compose.ui.text.style.BaselineShift.Companion Companion; |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 1018 | } |
| 1019 | |
| 1020 | public static final class BaselineShift.Companion { |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 1021 | method public float getNone-y9eOQZs(); |
| 1022 | method public float getSubscript-y9eOQZs(); |
| 1023 | method public float getSuperscript-y9eOQZs(); |
Mads Ager | ba4927c | 2020-04-08 13:34:14 +0200 | [diff] [blame] | 1024 | property public final float None; |
| 1025 | property public final float Subscript; |
| 1026 | property public final float Superscript; |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 1027 | } |
| 1028 | |
Siyamed Sinir | 6a89453 | 2019-10-20 11:02:04 -0700 | [diff] [blame] | 1029 | public final class BaselineShiftKt { |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 1030 | method @androidx.compose.runtime.Stable public static float lerp-ylBt8J4(float start, float stop, float fraction); |
Siyamed Sinir | 6a89453 | 2019-10-20 11:02:04 -0700 | [diff] [blame] | 1031 | } |
| 1032 | |
Siyamed Sinir | 5e07517 | 2020-06-24 12:41:28 -0700 | [diff] [blame] | 1033 | public enum ResolvedTextDirection { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 1034 | enum_constant public static final androidx.compose.ui.text.style.ResolvedTextDirection Ltr; |
| 1035 | enum_constant public static final androidx.compose.ui.text.style.ResolvedTextDirection Rtl; |
Siyamed Sinir | 5e07517 | 2020-06-24 12:41:28 -0700 | [diff] [blame] | 1036 | } |
| 1037 | |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 1038 | public enum TextAlign { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 1039 | enum_constant public static final androidx.compose.ui.text.style.TextAlign Center; |
| 1040 | enum_constant public static final androidx.compose.ui.text.style.TextAlign End; |
| 1041 | enum_constant public static final androidx.compose.ui.text.style.TextAlign Justify; |
| 1042 | enum_constant public static final androidx.compose.ui.text.style.TextAlign Left; |
| 1043 | enum_constant public static final androidx.compose.ui.text.style.TextAlign Right; |
| 1044 | enum_constant public static final androidx.compose.ui.text.style.TextAlign Start; |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 1045 | } |
| 1046 | |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 1047 | @androidx.compose.runtime.Immutable public final class TextDecoration { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 1048 | method public operator boolean contains(androidx.compose.ui.text.style.TextDecoration other); |
Siyamed Sinir | da765cc | 2021-01-09 10:17:35 -0800 | [diff] [blame] | 1049 | method public operator boolean equals(Object? other); |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 1050 | method public int getMask(); |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 1051 | method public operator androidx.compose.ui.text.style.TextDecoration plus(androidx.compose.ui.text.style.TextDecoration decoration); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 1052 | property public final int mask; |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 1053 | field public static final androidx.compose.ui.text.style.TextDecoration.Companion Companion; |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 1054 | } |
| 1055 | |
| 1056 | public static final class TextDecoration.Companion { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 1057 | method public androidx.compose.ui.text.style.TextDecoration combine(java.util.List<androidx.compose.ui.text.style.TextDecoration> decorations); |
| 1058 | method public androidx.compose.ui.text.style.TextDecoration getLineThrough(); |
| 1059 | method public androidx.compose.ui.text.style.TextDecoration getNone(); |
| 1060 | method public androidx.compose.ui.text.style.TextDecoration getUnderline(); |
| 1061 | property public final androidx.compose.ui.text.style.TextDecoration LineThrough; |
| 1062 | property public final androidx.compose.ui.text.style.TextDecoration None; |
| 1063 | property public final androidx.compose.ui.text.style.TextDecoration Underline; |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 1064 | } |
| 1065 | |
Siyamed Sinir | 7f8762b | 2020-06-24 13:33:24 -0700 | [diff] [blame] | 1066 | public enum TextDirection { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 1067 | enum_constant public static final androidx.compose.ui.text.style.TextDirection Content; |
| 1068 | enum_constant public static final androidx.compose.ui.text.style.TextDirection ContentOrLtr; |
| 1069 | enum_constant public static final androidx.compose.ui.text.style.TextDirection ContentOrRtl; |
| 1070 | enum_constant public static final androidx.compose.ui.text.style.TextDirection Ltr; |
| 1071 | enum_constant public static final androidx.compose.ui.text.style.TextDirection Rtl; |
Seigo Nonaka | c4f136a | 2019-08-16 16:48:44 -0700 | [diff] [blame] | 1072 | } |
| 1073 | |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 1074 | @androidx.compose.runtime.Immutable public final class TextGeometricTransform { |
Seigo Nonaka | 9b62cc9 | 2019-12-03 14:32:17 -0800 | [diff] [blame] | 1075 | ctor public TextGeometricTransform(float scaleX, float skewX); |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 1076 | ctor public TextGeometricTransform(); |
Siyamed Sinir | da765cc | 2021-01-09 10:17:35 -0800 | [diff] [blame] | 1077 | method public androidx.compose.ui.text.style.TextGeometricTransform copy(optional float scaleX, optional float skewX); |
| 1078 | method public operator boolean equals(Object? other); |
Seigo Nonaka | 9b62cc9 | 2019-12-03 14:32:17 -0800 | [diff] [blame] | 1079 | method public float getScaleX(); |
| 1080 | method public float getSkewX(); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 1081 | property public final float scaleX; |
| 1082 | property public final float skewX; |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 1083 | field public static final androidx.compose.ui.text.style.TextGeometricTransform.Companion Companion; |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 1084 | } |
| 1085 | |
| 1086 | public static final class TextGeometricTransform.Companion { |
| 1087 | } |
| 1088 | |
| 1089 | public final class TextGeometricTransformKt { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 1090 | method public static androidx.compose.ui.text.style.TextGeometricTransform lerp(androidx.compose.ui.text.style.TextGeometricTransform start, androidx.compose.ui.text.style.TextGeometricTransform stop, float fraction); |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 1091 | } |
| 1092 | |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 1093 | @androidx.compose.runtime.Immutable public final class TextIndent { |
Siyamed Sinir | da765cc | 2021-01-09 10:17:35 -0800 | [diff] [blame] | 1094 | method public androidx.compose.ui.text.style.TextIndent copy-8E83U4Q(optional long firstLine, optional long restLine); |
| 1095 | method public operator boolean equals(Object? other); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 1096 | method public long getFirstLine-XSAIIZE(); |
| 1097 | method public long getRestLine-XSAIIZE(); |
| 1098 | property public final long firstLine; |
| 1099 | property public final long restLine; |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 1100 | field public static final androidx.compose.ui.text.style.TextIndent.Companion Companion; |
Seigo Nonaka | fde1ff3 | 2020-01-30 18:20:01 -0800 | [diff] [blame] | 1101 | } |
| 1102 | |
| 1103 | public static final class TextIndent.Companion { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 1104 | method public androidx.compose.ui.text.style.TextIndent getNone(); |
| 1105 | property public final androidx.compose.ui.text.style.TextIndent None; |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 1106 | } |
| 1107 | |
| 1108 | public final class TextIndentKt { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 1109 | method public static androidx.compose.ui.text.style.TextIndent lerp(androidx.compose.ui.text.style.TextIndent start, androidx.compose.ui.text.style.TextIndent stop, float fraction); |
Siyamed Sinir | ff51df9 | 2019-07-02 15:35:20 -0700 | [diff] [blame] | 1110 | } |
Siyamed Sinir | 2207b72 | 2019-02-22 15:53:41 -0800 | [diff] [blame] | 1111 | |
Siyamed Sinir | 2207b72 | 2019-02-22 15:53:41 -0800 | [diff] [blame] | 1112 | public enum TextOverflow { |
Louis Pullen-Freilich | ab19475 | 2020-07-21 22:21:22 +0100 | [diff] [blame] | 1113 | enum_constant public static final androidx.compose.ui.text.style.TextOverflow Clip; |
| 1114 | enum_constant public static final androidx.compose.ui.text.style.TextOverflow Ellipsis; |
Siyamed Sinir | 2207b72 | 2019-02-22 15:53:41 -0800 | [diff] [blame] | 1115 | } |
| 1116 | |
| 1117 | } |
| 1118 | |