Home
last modified time | relevance | path

Searched refs:mContentView (Results 1 – 25 of 33) sorted by relevance

12

/packages/apps/DeskClock/src/com/android/deskclock/
DScreensaver.java47 private View mContentView; field in Screensaver
57 Utils.refreshAlarm(Screensaver.this, mContentView);
65 Utils.updateDate(mDateFormat, mDateFormatForAccessibility, mContentView);
75 Utils.refreshAlarm(Screensaver.this, mContentView);
97 mContentView = findViewById(R.id.saver_container); in onAttachedToWindow()
98 mMainClockView = mContentView.findViewById(R.id.main_clock); in onAttachedToWindow()
103 Utils.setClockIconTypeface(mContentView); in onAttachedToWindow()
107 mContentView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFILE in onAttachedToWindow()
113 mPositionUpdater = new MoveScreensaverRunnable(mContentView, mMainClockView); in onAttachedToWindow()
131 Utils.updateDate(mDateFormat, mDateFormatForAccessibility, mContentView); in onAttachedToWindow()
[all …]
DScreensaverActivity.java69 Utils.refreshAlarm(ScreensaverActivity.this, mContentView);
80 Utils.refreshAlarm(ScreensaverActivity.this, mContentView);
89 Utils.updateDate(mDateFormat, mDateFormatForAccessibility, mContentView);
96 private View mContentView; field in ScreensaverActivity
109 mContentView = findViewById(R.id.saver_container); in onCreate()
110 mMainClockView = mContentView.findViewById(R.id.main_clock); in onCreate()
122 mContentView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFILE in onCreate()
127 mContentView.setOnSystemUiVisibilityChangeListener(new InteractionListener()); in onCreate()
129 mPositionUpdater = new MoveScreensaverRunnable(mContentView, mMainClockView); in onCreate()
162 Utils.updateDate(mDateFormat, mDateFormatForAccessibility, mContentView); in onResume()
[all …]
DMoveScreensaverRunnable.java50 private final View mContentView; field in MoveScreensaverRunnable
63 mContentView = contentView; in MoveScreensaverRunnable()
107 final int smallestDim = Math.min(mContentView.getWidth(), mContentView.getHeight()); in run()
119 final float newX = getRandomPoint(mContentView.getWidth() - mSaverView.getWidth()); in run()
120 final float newY = getRandomPoint(mContentView.getHeight() - mSaverView.getHeight()); in run()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DMasterClear.java99 private View mContentView; field in MasterClear
289 mExternalStorageContainer = mContentView.findViewById(R.id.erase_external_container); in establishInitialState()
290 mExternalStorage = mContentView.findViewById(R.id.erase_external); in establishInitialState()
291 mEsimStorageContainer = mContentView.findViewById(R.id.erase_esim_container); in establishInitialState()
292 mEsimStorage = mContentView.findViewById(R.id.erase_esim); in establishInitialState()
296 mScrollView = mContentView.findViewById(R.id.master_clear_scrollview); in establishInitialState()
310 final View externalOption = mContentView.findViewById(R.id.erase_external_option_text); in establishInitialState()
313 final View externalAlsoErased = mContentView.findViewById(R.id.also_erases_external); in establishInitialState()
339 final View esimAlsoErased = mContentView.findViewById(R.id.also_erases_esim); in establishInitialState()
342 final View noCancelMobilePlan = mContentView.findViewById( in establishInitialState()
[all …]
DResetNetwork.java76 private View mContentView; field in ResetNetwork
163 mSubscriptionSpinner = (Spinner) mContentView.findViewById(R.id.reset_network_subscription); in establishInitialState()
164 mEsimContainer = mContentView.findViewById(R.id.erase_esim_container); in establishInitialState()
165 mEsimCheckbox = mContentView.findViewById(R.id.erase_esim); in establishInitialState()
216 mInitiateButton = (Button) mContentView.findViewById(R.id.initiate_reset_network); in establishInitialState()
259 mContentView = inflater.inflate(R.layout.reset_network, null); in onCreateView()
262 return mContentView; in onCreateView()
DMasterClearConfirm.java67 @VisibleForTesting View mContentView; field in MasterClearConfirm
157 final GlifLayout layout = mContentView.findViewById(R.id.setup_wizard_layout); in establishFinalConfirmationState()
200 mContentView = inflater.inflate(R.layout.master_clear_confirm, null); in onCreateView()
205 return mContentView; in onCreateView()
210 TextView confirmationMessage = mContentView.findViewById(R.id.master_clear_confirm); in setAccessibilityTitle()
221 ((TextView) mContentView.findViewById(R.id.master_clear_confirm)) in setSubtitle()
DResetNetworkConfirm.java68 @VisibleForTesting View mContentView; field in ResetNetworkConfirm
207 mContentView.findViewById(R.id.execute_reset_network) in establishFinalConfirmationState()
214 ((TextView) mContentView.findViewById(R.id.reset_network_confirm)) in setSubtitle()
234 mContentView = inflater.inflate(R.layout.reset_network_confirm, null); in onCreateView()
237 return mContentView; in onCreateView()
DCryptKeeperConfirm.java105 private View mContentView; field in CryptKeeperConfirm
159 mFinalButton = (Button) mContentView.findViewById(R.id.execute_encrypt); in establishFinalConfirmationState()
172 mContentView = inflater.inflate(R.layout.crypt_keeper_confirm, null); in onCreateView()
174 return mContentView; in onCreateView()
/packages/apps/Settings/src/com/android/settings/
DMasterClear.java100 private View mContentView; field in MasterClear
289 mExternalStorageContainer = mContentView.findViewById(R.id.erase_external_container); in establishInitialState()
290 mExternalStorage = mContentView.findViewById(R.id.erase_external); in establishInitialState()
291 mEsimStorageContainer = mContentView.findViewById(R.id.erase_esim_container); in establishInitialState()
292 mEsimStorage = mContentView.findViewById(R.id.erase_esim); in establishInitialState()
296 mScrollView = mContentView.findViewById(R.id.master_clear_scrollview); in establishInitialState()
310 final View externalOption = mContentView.findViewById(R.id.erase_external_option_text); in establishInitialState()
313 final View externalAlsoErased = mContentView.findViewById(R.id.also_erases_external); in establishInitialState()
339 final View esimAlsoErased = mContentView.findViewById(R.id.also_erases_esim); in establishInitialState()
342 final View noCancelMobilePlan = mContentView.findViewById( in establishInitialState()
[all …]
DResetNetwork.java75 private View mContentView; field in ResetNetwork
163 mSubscriptionSpinner = (Spinner) mContentView.findViewById(R.id.reset_network_subscription); in establishInitialState()
164 mEsimContainer = mContentView.findViewById(R.id.erase_esim_container); in establishInitialState()
165 mEsimCheckbox = mContentView.findViewById(R.id.erase_esim); in establishInitialState()
216 mInitiateButton = (Button) mContentView.findViewById(R.id.initiate_reset_network); in establishInitialState()
259 mContentView = inflater.inflate(R.layout.reset_network, null); in onCreateView()
262 return mContentView; in onCreateView()
DMasterClearConfirm.java67 @VisibleForTesting View mContentView; field in MasterClearConfirm
157 final GlifLayout layout = mContentView.findViewById(R.id.setup_wizard_layout); in establishFinalConfirmationState()
200 mContentView = inflater.inflate(R.layout.master_clear_confirm, null); in onCreateView()
205 return mContentView; in onCreateView()
210 TextView confirmationMessage = mContentView.findViewById(R.id.sud_layout_description); in setAccessibilityTitle()
221 ((TextView) mContentView.findViewById(R.id.sud_layout_description)) in setSubtitle()
DResetNetworkConfirm.java67 @VisibleForTesting View mContentView; field in ResetNetworkConfirm
213 mContentView.findViewById(R.id.execute_reset_network) in establishFinalConfirmationState()
220 ((TextView) mContentView.findViewById(R.id.reset_network_confirm)) in setSubtitle()
240 mContentView = inflater.inflate(R.layout.reset_network_confirm, null); in onCreateView()
243 return mContentView; in onCreateView()
DCryptKeeperConfirm.java105 private View mContentView; field in CryptKeeperConfirm
159 mFinalButton = (Button) mContentView.findViewById(R.id.execute_encrypt); in establishFinalConfirmationState()
172 mContentView = inflater.inflate(R.layout.crypt_keeper_confirm, null); in onCreateView()
174 return mContentView; in onCreateView()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DMasterClearTest.java100 private View mContentView; field in MasterClearTest
111 mContentView = LayoutInflater.from(mActivity).inflate(R.layout.master_clear, null); in setUp()
128 mMasterClear.mEsimStorage = mContentView.findViewById(R.id.erase_esim); in testShowFinalConfirmation_eraseEsimVisible_eraseEsimChecked()
129 mMasterClear.mExternalStorage = mContentView.findViewById(R.id.erase_external); in testShowFinalConfirmation_eraseEsimVisible_eraseEsimChecked()
130 mMasterClear.mEsimStorageContainer = mContentView.findViewById(R.id.erase_esim_container); in testShowFinalConfirmation_eraseEsimVisible_eraseEsimChecked()
148 mMasterClear.mEsimStorage = mContentView.findViewById(R.id.erase_esim); in testShowFinalConfirmation_eraseEsimVisible_eraseEsimUnchecked()
149 mMasterClear.mExternalStorage = mContentView.findViewById(R.id.erase_external); in testShowFinalConfirmation_eraseEsimVisible_eraseEsimUnchecked()
150 mMasterClear.mEsimStorageContainer = mContentView.findViewById(R.id.erase_esim_container); in testShowFinalConfirmation_eraseEsimVisible_eraseEsimUnchecked()
167 mMasterClear.mEsimStorage = mContentView.findViewById(R.id.erase_esim); in testShowFinalConfirmation_eraseEsimGone_eraseEsimChecked()
168 mMasterClear.mExternalStorage = mContentView.findViewById(R.id.erase_external); in testShowFinalConfirmation_eraseEsimGone_eraseEsimChecked()
[all …]
DMasterClearConfirmTest.java44 masterClearConfirm.mContentView = in setSubtitle_eraseEsim()
49 assertThat(((TextView) masterClearConfirm.mContentView in setSubtitle_eraseEsim()
58 masterClearConfirm.mContentView = in setSubtitle_notEraseEsim()
63 assertThat(((TextView) masterClearConfirm.mContentView in setSubtitle_notEraseEsim()
DResetNetworkConfirmTest.java100 mResetNetworkConfirm.mContentView = in setSubtitle_eraseEsim()
105 assertThat(((TextView) mResetNetworkConfirm.mContentView in setSubtitle_eraseEsim()
113 mResetNetworkConfirm.mContentView = in setSubtitle_notEraseEsim()
118 assertThat(((TextView) mResetNetworkConfirm.mContentView in setSubtitle_notEraseEsim()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLRootView.java83 private GLView mContentView; field in GLRootView
158 if (mContentView == content) return; in setContentPane()
159 if (mContentView != null) { in setContentPane()
164 mContentView.dispatchTouchEvent(cancelEvent); in setContentPane()
168 mContentView.detachFromRoot(); in setContentPane()
171 mContentView = content; in setContentPane()
214 if (mContentView == null || (mFlags & FLAG_NEED_LAYOUT) != 0) return; in requestLayoutContentPane()
266 if (mContentView != null && w != 0 && h != 0) { in layoutContentPane()
267 mContentView.layout(0, 0, w, h); in layoutContentPane()
410 if (mContentView != null) { in onDrawFrameLocked()
[all …]
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationBodyView.java48 private TextView mContentView; field in CarNotificationBodyView
92 mContentView = findViewById(R.id.notification_body_content); in onFinishInflate()
110 mContentView.setVisibility(View.VISIBLE); in bind()
111 mContentView.setText(content); in bind()
126 mContentView.setVisibility(View.VISIBLE); in bindTitleAndMessage()
127 mContentView.setText(content); in bindTitleAndMessage()
136 mContentView.setTextColor(color); in setSecondaryTextColor()
152 mContentView.setVisibility(View.GONE); in reset()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmActivity.kt116 private lateinit var mContentView: ViewGroup variable in com.android.deskclock.alarms.AlarmActivity
177 mContentView = findViewById(R.id.content) as ViewGroup in onCreate()
178 mAlarmButton = mContentView.findViewById(R.id.alarm) as ImageView in onCreate()
179 mSnoozeButton = mContentView.findViewById(R.id.snooze) as ImageView in onCreate()
180 mDismissButton = mContentView.findViewById(R.id.dismiss) as ImageView in onCreate()
181 mHintView = mContentView.findViewById(R.id.hint) as TextView in onCreate()
183 val titleView: TextView = mContentView.findViewById(R.id.title) as TextView in onCreate()
184 val digitalClock: TextClock = mContentView.findViewById(R.id.digital_clock) as TextClock in onCreate()
185 val pulseView = mContentView.findViewById(R.id.pulse) as CircleView in onCreate()
347 mContentView.getLocationOnScreen(contentLocation) in onTouch()
[all …]
DAlarmActivity.java142 private ViewGroup mContentView; field in AlarmActivity
203 mContentView = (ViewGroup) findViewById(R.id.content); in onCreate()
204 mAlarmButton = (ImageView) mContentView.findViewById(R.id.alarm); in onCreate()
205 mSnoozeButton = (ImageView) mContentView.findViewById(R.id.snooze); in onCreate()
206 mDismissButton = (ImageView) mContentView.findViewById(R.id.dismiss); in onCreate()
207 mHintView = (TextView) mContentView.findViewById(R.id.hint); in onCreate()
209 final TextView titleView = (TextView) mContentView.findViewById(R.id.title); in onCreate()
210 final TextClock digitalClock = (TextClock) mContentView.findViewById(R.id.digital_clock); in onCreate()
211 final CircleView pulseView = (CircleView) mContentView.findViewById(R.id.pulse); in onCreate()
380 mContentView.getLocationOnScreen(contentLocation); in onTouch()
[all …]
/packages/apps/TV/src/com/android/tv/ui/
DTvViewUiManager.java66 private final FrameLayout mContentView; field in TvViewUiManager
136 mContentView = contentView; in TvViewUiManager()
224 int viewWidth = mContentView.getWidth(); in isDisplayModeAvailable()
225 int viewHeight = mContentView.getHeight(); in isDisplayModeAvailable()
328 int decorViewWidth = mContentView.getWidth(); in setBackgroundColor()
329 int decorViewHeight = mContentView.getHeight(); in setBackgroundColor()
340 mContentView.setBackgroundColor(color); in setBackgroundColor()
350 mContentView.setBackgroundColor(color); in setBackgroundColor()
486 mBackgroundAnimator.setTarget(mContentView); in initBackgroundAnimatorIfNeeded()
494 mHandler.post(() -> mContentView.setBackgroundColor(mBackgroundColor)); in initBackgroundAnimatorIfNeeded()
/packages/apps/Settings/src/com/android/settings/security/
DCryptKeeperSettings.java58 private View mContentView; field in CryptKeeperSettings
109 mContentView = inflater.inflate(R.layout.crypt_keeper_settings, null); in onCreateView()
114 mInitiateButton = (Button) mContentView.findViewById(R.id.initiate_encrypt); in onCreateView()
118 mPowerWarning = mContentView.findViewById(R.id.warning_unplugged); in onCreateView()
119 mBatteryWarning = mContentView.findViewById(R.id.warning_low_charge); in onCreateView()
121 return mContentView; in onCreateView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/
DCryptKeeperSettings.java58 private View mContentView; field in CryptKeeperSettings
109 mContentView = inflater.inflate(R.layout.crypt_keeper_settings, null); in onCreateView()
114 mInitiateButton = (Button) mContentView.findViewById(R.id.initiate_encrypt); in onCreateView()
118 mPowerWarning = mContentView.findViewById(R.id.warning_unplugged); in onCreateView()
119 mBatteryWarning = mContentView.findViewById(R.id.warning_low_charge); in onCreateView()
121 return mContentView; in onCreateView()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DLoadingViewControllerTest.java42 private View mContentView; field in LoadingViewControllerTest
50 mContentView = new View(mContext); in setUp()
52 mController = new LoadingViewController(mLoadingView, mContentView); in setUp()
59 assertThat(mContentView.getVisibility()).isEqualTo(View.VISIBLE); in showContent_shouldSetContentVisible()
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DEmptyViewController.kt36 private val mContentView: View, constant in com.android.deskclock.widget.EmptyViewController
46 .addTarget(mContentView)
71 mContentView.visibility = if (mIsEmpty) View.GONE else View.VISIBLE in setEmpty()

12