Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3fae6edd authored by Chris Soyars's avatar Chris Soyars
Browse files

Fix build, add missing @hide javadocs for RTL/soft button stuff

Change-Id: Id2df1da943e62da317469906bb751f6f1b860baf
parent 34bb9ff9
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -21,6 +21,10 @@ import android.view.KeyEvent;

import com.android.internal.R;

/**
 * CmSystem
 * @hide
 */
public final class CmSystem {
    // explaination of each default value in detail at
    // frameworks/base/core/res/res/value/config.xml
+32 −2
Original line number Diff line number Diff line
@@ -2164,13 +2164,33 @@ public final class Settings {
        public static final String STATUS_BAR_DEAD_ZONE = "status_bar_dead_zone";

        /**
         * 4 options which decide, which soft-buttons to show.
         * Whether or not home is displayed in soft buttons.
         * @hide
         */
        public static final String SOFT_BUTTON_SHOW_HOME = "soft_button_show_home";

        /**
         * Whether or not menu is displayed in soft buttons.
         * @hide
         */
        public static final String SOFT_BUTTON_SHOW_MENU = "soft_button_show_menu";

        /**
         * Whether or not back is displayed in soft buttons.
         * @hide
         */
        public static final String SOFT_BUTTON_SHOW_BACK = "soft_button_show_back";

        /**
         * Whether or not search is displayed in soft buttons.
         * @hide
         */
        public static final String SOFT_BUTTON_SHOW_SEARCH = "soft_button_show_search";

        /**
         * Whether or not QUICK_NA is displayed in soft buttons.
         * @hide
         */
        public static final String SOFT_BUTTON_SHOW_QUICK_NA = "soft_button_show_quick_na";

        /**
@@ -2218,11 +2238,21 @@ public final class Settings {
        public static final String EXTEND_PM = "extend_pm";

        /**
         * 3 options which decide, which contents extended power menu should include
         * Whether or not home is displayed in the extended power menu.
         * @hide
         */
        public static final String EXTEND_PM_SHOW_HOME = "extend_pm_show_home";

        /**
         * Whether or not menu is displayed in the extended power menu.
         * @hide
         */
        public static final String EXTEND_PM_SHOW_MENU = "extend_pm_show_menu";

        /**
         * Whether or not back is displayed in the extended power menu.
         * @hide
         */
        public static final String EXTEND_PM_SHOW_BACK = "extend_pm_show_back";

        /**
+10 −2
Original line number Diff line number Diff line
@@ -1685,7 +1685,9 @@ public class TextUtils {
        return false;
    }


    /**
     * @hide
     */
    public static boolean isRTLCharacter(char c) {
        //range of RTL characters per unicode specification
        return (c >= 0x0590 && c <= 0x05FF) ||
@@ -1697,6 +1699,7 @@ public class TextUtils {

    /**
     * function to check if text range has RTL characters.
     * @hide
     */
    public static boolean hasRTLCharacters(final char[] text, int start, int end) {
        if (text == null)
@@ -1713,6 +1716,7 @@ public class TextUtils {

    /**
     * function to check if text range has RTL characters.
     * @hide
     */
    public static boolean hasRTLCharacters(CharSequence text, int start, int end) {
        if (text == null)
@@ -1731,6 +1735,7 @@ public class TextUtils {
     * function to process bidi on the given text
     * @param src
     * @return String
     * @hide
     */
    public static String processBidi (final String src) {
        return (TextUtils.processBidi(src, 0, src.length()));
@@ -1740,6 +1745,7 @@ public class TextUtils {
     * function to process bidi the given text
     * @param src
     * @return char[]
     * @hide
     */
    public static char[] processBidi (final char[] src) {

@@ -1752,6 +1758,7 @@ public class TextUtils {
     * @param begin
     * @param end
     * @return String
     * @hide
     */
    public static String processBidi (final String src, int start, int end) {

@@ -1761,12 +1768,13 @@ public class TextUtils {
    }

    /**
     * @author: Eyad Aboulouz
     * function to process bidi on the given text
     * @author: Eyad Aboulouz
     * @param src
     * @param start
     * @param end
     * @return char[]
     * @hide
     */
    public static char[] processBidi (final char[] src, int start, int end) {

+4 −1
Original line number Diff line number Diff line
@@ -1096,6 +1096,9 @@ public abstract class Window {
     */
    public abstract int getVolumeControlStream();

    /**
     * @hide
     */
    protected int interceptFsRequest(int inFlags){
        int result=inFlags;