/packages/apps/Car/SystemUI/src/com/android/systemui/car/window/ |
D | OverlayPanelViewController.java | 316 Rect rect = getLayout().getClipBounds(); 339 ViewTreeObserver panelTreeObserver = getLayout().getViewTreeObserver(); 344 ViewTreeObserver obs = getLayout().getViewTreeObserver(); 358 return isOverlayFromTopBar() ? 0 : getLayout().getHeight(); 368 ? getLayout().getHeight() 406 getLayout().setClipBounds(null); in resetPanelVisibility() 451 getLayout().setVisibility(visible ? View.VISIBLE : View.INVISIBLE); in onPanelVisible() 493 if (getLayout().getHeight() > 0) { in calculatePercentageFromEndingEdge() 496 Math.abs(height / getLayout().getHeight() * 100)); in calculatePercentageFromEndingEdge() 509 return isOverlayFromTopBar() ? y : getLayout().getHeight() - y; in getVisiblePanelHeight() [all …]
|
/packages/apps/Settings/src/com/android/settings/biometrics/ |
D | BiometricEnrollBase.java | 256 protected GlifLayout getLayout() { in getLayout() method in BiometricEnrollBase 261 TextView layoutTitle = getLayout().getHeaderTextView(); in setHeaderText() 268 getLayout().setHeaderText(title); in setHeaderText() 269 getLayout().getHeaderTextView().setContentDescription(title); in setHeaderText() 276 getLayout().getHeaderTextView().setContentDescription(getText(resId)); in setHeaderText() 280 getLayout().setHeaderText(title); in setHeaderText() 281 getLayout().getHeaderTextView().setContentDescription(title); in setHeaderText() 285 CharSequence previousDescription = getLayout().getDescriptionText(); in setDescriptionText() 289 getLayout().setDescriptionText(resId); in setDescriptionText() 294 getLayout().setDescriptionText(descriptionText); in setDescriptionText()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userswitcher/ |
D | FullScreenUserSwitcherViewController.java | 95 if (getLayout() == null) return; in onConfigChanged() 96 UserSwitcherContainer container = getLayout().findViewById( in onConfigChanged() 126 getLayout().setVisibility(View.VISIBLE); in showInternal() 137 UserSwitcherContainer container = getLayout().findViewById(R.id.user_switcher_container); in initializeViews() 143 if (event.getAction() == KeyEvent.ACTION_UP && getLayout().isVisibleToUser()) { in initializeViews() 149 mUserGridView = getLayout().findViewById(R.id.user_grid); in initializeViews() 166 getLayout().setVisibility(View.GONE); in fadeOut()
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/window/ |
D | OverlayPanelViewControllerTest.java | 203 mOverlayPanelViewController.getLayout().setClipBounds( in animateCollapsePanel_withOverlayFromTopBar_collapsesTowardsTopBar() 228 mOverlayPanelViewController.getLayout().setClipBounds( in animateCollapsePanel_withOverlayFromBottomBar_collapsesTowardsBottomBar() 243 mOverlayPanelViewController.getLayout().getHeight()); in animateCollapsePanel_withOverlayFromBottomBar_collapsesTowardsBottomBar() 288 mOverlayPanelViewController.getLayout().setClipBounds( in animateExpandPanel_withOverlayFromTopBar_expandsToBottom() 301 mOverlayPanelViewController.getLayout().getHeight()); in animateExpandPanel_withOverlayFromTopBar_expandsToBottom() 310 mOverlayPanelViewController.getLayout().setClipBounds( in animateExpandPanel_withOverlayFromBottomBar_expandsToTop() 360 mOverlayPanelViewController.getLayout().setVisibility(View.INVISIBLE); in setPanelVisible_setTrue_setLayoutVisible() 364 assertThat(mOverlayPanelViewController.getLayout().getVisibility()).isEqualTo(View.VISIBLE); in setPanelVisible_setTrue_setLayoutVisible() 390 mOverlayPanelViewController.getLayout().setVisibility(View.VISIBLE); in setPanelVisible_setFalse_setLayoutInvisible() 394 assertThat(mOverlayPanelViewController.getLayout().getVisibility()).isEqualTo( in setPanelVisible_setFalse_setLayoutInvisible() [all …]
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/ |
D | HvacPanelOverlayViewController.java | 81 View closeButton = getLayout().findViewById(R.id.hvac_panel_close_button); in onFinishInflate() 86 mHvacPanelView = getLayout().findViewById(R.id.hvac_panel); in onFinishInflate() 194 ((float) (mAnimateDirection > 0 ? y : getLayout().getHeight() - y)) in onScroll() 195 / getLayout().getHeight(); in onScroll() 213 if (getLayout() == null) return; in onConfigChanged() 214 mHvacPanelView = getLayout().findViewById(R.id.hvac_panel); in onConfigChanged()
|
/packages/apps/Dialer/java/com/android/dialer/about/ |
D | LicenseActivity.java | 57 int firstVisibleLine = textView.getLayout().getLineForVertical(scrollView.getScrollY()); in onSaveInstanceState() 58 int firstVisibleChar = textView.getLayout().getLineStart(firstVisibleLine); in onSaveInstanceState() 72 int firstVisibleLine = textView.getLayout().getLineForOffset(firstVisibleChar); in onRestoreInstanceState() 73 int offset = textView.getLayout().getLineTop(firstVisibleLine); in onRestoreInstanceState()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/ |
D | ArmenianPhonetic.java | 184 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() method in ArmenianPhonetic.ArmenianSymbols 186 super.getLayout(isPhone)); in getLayout() 203 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() method in ArmenianPhonetic.ArmenianSymbolsShifted 205 super.getLayout(isPhone)); in getLayout()
|
D | Arabic.java | 264 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() method in Arabic.ArabicSymbols 265 return new ExpectedKeyboardBuilder(super.getLayout(isPhone)) in getLayout() 339 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() method in Arabic.ArabicSymbolsShifted 340 return new ExpectedKeyboardBuilder(super.getLayout(isPhone)) in getLayout()
|
D | Farsi.java | 251 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() method in Farsi.FarsiSymbols 252 return new ExpectedKeyboardBuilder(super.getLayout(isPhone)) in getLayout() 340 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() method in Farsi.FarsiSymbolsShifted 341 return new ExpectedKeyboardBuilder(super.getLayout(isPhone)) in getLayout()
|
D | SymbolsShifted.java | 34 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() method in SymbolsShifted 140 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() method in SymbolsShifted.RtlSymbolsShifted 141 return new ExpectedKeyboardBuilder(super.getLayout(isPhone)) in getLayout()
|
D | LayoutBase.java | 138 public ExpectedKey[][] getLayout(final boolean isPhone, final int elementId) { in getLayout() method in LayoutBase 140 return mSymbols.getLayout(isPhone); in getLayout() 143 return mSymbolsShifted.getLayout(isPhone); in getLayout()
|
D | Symbols.java | 34 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() method in Symbols 196 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() method in Symbols.RtlSymbols 197 return new ExpectedKeyboardBuilder(super.getLayout(isPhone)) in getLayout()
|
D | Dvorak.java | 85 public ExpectedKey[][] getLayout(final boolean isPhone, final int elementId) { in getLayout() method in Dvorak 88 return super.getLayout(isPhone, elementId); in getLayout()
|
D | Hebrew.java | 176 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() method in Hebrew.HebrewSymbols 177 return new ExpectedKeyboardBuilder(super.getLayout(isPhone)) in getLayout()
|
D | Hindi.java | 290 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() method in Hindi.HindiSymbols 291 return new ExpectedKeyboardBuilder(super.getLayout(isPhone)) in getLayout()
|
D | PcQwerty.java | 143 public ExpectedKey[][] getLayout(final boolean isPhone, final int elementId) { in getLayout() method in PcQwerty 148 return super.getLayout(isPhone, elementId); in getLayout()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/ |
D | LayoutTestsBase.java | 51 mLayout = getLayout(); in setUp() 115 abstract LayoutBase getLayout(); in getLayout() method in LayoutTestsBase 135 final ExpectedKey[][] expectedKeyboard = mLayout.getLayout(isPhone(), elementId); in doKeyboardTests()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintEnrollEnrollingTest.java | 145 assertThat(getLayout().getDescriptionText()).isNotEqualTo(""); in fingerprintUdfpsEnrollInitStage_afterOnEnrollmentHelp_shouldVibrate() 561 assertThat(getLayout().getDescriptionTextView().getVisibility()).isEqualTo(View.GONE); in fingerprintSfpsEnroll_descriptionTextVisibility() 570 assertThat(getLayout().getDescriptionTextView().getVisibility()).isEqualTo(View.VISIBLE); in fingerprintUdfpsEnroll_descriptionTextVisibility() 577 assertThat(getLayout().getDescriptionText()).isNotEqualTo(""); in testUdfpsConfigureEnrollmentStage_descriptionText() 581 assertThat(getLayout().getDescriptionText()).isEqualTo(""); in testUdfpsConfigureEnrollmentStage_descriptionText() 588 assertThat(getLayout().getDescriptionTextView().getVisibility()).isEqualTo(View.GONE); in testSfpsConfigureEnrollmentStage_descriptionText() 592 assertThat(getLayout().getDescriptionTextView().getVisibility()).isEqualTo(View.GONE); in testSfpsConfigureEnrollmentStage_descriptionText() 595 private GlifLayout getLayout() { in getLayout() method in FingerprintEnrollEnrollingTest
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | MessagePageFrameLayout.java | 77 guidanceTextContainerTop -= mStatusView.getLayout().getLineBaseline(1); in onLayout() 79 guidanceTextContainerTop -= mStatusView.getLayout().getLineBaseline(0); in onLayout()
|
D | GuidanceRelativeLayout.java | 77 guidanceTextContainerTop -= titleView.getLayout().getLineBaseline(1); in onLayout() 79 guidanceTextContainerTop -= titleView.getLayout().getLineBaseline(0); in onLayout()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/keyguard/ |
D | CarKeyguardViewController.java | 106 LockPatternView patternView = getLayout().findViewById(R.id.lockPatternView); 214 mKeyguardContainer = getLayout().findViewById(R.id.keyguard_container); in onFinishInflate() 386 if (getLayout() == null) return null; in getViewRootImpl() 387 return ((View) getLayout().getParent()).getViewRootImpl(); in getViewRootImpl() 459 getLayout().setVisibility(View.INVISIBLE); in hideKeyguardToPrepareBouncer()
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintEnrollEnrolling.java | 285 mFooterBarMixin = getLayout().getMixin(FooterBarMixin.class); in onCreate() 298 ((UdfpsEnrollEnrollingView) getLayout()).setSecondaryButtonBackground( in onCreate() 593 getLayout().setHeaderText( in updateTitleAndDescriptionForUdfps() 598 getLayout().getHeaderTextView().setContentDescription(description); in updateTitleAndDescriptionForUdfps() 613 getLayout().getDescriptionTextView().setAccessibilityLiveRegion( in updateTitleAndDescriptionForSfps() 678 getLayout().setHeaderText( in updateTitleAndDescriptionForSfps() 682 getLayout().getHeaderTextView().setContentDescription(description); in updateTitleAndDescriptionForSfps() 1157 final HeaderMixin headerMixin = getLayout().getMixin(HeaderMixin.class); in maybeHideSfpsText() 1158 final DescriptionMixin descriptionMixin = getLayout().getMixin(DescriptionMixin.class); in maybeHideSfpsText()
|
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/hvac/ |
D | AutoDismissHvacPanelOverlayViewController.java | 96 mOpenAnimator.setTarget(getLayout()); in onFinishInflate() 99 mCloseAnimator.setTarget(getLayout()); in onFinishInflate()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/notification/ |
D | NotificationPanelViewController.java | 316 ViewGroup container = (ViewGroup) getLayout(); in reinflate() 340 mNotificationView = getLayout().findViewById(R.id.notification_view); in onNotificationViewInflated() 445 Rect rect = getLayout().getClipBounds(); in setupNotificationPanel() 453 } else if (clippedHeight != getLayout().getHeight() && isTracking) { in setupNotificationPanel()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ |
D | MessageTest.java | 158 assertThat(mInflateMessage.getLayout()) in testInflateMessage_updateToCrossProfileNoPermission() 188 assertThat(mInflateMessage.getLayout()) in testInflateMessage_updateToCrossProfileQuietMode() 226 assertThat(mInflateMessage.getLayout()) in testInflateMessage_updateToCrossProfileQuietMode_PostV()
|