File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
lib/java/com/google/android/material/appbar Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -1292,6 +1292,24 @@ public int getHyphenationFrequency() {
12921292 return collapsingTextHelper .getHyphenationFrequency ();
12931293 }
12941294
1295+ /**
1296+ * Sets whether {@code TextDirectionHeuristics} should be used to determine whether the title text
1297+ * is RTL. Experimental Feature.
1298+ */
1299+ @ RestrictTo (LIBRARY_GROUP )
1300+ public void setRtlTextDirectionHeuristicsEnabled (boolean rtlTextDirectionHeuristicsEnabled ) {
1301+ collapsingTextHelper .setRtlTextDirectionHeuristicsEnabled (rtlTextDirectionHeuristicsEnabled );
1302+ }
1303+
1304+ /**
1305+ * Gets whether {@code TextDirectionHeuristics} should be used to determine whether the title text
1306+ * is RTL. Experimental Feature.
1307+ */
1308+ @ RestrictTo (LIBRARY_GROUP )
1309+ public boolean isRtlTextDirectionHeuristicsEnabled () {
1310+ return collapsingTextHelper .isRtlTextDirectionHeuristicsEnabled ();
1311+ }
1312+
12951313 /**
12961314 * Set the amount of visible height in pixels used to define when to trigger a scrim visibility
12971315 * change.
You can’t perform that action at this time.
0 commit comments