org.robolectric.shadows.ShadowAndroidBidi Maven / Gradle / Ivy
package org.robolectric.shadows;
import android.text.Layout;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;
/**
* Shadow for {@code android.text.AndroidBidi}.
*/
@Implements(className = "android.text.AndroidBidi")
public class ShadowAndroidBidi {
@Implementation
public static int bidi(int dir, char[] chs, byte[] chInfo, int n, boolean haveInfo) {
// sorry, arabic, hebrew, syriac, n'ko, imperial aramaic, and old turks!
return Layout.DIR_LEFT_TO_RIGHT;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy