/packages/apps/Car/SystemUI/src/com/android/systemui/car/window/ |
D | OverlayPanelViewController.java | 313 Rect rect = getLayout().getClipBounds(); 336 ViewTreeObserver panelTreeObserver = getLayout().getViewTreeObserver(); 341 ViewTreeObserver obs = getLayout().getViewTreeObserver(); 355 return mAnimateDirection > 0 ? 0 : getLayout().getHeight(); 365 ? getLayout().getHeight() in getEndPosition() 403 getLayout().setClipBounds(null); in resetPanelVisibility() 448 getLayout().setVisibility(visible ? View.VISIBLE : View.INVISIBLE); in onPanelVisible() 490 if (getLayout().getHeight() > 0) { in calculatePercentageFromEndingEdge() 493 Math.abs(height / getLayout().getHeight() * 100)); in calculatePercentageFromEndingEdge() 506 return mAnimateDirection > 0 ? y : getLayout().getHeight() - y; in getVisiblePanelHeight() [all …]
|
/packages/apps/Settings/src/com/android/settings/biometrics/ |
D | BiometricEnrollBase.java | 244 protected GlifLayout getLayout() { in getLayout() method in BiometricEnrollBase 249 TextView layoutTitle = getLayout().getHeaderTextView(); in setHeaderText() 256 getLayout().setHeaderText(title); in setHeaderText() 257 getLayout().getHeaderTextView().setContentDescription(title); in setHeaderText() 264 getLayout().getHeaderTextView().setContentDescription(getText(resId)); in setHeaderText() 268 getLayout().setHeaderText(title); in setHeaderText() 269 getLayout().getHeaderTextView().setContentDescription(title); in setHeaderText() 273 CharSequence previousDescription = getLayout().getDescriptionText(); in setDescriptionText() 277 getLayout().setDescriptionText(resId); in setDescriptionText() 282 getLayout().setDescriptionText(descriptionText); in setDescriptionText()
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/window/ |
D | OverlayPanelViewControllerTest.java | 189 mOverlayPanelViewController.getLayout().setClipBounds( in animateCollapsePanel_withOverlayFromTopBar_collapsesTowardsTopBar() 214 mOverlayPanelViewController.getLayout().setClipBounds( in animateCollapsePanel_withOverlayFromBottomBar_collapsesTowardsBottomBar() 229 mOverlayPanelViewController.getLayout().getHeight()); in animateCollapsePanel_withOverlayFromBottomBar_collapsesTowardsBottomBar() 274 mOverlayPanelViewController.getLayout().setClipBounds( in animateExpandPanel_withOverlayFromTopBar_expandsToBottom() 287 mOverlayPanelViewController.getLayout().getHeight()); in animateExpandPanel_withOverlayFromTopBar_expandsToBottom() 296 mOverlayPanelViewController.getLayout().setClipBounds( in animateExpandPanel_withOverlayFromBottomBar_expandsToTop() 346 mOverlayPanelViewController.getLayout().setVisibility(View.INVISIBLE); in setPanelVisible_setTrue_setLayoutVisible() 350 assertThat(mOverlayPanelViewController.getLayout().getVisibility()).isEqualTo(View.VISIBLE); in setPanelVisible_setTrue_setLayoutVisible() 376 mOverlayPanelViewController.getLayout().setVisibility(View.VISIBLE); in setPanelVisible_setFalse_setLayoutInvisible() 380 assertThat(mOverlayPanelViewController.getLayout().getVisibility()).isEqualTo( in setPanelVisible_setFalse_setLayoutInvisible() [all …]
|
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/hvac/ |
D | AutoDismissHvacPanelOverlayViewController.java | 88 mHvacPanelView = getLayout().findViewById(R.id.hvac_panel); in onFinishInflate() 122 .ofFloat(getLayout(), "translationY", from, to); in animate() 158 View handleBar = getLayout().findViewById(handleBarViewId); in setUpHandleBar() 196 ? getLayout().getHeight() - diff in onScroll() 199 y = Math.max(0, Math.min(y, getLayout().getHeight())); in onScroll() 201 .ofFloat(getLayout(), "translationY", mPreviousHandleBarPositionY, y); in onScroll()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userswitcher/ |
D | FullScreenUserSwitcherViewController.java | 72 UserSwitcherContainer container = getLayout().findViewById(R.id.user_switcher_container); in onFinishInflate() 78 if (event.getAction() == KeyEvent.ACTION_UP && getLayout().isVisibleToUser()) { in onFinishInflate() 85 mUserGridView = getLayout().findViewById(R.id.user_grid); in onFinishInflate() 106 getLayout().setVisibility(View.VISIBLE); in showInternal() 122 getLayout().setVisibility(View.GONE); in fadeOut()
|
D | UserSwitchTransitionViewController.java | 155 ((ImageView) getLayout().findViewById(R.id.user_loading_avatar)) in drawUserIcon() 160 TextView msgView = getLayout().findViewById(R.id.user_loading); in populateLoadingText()
|
/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/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintEnrollEnrollingTest.java | 274 assertThat(getLayout().getDescriptionTextView().getVisibility()).isEqualTo(View.GONE); in fingerprintSfpsEnroll_descriptionTextVisibility() 283 assertThat(getLayout().getDescriptionTextView().getVisibility()).isEqualTo(View.VISIBLE); in fingerprintUdfpsEnroll_descriptionTextVisibility() 290 assertThat(getLayout().getDescriptionText()).isNotEqualTo(""); in testUdfpsConfigureEnrollmentStage_descriptionText() 294 assertThat(getLayout().getDescriptionText()).isEqualTo(""); in testUdfpsConfigureEnrollmentStage_descriptionText() 301 assertThat(getLayout().getDescriptionTextView().getVisibility()).isEqualTo(View.GONE); in testSfpsConfigureEnrollmentStage_descriptionText() 305 assertThat(getLayout().getDescriptionTextView().getVisibility()).isEqualTo(View.GONE); in testSfpsConfigureEnrollmentStage_descriptionText() 308 private GlifLayout getLayout() { in getLayout() method in FingerprintEnrollEnrollingTest
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/ |
D | HvacPanelOverlayViewController.java | 75 View closeButton = getLayout().findViewById(R.id.hvac_panel_close_button); in onFinishInflate() 80 mHvacPanelView = getLayout().findViewById(R.id.hvac_panel); in onFinishInflate() 174 if (getLayout() == null) return; in onConfigChanged() 175 mHvacPanelView = getLayout().findViewById(R.id.hvac_panel); in onConfigChanged()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/keyguard/ |
D | CarKeyguardViewController.java | 99 LockPatternView patternView = getLayout().findViewById(R.id.lockPatternView); 197 mKeyguardContainer = getLayout().findViewById(R.id.keyguard_container); in onFinishInflate() 361 return ((View) getLayout().getParent()).getViewRootImpl(); in getViewRootImpl() 431 getLayout().setVisibility(View.INVISIBLE); in hideKeyguardToPrepareBouncer() 442 if (changed && allowRotaryFocus && getLayout() != null) { in setAllowRotaryFocus() 443 View pinView = getLayout().findViewById(R.id.pinEntry); in setAllowRotaryFocus()
|
/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/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintEnrollEnrolling.java | 308 mFooterBarMixin = getLayout().getMixin(FooterBarMixin.class); in onCreate() 593 getLayout().setHeaderText( in updateTitleAndDescriptionForUdfps() 598 getLayout().getHeaderTextView().setContentDescription(description); in updateTitleAndDescriptionForUdfps() 613 getLayout().getDescriptionTextView().setAccessibilityLiveRegion( in updateTitleAndDescriptionForSfps() 668 getLayout().setHeaderText( in updateTitleAndDescriptionForSfps() 672 getLayout().getHeaderTextView().setContentDescription(description); in updateTitleAndDescriptionForSfps() 1083 final HeaderMixin headerMixin = getLayout().getMixin(HeaderMixin.class); in maybeHideSfpsText() 1084 final DescriptionMixin descriptionMixin = getLayout().getMixin(DescriptionMixin.class); in maybeHideSfpsText()
|
/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/notification/ |
D | NotificationPanelViewController.java | 279 ViewGroup container = (ViewGroup) getLayout(); in reinflate() 303 mNotificationView = getLayout().findViewById(R.id.notification_view); in onNotificationViewInflated() 418 Rect rect = getLayout().getClipBounds(); in setupNotificationPanel() 426 } else if (clippedHeight != getLayout().getHeight() && isTracking) { in setupNotificationPanel()
|