/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/decorations/linear/ |
D | LinearDividerItemDecoration.java | 31 private final Drawable mDivider; field in LinearDividerItemDecoration 42 this.mDivider = divider; in LinearDividerItemDecoration() 80 outRect.left = mDivider.getIntrinsicWidth(); in getItemOffsets() 82 outRect.top = mDivider.getIntrinsicHeight(); in getItemOffsets() 108 int parentRight = parentLeft + mDivider.getIntrinsicWidth(); in drawHorizontalDividers() 110 mDivider.setBounds(parentLeft, parentTop, parentRight, parentBottom); in drawHorizontalDividers() 111 mDivider.draw(canvas); in drawHorizontalDividers() 137 int parentBottom = parentTop + mDivider.getIntrinsicHeight(); in drawVerticalDividers() 139 mDivider.setBounds(parentLeft, parentTop, parentRight, parentBottom); in drawVerticalDividers() 140 mDivider.draw(canvas); in drawVerticalDividers()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/view/ |
D | VerticalListDividerDecoration.java | 44 private Drawable mDivider; field in VerticalListDividerDecoration 53 mDivider = Themes.getAttrDrawable(context, LIST_DIVIDER_ATTR); in VerticalListDividerDecoration() 54 if (mDivider == null) { in VerticalListDividerDecoration() 71 mDivider = drawable; in setDrawable() 76 if (parent.getLayoutManager() == null || mDivider == null) { in onDrawOver() 103 final int top = bottom - mDivider.getIntrinsicHeight(); in drawVertical() 104 mDivider.setBounds(left, top, right, bottom); in drawVertical() 105 mDivider.draw(canvas); in drawVertical()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | MoreKeysKeyboardView.java | 43 private final Drawable mDivider; field in MoreKeysKeyboardView 64 mDivider = moreKeysKeyboardViewAttr.getDrawable(R.styleable.MoreKeysKeyboardView_divider); in MoreKeysKeyboardView() 65 if (mDivider != null) { in MoreKeysKeyboardView() 67 mDivider.setAlpha(128); in MoreKeysKeyboardView() 90 || mDivider == null) { in onDrawKeyTopVisuals() 96 final int iconWidth = Math.min(mDivider.getIntrinsicWidth(), keyWidth); in onDrawKeyTopVisuals() 97 final int iconHeight = mDivider.getIntrinsicHeight(); in onDrawKeyTopVisuals() 100 drawIcon(canvas, mDivider, iconX, iconY, iconWidth, iconHeight); in onDrawKeyTopVisuals()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/ |
D | WifiTetherSsidPreference.java | 42 private View mDivider; field in WifiTetherSsidPreference 89 mDivider = holder.findViewById(R.id.two_target_divider); in onBindViewHolder() 95 mDivider.setVisibility(View.VISIBLE); in onBindViewHolder() 98 mDivider.setVisibility(View.GONE); in onBindViewHolder()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | RecentAppsPreferenceController.java | 63 Preference mDivider; field in RecentAppsPreferenceController 93 mDivider = screen.findPreference(KEY_DIVIDER); in displayPreference() 128 mDivider.setVisible(true); in refreshUi() 130 mDivider.setVisible(false); in refreshUi()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | RecentAppsPreferenceController.java | 63 Preference mDivider; field in RecentAppsPreferenceController 93 mDivider = screen.findPreference(KEY_DIVIDER); in displayPreference() 128 mDivider.setVisible(true); in refreshUi() 130 mDivider.setVisible(false); in refreshUi()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | SecondLevelIndicatorControlBar.java | 39 private View mDivider; // the divider line field in SecondLevelIndicatorControlBar 54 mDivider = findViewById(R.id.divider); in onFinishInflate() 191 mDivider.layout(offsetX, padding, (offsetX + mDivider.getMeasuredWidth()), in onLayout()
|
/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
D | NotificationItemView.java | 56 private final View mDivider; field in NotificationItemView 75 mDivider = container.findViewById(R.id.divider); in NotificationItemView() 92 mContainer.removeView(mDivider); in removeFooter() 109 mContainer.removeView(mDivider); in removeAllViews()
|
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
D | DeepShortcutView.java | 44 private View mDivider; field in DeepShortcutView 66 mDivider = findViewById(R.id.divider); in onFinishInflate() 70 mDivider.setVisibility(visibility); in setDividerVisibility()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
D | MoreSuggestions.java | 49 public Drawable mDivider; field in MoreSuggestions.MoreSuggestionsParam 60 mDivider = res.getDrawable(R.drawable.more_suggestions_divider); in layout() 61 mDividerWidth = mDivider.getIntrinsicWidth(); in layout() 228 final Divider divider = new Divider(params, params.mDivider, x + width, y, in build()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | MatchParentShrinkingLinearLayout.java | 163 private Drawable mDivider; field in MatchParentShrinkingLinearLayout 256 return mDivider; in getDividerDrawable() 269 if (divider == mDivider) { in setDividerDrawable() 272 mDivider = divider; in setDividerDrawable() 319 if (mDivider == null) { in onDraw() 399 mDivider.setBounds(getPaddingLeft() + mDividerPadding, top, in drawHorizontalDivider() 401 mDivider.draw(canvas); in drawHorizontalDivider() 405 mDivider.setBounds(left, getPaddingTop() + mDividerPadding, in drawVerticalDivider() 407 mDivider.draw(canvas); in drawVerticalDivider()
|
D | UsageGraph.java | 52 private final Drawable mDivider; field in UsageGraph 104 mDivider = context.getDrawable(v.resourceId); in UsageGraph() 318 Drawable d = mDivider; in drawDivider()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | MatchParentShrinkingLinearLayout.java | 163 private Drawable mDivider; field in MatchParentShrinkingLinearLayout 256 return mDivider; in getDividerDrawable() 269 if (divider == mDivider) { in setDividerDrawable() 272 mDivider = divider; in setDividerDrawable() 319 if (mDivider == null) { in onDraw() 399 mDivider.setBounds(getPaddingLeft() + mDividerPadding, top, in drawHorizontalDivider() 401 mDivider.draw(canvas); in drawHorizontalDivider() 405 mDivider.setBounds(left, getPaddingTop() + mDividerPadding, in drawVerticalDivider() 407 mDivider.draw(canvas); in drawVerticalDivider()
|
D | UsageGraph.java | 52 private final Drawable mDivider; field in UsageGraph 104 mDivider = context.getDrawable(v.resourceId); in UsageGraph() 314 Drawable d = mDivider; in drawDivider()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/calllog/ |
D | CallLogViewHolder.java | 51 private View mDivider; field in CallLogViewHolder 65 mDivider = itemView.findViewById(R.id.divider); in CallLogViewHolder() 121 ViewUtils.setVisible(mDivider, contact != null || forceShowActionButton); in setUpActionButton()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | RecentAppsPreferenceControllerTest.java | 104 mController.mDivider = dividerPreference; in setUp() 155 assertThat(mController.mDivider.isVisible()).isTrue(); in onReloadDataCompleted_threeValidRecentOpenAppsSet_setAppEntityThreeTime() 165 assertThat(mController.mDivider.isVisible()).isFalse(); in onReloadDataCompleted_noRecentOpenAppsSet_shouldHideRecentAppPreference()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | RecentNotifyingAppsPreferenceController.java | 90 private Preference mDivider; field in RecentNotifyingAppsPreferenceController 141 mDivider = screen.findPreference(KEY_DIVIDER); in displayPreference() 212 mDivider.setVisible(false); in displayOnlyAllAppsLink() 226 mDivider.setVisible(true); in displayRecentApps()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | RecentNotifyingAppsPreferenceControllerTest.java | 86 private PreferenceCategory mDivider; field in RecentNotifyingAppsPreferenceControllerTest 124 .thenReturn(mDivider); in setUp() 166 verify(mDivider).setVisible(false); in display_shouldNotShowRecents_showAppInfoPreference() 214 verify(mDivider).setVisible(true); in display_showRecents()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/ |
D | AppPermissionFragment.java | 98 private @NonNull View mDivider; field in AppPermissionFragment 241 mDivider = root.requireViewById(R.id.two_target_divider); in onCreateView() 415 mDivider.setVisibility(View.GONE); in updateButtons() 471 mDivider.setVisibility(View.VISIBLE); in updateButtons()
|