Searched defs:margin (Results 1 - 3 of 3) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/main/impl/toolbar/
H A DSearchBarView.java46 private final float margin; field in class:SearchBarView
64 margin = getContext().getResources().getDimension(R.dimen.search_bar_margin);
176 * Assigns margins to the search box as a fraction of its maximum margin size
181 int margin = (int) (this.margin * fraction);
183 params.topMargin = margin;
184 params.bottomMargin = margin;
185 params.leftMargin = margin;
186 params.rightMargin = margin;
/packages/apps/TV/src/com/android/tv/menu/
H A DPlayControlsRowView.java695 int margin = mUseCompactLayout ? mCompactButtonMargin : mNormalButtonMargin;
696 updateButtonMargin(mJumpPreviousButton, margin);
697 updateButtonMargin(mRewindButton, margin);
698 updateButtonMargin(mPlayPauseButton, margin);
699 updateButtonMargin(mFastForwardButton, margin);
700 updateButtonMargin(mJumpNextButton, margin);
701 updateButtonMargin(mRecordButton, margin);
704 private void updateButtonMargin(PlayControlsButton button, int margin) { argument
706 params.setMargins(margin, 0, margin,
[all...]
/packages/apps/Settings/src/com/android/settings/widget/
H A DChartSweepView.java299 float margin;
304 margin = getLabelTop(mValidAfterDynamic) - getLabelBottom(this);
305 if (margin < 0) {
306 labelOffset = margin / 2;
310 margin = getLabelTop(this) - getLabelBottom(mValidBeforeDynamic);
311 if (margin < 0) {
312 labelOffset = -margin / 2;
605 Rect parentContent, long afterValue, long beforeValue, float margin) {
615 final float afterPoint = mAxis.convertToPoint(afterValue) + margin;
616 final float beforePoint = mAxis.convertToPoint(beforeValue) - margin;
604 buildClampRect( Rect parentContent, long afterValue, long beforeValue, float margin) argument
[all...]

Completed in 105 milliseconds