Home
last modified time | relevance | path

Searched refs:mAvailable (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
DBufferPool.java30 private int mAvailable; field in BufferPool
41 if (mAvailable != 0) { in acquire()
42 mAvailable -= 1; in acquire()
43 return grow(mBuffers[mAvailable], needed); in acquire()
62 mBuffers[mAvailable++] = buffer; in release()
/frameworks/native/libs/gui/
DSensorEventQueue.cpp39 : mSensorEventConnection(connection), mRecBuffer(NULL), mAvailable(0), mConsumed(0), in SensorEventQueue()
65 if (mAvailable == 0) { in read()
71 mAvailable = err; in read()
74 size_t count = numEvents < mAvailable ? numEvents : mAvailable; in read()
76 mAvailable -= count; in read()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DLinearLayoutManager.java512 if (mLayoutState.mAvailable > 0) {
513 extraForEnd += mLayoutState.mAvailable;
527 if (mLayoutState.mAvailable > 0) {
528 extraForStart += mLayoutState.mAvailable;
624 mLayoutState.mAvailable = 0; in layoutForPredictiveAnimations()
633 mLayoutState.mAvailable = 0; in layoutForPredictiveAnimations()
847 mLayoutState.mAvailable = mOrientationHelper.getEndAfterPadding() - offset; in updateLayoutStateToFillEnd()
861 mLayoutState.mAvailable = offset - mOrientationHelper.getStartAfterPadding(); in updateLayoutStateToFillStart()
1085 mLayoutState.mAvailable = requiredSpace; in updateLayoutState()
1087 mLayoutState.mAvailable -= fastScrollSpace; in updateLayoutState()
[all …]
DLayoutState.java43 int mAvailable; field in LayoutState
DStaggeredGridLayoutManager.java1226 mLayoutState.mAvailable = 0;
1244 mLayoutState.mAvailable = 0;
1363 recycleLine = mPrimaryOrientation.getEndAfterPadding() + mLayoutState.mAvailable;
1368 recycleLine = mPrimaryOrientation.getStartAfterPadding() - mLayoutState.mAvailable;
1478 return Math.max(0, mLayoutState.mAvailable + (recycleLine - minStart));
1481 return Math.max(0, mLayoutState.mAvailable + (max - recycleLine));
1844 mLayoutState.mAvailable = absDt;
/frameworks/base/services/core/java/com/android/server/job/
DJobServiceContext.java122 private boolean mAvailable; field in JobServiceContext
139 mAvailable = true; in JobServiceContext()
150 if (!mAvailable) { in executeRunnableJob()
181 mAvailable = false; in executeRunnableJob()
207 return mAvailable; in isAvailable()
542 mAvailable = true; in closeAndCleanupJobH()
/frameworks/native/include/gui/
DSensorEventQueue.h87 size_t mAvailable; variable
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java774 private boolean mAvailable; field in Tethering.TetherInterfaceSM
809 if (mAvailable) res += " - Available"; in toString()
837 return mAvailable; in isAvailable()
843 mAvailable = available; in setAvailable()