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