/frameworks/support/design/tests/src/android/support/design/widget/ |
D | AppBarWithAnchoredFabMarginsTest.java | 41 final FloatingActionButton fab = in testFabBottomMargin() local 42 (FloatingActionButton) mCoordinatorLayout.findViewById(R.id.fab); in testFabBottomMargin() 44 (CoordinatorLayout.LayoutParams) fab.getLayoutParams(); in testFabBottomMargin() 50 fab.getLocationOnScreen(fabOnScreenXY); in testFabBottomMargin() 54 fabOnScreenXY[0] + fab.getWidth() / 2, 1); in testFabBottomMargin() 60 fabOnScreenXY[1] + fab.getHeight() / 2, 1); in testFabBottomMargin() 68 final FloatingActionButton fab = in testFabTopMargin() local 69 (FloatingActionButton) mCoordinatorLayout.findViewById(R.id.fab); in testFabTopMargin() 71 (CoordinatorLayout.LayoutParams) fab.getLayoutParams(); in testFabTopMargin() 77 fab.getLocationOnScreen(fabOnScreenXY); in testFabTopMargin() [all …]
|
D | CoordinatorSnackbarWithFabTest.java | 112 final FloatingActionButton fab = in testBuiltInSliding() local 113 (FloatingActionButton) mCoordinatorLayout.findViewById(R.id.fab); in testBuiltInSliding() 114 verifySnackbarViewStacking(fab, fab.getPaddingBottom() in testBuiltInSliding() 115 - ((ViewGroup.MarginLayoutParams) fab.getLayoutParams()).bottomMargin); in testBuiltInSliding() 122 onView(withId(R.id.fab)).perform(setVisibility(View.GONE)); in testBuiltInSlidingFromHiddenFab() 131 onView(withId(R.id.fab)).perform(setVisibility(View.VISIBLE)); in testBuiltInSlidingFromHiddenFab() 132 final FloatingActionButton fab = in testBuiltInSlidingFromHiddenFab() local 133 (FloatingActionButton) mCoordinatorLayout.findViewById(R.id.fab); in testBuiltInSlidingFromHiddenFab() 134 verifySnackbarViewStacking(fab, fab.getPaddingBottom() in testBuiltInSlidingFromHiddenFab() 135 - ((ViewGroup.MarginLayoutParams) fab.getLayoutParams()).bottomMargin); in testBuiltInSlidingFromHiddenFab()
|
D | AppBarWithCollapsingToolbarTest.java | 238 final FloatingActionButton fab = in testPinnedToolbarAndAnchoredFab() local 239 (FloatingActionButton) mCoordinatorLayout.findViewById(R.id.fab); in testPinnedToolbarAndAnchoredFab() 270 assertEquals(0.0f, fab.getScaleX(), 0.0f); in testPinnedToolbarAndAnchoredFab() 271 assertEquals(0.0f, fab.getScaleY(), 0.0f); in testPinnedToolbarAndAnchoredFab() 272 assertEquals(0.0f, fab.getAlpha(), 0.0f); in testPinnedToolbarAndAnchoredFab() 288 assertEquals(1.0f, fab.getScaleX(), 0.0f); in testPinnedToolbarAndAnchoredFab() 289 assertEquals(1.0f, fab.getScaleY(), 0.0f); in testPinnedToolbarAndAnchoredFab() 290 assertEquals(1.0f, fab.getAlpha(), 0.0f); in testPinnedToolbarAndAnchoredFab()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | FloatingActionButton.java | 79 public void onShown(FloatingActionButton fab) {} in onShown() argument 87 public void onHidden(FloatingActionButton fab) {} in onHidden() argument 623 final FloatingActionButton fab, boolean animationAllowed) { 624 final float targetTransY = getFabTranslationYForSnackbar(parent, fab); 630 final float currentTransY = ViewCompat.getTranslationY(fab); 637 if (animationAllowed && fab.isShown() 638 && Math.abs(currentTransY - targetTransY) > (fab.getHeight() * 0.667f)) { 649 ViewCompat.setTranslationY(fab, 658 ViewCompat.setTranslationY(fab, targetTransY); 665 FloatingActionButton fab) { [all …]
|
/frameworks/support/design/tests/src/android/support/design/testutils/ |
D | FloatingActionButtonActions.java | 49 final FloatingActionButton fab = (FloatingActionButton) view; in setBackgroundTintColor() local 50 fab.setBackgroundTintList(ColorStateList.valueOf(color)); in setBackgroundTintColor() 73 final FloatingActionButton fab = (FloatingActionButton) view; 74 fab.setImageResource(resId); 97 final FloatingActionButton fab = (FloatingActionButton) view; 98 fab.setSize(size);
|
D | TestUtilsMatchers.java | 235 final FloatingActionButton fab = (FloatingActionButton) view; 240 fab.getContentRect(area); 251 fab.getBackground(), view.getWidth(), view.getHeight(), false, 307 final FloatingActionButton fab = (FloatingActionButton) view; 309 fab.getContentRect(area);
|
/frameworks/base/docs/html-intl/intl/zh-cn/ |
D | index.jd | 52 <a class="dac-fab dac-scroll-button" data-scroll-button href="#build-apps"> 80 <a class="dac-fab dac-scroll-button" data-scroll-button="" href="#build-apps">
|
/frameworks/base/docs/html-intl/intl/ru/ |
D | index.jd | 52 <a class="dac-fab dac-scroll-button" data-scroll-button href="#build-apps"> 80 <a class="dac-fab dac-scroll-button" data-scroll-button="" href="#build-apps">
|
/frameworks/base/docs/html-intl/intl/zh-tw/ |
D | index.jd | 52 <a class="dac-fab dac-scroll-button" data-scroll-button href="#build-apps"> 80 <a class="dac-fab dac-scroll-button" data-scroll-button="" href="#build-apps">
|
/frameworks/base/docs/html-intl/intl/ja/ |
D | index.jd | 52 <a class="dac-fab dac-scroll-button" data-scroll-button href="#build-apps"> 80 <a class="dac-fab dac-scroll-button" data-scroll-button="" href="#build-apps">
|
/frameworks/base/docs/html-intl/intl/ko/ |
D | index.jd | 52 <a class="dac-fab dac-scroll-button" data-scroll-button href="#build-apps"> 80 <a class="dac-fab dac-scroll-button" data-scroll-button="" href="#build-apps">
|
/frameworks/base/docs/html-intl/intl/es/ |
D | index.jd | 52 <a class="dac-fab dac-scroll-button" data-scroll-button href="#build-apps"> 80 <a class="dac-fab dac-scroll-button" data-scroll-button="" href="#build-apps">
|
/frameworks/base/docs/html/ |
D | index.jd | 54 <a class="dac-fab dac-scroll-button" data-scroll-button href="#build-apps"> 82 <a class="dac-fab dac-scroll-button" data-scroll-button="" href="#build-apps">
|
/frameworks/base/docs/html-intl/intl/pt-br/ |
D | index.jd | 52 <a class="dac-fab dac-scroll-button" data-scroll-button href="#build-apps"> 80 <a class="dac-fab dac-scroll-button" data-scroll-button="" href="#build-apps">
|
/frameworks/base/docs/html/work/ |
D | index.jd | 41 <a class="dac-fab dac-scroll-button" data-scroll-button href="#resources">
|
/frameworks/base/docs/html/ndk/ |
D | index.jd | 39 <a class="dac-fab dac-scroll-button" data-scroll-button href="#latest">
|
/frameworks/base/docs/html/about/versions/marshmallow/ |
D | index.jd | 45 <a class="dac-fab dac-scroll-button" data-scroll-button href="#resources">
|
/frameworks/base/docs/html/design/ |
D | index.jd | 46 <a class="dac-fab dac-scroll-button" data-scroll-button href="#latest">
|
/frameworks/base/docs/html/google/ |
D | index.jd | 37 <a class="dac-fab dac-scroll-button" data-scroll-button href="#latest">
|
/frameworks/base/docs/html-intl/intl/ru/preview/ |
D | index.jd | 59 <a class="dac-fab dac-scroll-button" data-scroll-button="" href="#build-apps">
|
/frameworks/base/docs/html-intl/intl/zh-tw/preview/ |
D | index.jd | 59 <a class="dac-fab dac-scroll-button" data-scroll-button href="#build-apps">
|
/frameworks/base/docs/html/wear/preview/ |
D | index.jd | 60 <a class="dac-fab dac-scroll-button" data-scroll-button href="#build-apps">
|
/frameworks/base/docs/html-intl/intl/zh-cn/preview/ |
D | index.jd | 59 <a class="dac-fab dac-scroll-button" data-scroll-button href="#build-apps">
|
/frameworks/base/docs/html-intl/intl/ko/preview/ |
D | index.jd | 59 <a class="dac-fab dac-scroll-button" data-scroll-button href="#build-apps">
|
/frameworks/base/docs/html-intl/intl/ja/preview/ |
D | index.jd | 59 <a class="dac-fab dac-scroll-button" data-scroll-button href="#build-apps">
|