Loading api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -55492,6 +55492,7 @@ package android.widget { method public java.lang.CharSequence getText(); method public android.view.textclassifier.TextClassifier getTextClassifier(); method public final android.content.res.ColorStateList getTextColors(); method public android.text.TextDirectionHeuristic getTextDirectionHeuristic(); method public java.util.Locale getTextLocale(); method public android.os.LocaleList getTextLocales(); method public android.text.PrecomputedText.Params getTextMetricsParams(); core/java/android/widget/TextView.java +6 −6 Original line number Diff line number Diff line Loading @@ -12268,13 +12268,13 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener } /** * Returns the current {@link TextDirectionHeuristic}. * * @return the current {@link TextDirectionHeuristic}. * @hide * Returns resolved {@link TextDirectionHeuristic} that will be used for text layout. * The {@link TextDirectionHeuristic} that is used by TextView is only available after * {@link #getTextDirection()} and {@link #getLayoutDirection()} is resolved. Therefore the * return value may not be the same as the one TextView uses if the View's layout direction is * not resolved or detached from parent root view. */ @UnsupportedAppUsage protected TextDirectionHeuristic getTextDirectionHeuristic() { public TextDirectionHeuristic getTextDirectionHeuristic() { if (hasPasswordTransformationMethod()) { // passwords fields should be LTR return TextDirectionHeuristics.LTR; Loading Loading
api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -55492,6 +55492,7 @@ package android.widget { method public java.lang.CharSequence getText(); method public android.view.textclassifier.TextClassifier getTextClassifier(); method public final android.content.res.ColorStateList getTextColors(); method public android.text.TextDirectionHeuristic getTextDirectionHeuristic(); method public java.util.Locale getTextLocale(); method public android.os.LocaleList getTextLocales(); method public android.text.PrecomputedText.Params getTextMetricsParams();
core/java/android/widget/TextView.java +6 −6 Original line number Diff line number Diff line Loading @@ -12268,13 +12268,13 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener } /** * Returns the current {@link TextDirectionHeuristic}. * * @return the current {@link TextDirectionHeuristic}. * @hide * Returns resolved {@link TextDirectionHeuristic} that will be used for text layout. * The {@link TextDirectionHeuristic} that is used by TextView is only available after * {@link #getTextDirection()} and {@link #getLayoutDirection()} is resolved. Therefore the * return value may not be the same as the one TextView uses if the View's layout direction is * not resolved or detached from parent root view. */ @UnsupportedAppUsage protected TextDirectionHeuristic getTextDirectionHeuristic() { public TextDirectionHeuristic getTextDirectionHeuristic() { if (hasPasswordTransformationMethod()) { // passwords fields should be LTR return TextDirectionHeuristics.LTR; Loading