Searched refs:adjust (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/core/java/com/android/internal/net/
H A DNetworkStatsFactory.java204 NetworkStats.Entry adjust = new NetworkStats.Entry(baseIface, 0, 0, 0, 0L, 0L, 0L,
210 adjust.txBytes -= entry.txBytes;
211 adjust.txPackets -= entry.txPackets;
214 stats.combineValues(adjust);
/frameworks/base/core/java/android/text/method/
H A DMetaKeyKeyListener.java273 adjust(content, CAP);
274 adjust(content, ALT);
275 adjust(content, SYM);
295 private static void adjust(Spannable content, Object what) { method in class:MetaKeyKeyListener
/frameworks/base/tools/aapt/
H A DZipFile.cpp954 long delCount, adjust; local
972 delCount = adjust = 0;
1005 adjust += span;
1011 /* adjust loop control */
1014 } else if (span != 0 && adjust > 0) {
1017 // pEntry->getFileName(), adjust);
1018 result = filemove(mZipFp, pEntry->getLFHOffset() - adjust,
1026 pEntry->setLFHOffset(pEntry->getLFHOffset() - adjust);
1035 mEOCD.mCentralDirOffset -= adjust;
/frameworks/base/core/java/android/util/
H A DPathParser.java581 float adjust = (float) (Math.sqrt(dsq) / 1.99999);
582 drawArc(p, x0, y0, x1, y1, a * adjust,
583 b * adjust, theta, isMoreThanHalf, isPositiveArc);
/frameworks/base/core/java/android/widget/
H A DFastScroller.java668 // Don't adjust the vertical position.
726 // In inset mode, we need to adjust for padded scrollbar width.
1489 final float adjust = targetSizeDiff > 0 ? targetSizeDiff : 0;
1492 return x >= mThumbImage.getLeft() - adjust;
1494 return x <= mThumbImage.getRight() + adjust;
1505 final float adjust = targetSizeDiff > 0 ? targetSizeDiff / 2 : 0;
1507 return y >= (top - adjust) && y <= (bottom + adjust);
H A DGridLayout.java1036 static int adjust(int measureSpec, int delta) { method in class:GridLayout
1052 int widthSpecSansPadding = adjust( widthSpec, -hPadding);
1053 int heightSpecSansPadding = adjust(heightSpec, -vPadding);
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindowManager.java3424 void setAttachedWindowFrames(WindowState win, int fl, int adjust, WindowState attached, argument
3445 if (adjust != SOFT_INPUT_ADJUST_RESIZE) {
3534 final int adjust = sim & SOFT_INPUT_MASK_ADJUST;
3546 setAttachedWindowFrames(win, fl, adjust, attached, true, pf, df, of, cf, vf);
3621 setAttachedWindowFrames(win, fl, adjust, attached, true, pf, df, of, cf, vf);
3697 if (adjust != SOFT_INPUT_ADJUST_RESIZE) {
3720 if (adjust != SOFT_INPUT_ADJUST_NOTHING) {
3833 if (adjust != SOFT_INPUT_ADJUST_NOTHING) {
3846 setAttachedWindowFrames(win, fl, adjust, attached, false, pf, df, of, cf, vf);
3880 } else if (adjust !
[all...]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java925 static int adjust(int measureSpec, int delta) { method in class:GridLayout
941 int widthSpecSansPadding = adjust( widthSpec, -hPadding);
942 int heightSpecSansPadding = adjust(heightSpec, -vPadding);
/frameworks/base/core/java/android/view/
H A DView.java754 * This view will adjust its padding to fit sytem windows (e.g. status bar)
6356 * changed, to allow it to adjust its content to fit within those windows.
10262 * When rotating large views, it is recommended to adjust the camera distance
10306 * When rotating large views, it is recommended to adjust the camera distance
13299 * recomputes internal padding values to adjust for scroll bars.
17521 widthMeasureSpec = MeasureSpec.adjust(widthMeasureSpec, optical ? -oWidth : oWidth);
17522 heightMeasureSpec = MeasureSpec.adjust(heightMeasureSpec, optical ? -oHeight : oHeight);
18716 * parent at least partially consumed the scroll and the caller should adjust the amount it
18807 * to after it completes. View implementations may use this to adjust
18856 * to after it completes. View implementations may use this to adjust
19791 static int adjust(int measureSpec, int delta) { method in class:View.MeasureSpec
[all...]

Completed in 2141 milliseconds