Searched refs:mCompatEnabled (Results 1 – 2 of 2) sorted by relevance
45 private boolean mCompatEnabled; field in Config58 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()
35 final Switch mCompatEnabled; field in CompatModeDialog51 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()