Home
last modified time | relevance | path

Searched refs:mContentView (Results 1 – 25 of 31) 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.java99 private View mContentView; field in MasterClear
288 mExternalStorageContainer = mContentView.findViewById(R.id.erase_external_container); in establishInitialState()
289 mExternalStorage = mContentView.findViewById(R.id.erase_external); in establishInitialState()
290 mEsimStorageContainer = mContentView.findViewById(R.id.erase_esim_container); in establishInitialState()
291 mEsimStorage = mContentView.findViewById(R.id.erase_esim); in establishInitialState()
295 mScrollView = mContentView.findViewById(R.id.master_clear_scrollview); in establishInitialState()
309 final View externalOption = mContentView.findViewById(R.id.erase_external_option_text); in establishInitialState()
312 final View externalAlsoErased = mContentView.findViewById(R.id.also_erases_external); in establishInitialState()
338 final View esimAlsoErased = mContentView.findViewById(R.id.also_erases_esim); in establishInitialState()
341 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.sud_layout_description); in setAccessibilityTitle()
221 ((TextView) mContentView.findViewById(R.id.sud_layout_description)) in setSubtitle()
DResetNetworkConfirm.java69 @VisibleForTesting View mContentView; field in ResetNetworkConfirm
216 mContentView.findViewById(R.id.execute_reset_network) in establishFinalConfirmationState()
223 ((TextView) mContentView.findViewById(R.id.reset_network_confirm)) in setSubtitle()
243 mContentView = inflater.inflate(R.layout.reset_network_confirm, null); in onCreateView()
246 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.java95 private View mContentView; field in MasterClearTest
103 mContentView = LayoutInflater.from(mActivity).inflate(R.layout.master_clear, null); in setUp()
115 mMasterClear.mEsimStorage = mContentView.findViewById(R.id.erase_esim); in testShowFinalConfirmation_eraseEsimVisible_eraseEsimChecked()
116 mMasterClear.mExternalStorage = mContentView.findViewById(R.id.erase_external); in testShowFinalConfirmation_eraseEsimVisible_eraseEsimChecked()
117 mMasterClear.mEsimStorageContainer = mContentView.findViewById(R.id.erase_esim_container); in testShowFinalConfirmation_eraseEsimVisible_eraseEsimChecked()
135 mMasterClear.mEsimStorage = mContentView.findViewById(R.id.erase_esim); in testShowFinalConfirmation_eraseEsimVisible_eraseEsimUnchecked()
136 mMasterClear.mExternalStorage = mContentView.findViewById(R.id.erase_external); in testShowFinalConfirmation_eraseEsimVisible_eraseEsimUnchecked()
137 mMasterClear.mEsimStorageContainer = mContentView.findViewById(R.id.erase_esim_container); in testShowFinalConfirmation_eraseEsimVisible_eraseEsimUnchecked()
154 mMasterClear.mEsimStorage = mContentView.findViewById(R.id.erase_esim); in testShowFinalConfirmation_eraseEsimGone_eraseEsimChecked()
155 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.java97 mResetNetworkConfirm.mContentView = in setSubtitle_eraseEsim()
102 assertThat(((TextView) mResetNetworkConfirm.mContentView in setSubtitle_eraseEsim()
110 mResetNetworkConfirm.mContentView = in setSubtitle_notEraseEsim()
115 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.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/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/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/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.java38 private final View mContentView; field in EmptyViewController
50 mContentView = contentView; in EmptyViewController()
80 mContentView.setVisibility(mIsEmpty ? View.GONE : View.VISIBLE); in setEmpty()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DLoadingViewController.java34 public final View mContentView; field in LoadingViewController
38 mContentView = contentView; in LoadingViewController()
61 handleLoadingContainer(mLoadingView, mContentView, done, animate); in handleLoadingContainer()

12