Home | History | Annotate | Download | only in display

Lines Matching refs:mContext

47     private Context mContext;
53 mContext = RuntimeEnvironment.application;
54 mPreference = new LayoutPreference(mContext, R.layout.night_display_activation_button);
56 mController = new NightDisplayActivationPreferenceController(mContext,
78 new NightDisplayActivationPreferenceController(mContext,"night_display_activated");
85 new NightDisplayActivationPreferenceController(mContext, "bad_key");
91 Secure.putInt(mContext.getContentResolver(), Secure.NIGHT_DISPLAY_ACTIVATED, 0);
97 assertThat(Secure.getInt(mContext.getContentResolver(), Secure.NIGHT_DISPLAY_ACTIVATED, -1))
103 Secure.putInt(mContext.getContentResolver(), Secure.NIGHT_DISPLAY_ACTIVATED, 1);
109 assertThat(Secure.getInt(mContext.getContentResolver(), Secure.NIGHT_DISPLAY_ACTIVATED, -1))