Home
last modified time | relevance | path

Searched refs:mCompatEnabled (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/samples/SupportEmojiDemos/src/main/java/com/example/android/support/text/emoji/
DConfig.java45 private boolean mCompatEnabled; field in Config
58 mCompatEnabled = mSharedPref.getBoolean(KEY_ENABLED, false); in init()
82 mCompatEnabled = compatEnabled; in update()
86 mSharedPref.edit().putBoolean(KEY_ENABLED, mCompatEnabled).apply(); in update()
98 if (mCompatEnabled) { in resetEmojiCompat()
138 return mCompatEnabled; in isCompatEnabled()
142 return mCompatEnabled && mReplaceAll; in isReplaceAll()
146 return mCompatEnabled && mDownloadable; in isDownloadable()
150 return mCompatEnabled && mIndicator; in isIndicator()
/frameworks/base/services/core/java/com/android/server/am/
DCompatModeDialog.java35 final Switch mCompatEnabled; field in CompatModeDialog
51 mCompatEnabled = (Switch)findViewById(com.android.internal.R.id.compat_checkbox); in CompatModeDialog()
52 mCompatEnabled.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { in CompatModeDialog()
58 mCompatEnabled.isChecked() ? ActivityManager.COMPAT_MODE_ENABLED in CompatModeDialog()
83 mCompatEnabled.setChecked(mode == ActivityManager.COMPAT_MODE_ENABLED); in updateControls()