Home
last modified time | relevance | path

Searched refs:available (Results 1 – 25 of 68) sorted by relevance

123

/packages/apps/Gallery/src/com/android/camera/
DSwitcher.java81 final int available = getHeight() - mPaddingTop - mPaddingBottom in onTouchEvent() local
97 tryToSetSwitch(mPosition >= available / 2); in onTouchEvent()
117 final int available = height - mPaddingTop - mPaddingBottom in trackTouchEvent() local
122 if (mPosition > available) mPosition = available; in trackTouchEvent()
138 final int available = getHeight() - mPaddingTop - mPaddingBottom in onDraw() local
146 if (mPosition > available) mPosition = available; in onDraw()
147 if (mPosition != 0 && mPosition != available) { in onDraw()
/packages/apps/Camera/src/com/android/camera/
DSwitcher.java81 final int available = getHeight() - mPaddingTop - mPaddingBottom in onTouchEvent() local
97 tryToSetSwitch(mPosition >= available / 2); in onTouchEvent()
117 final int available = height - mPaddingTop - mPaddingBottom in trackTouchEvent() local
122 if (mPosition > available) mPosition = available; in trackTouchEvent()
138 final int available = getHeight() - mPaddingTop - mPaddingBottom in onDraw() local
146 if (mPosition > available) mPosition = available; in onDraw()
147 if (mPosition != 0 && mPosition != available) { in onDraw()
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/
DSimpleCharStream.java28 int available; field in SimpleCharStream
97 available = bufsize; in ExpandBuff()
103 if (maxNextCharInd == available) in FillBuff()
105 if (available == bufsize) in FillBuff()
110 available = tokenBegin; in FillBuff()
117 else if (available > tokenBegin) in FillBuff()
118 available = bufsize; in FillBuff()
119 else if ((tokenBegin - available) < 2048) in FillBuff()
122 available = tokenBegin; in FillBuff()
128 available - maxNextCharInd)) == -1) in FillBuff()
[all …]
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/
DSimpleCharStream.java28 int available; field in SimpleCharStream
97 available = bufsize; in ExpandBuff()
103 if (maxNextCharInd == available) in FillBuff()
105 if (available == bufsize) in FillBuff()
110 available = tokenBegin; in FillBuff()
117 else if (available > tokenBegin) in FillBuff()
118 available = bufsize; in FillBuff()
119 else if ((tokenBegin - available) < 2048) in FillBuff()
122 available = tokenBegin; in FillBuff()
128 available - maxNextCharInd)) == -1) in FillBuff()
[all …]
/packages/apps/Email/src/org/apache/james/mime4j/field/contenttype/parser/
DSimpleCharStream.java28 int available; field in SimpleCharStream
97 available = bufsize; in ExpandBuff()
103 if (maxNextCharInd == available) in FillBuff()
105 if (available == bufsize) in FillBuff()
110 available = tokenBegin; in FillBuff()
117 else if (available > tokenBegin) in FillBuff()
118 available = bufsize; in FillBuff()
119 else if ((tokenBegin - available) < 2048) in FillBuff()
122 available = tokenBegin; in FillBuff()
128 available - maxNextCharInd)) == -1) in FillBuff()
[all …]
/packages/apps/Email/src/org/apache/commons/io/input/
DProxyInputStream.java93 public int available() throws IOException { in available() method in ProxyInputStream
94 return in.available(); in available()
DNullInputStream.java123 public int available() { in available() method in NullInputStream
/packages/apps/Email/src/org/apache/james/mime4j/util/
DPartialInputStream.java35 public int available() throws IOException { in available() method in PartialInputStream
36 return Math.min(super.available(), getBytesLeft()); in available()
DPositionInputStream.java40 public int available() throws IOException { in available() method in PositionInputStream
41 return inputStream.available(); in available()
/packages/apps/Email/src/org/apache/james/mime4j/
DCloseShieldInputStream.java58 public int available() throws IOException { in available() method in CloseShieldInputStream
60 return is.available(); in available()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadInfo.java205 public boolean canUseNetwork(boolean available, boolean roaming) { in canUseNetwork() argument
206 if (!available) { in canUseNetwork()
/packages/apps/Calculator/src/com/android/calculator2/
DCalculatorDisplay.java75 int available = display.getWidth() in getNumberFittingDigits() local
79 return (int) (available / digitWidth); in getNumberFittingDigits()
/packages/apps/Email/src/com/android/exchange/utility/
Dpatent_disclaimer.txt4 Google makes no representation or warranty that the source code made available hereunder is
/packages/apps/Email/src/com/android/exchange/adapter/
Dpatent_disclaimer.txt4 Google makes no representation or warranty that the source code made available hereunder is
/packages/apps/Email/src/com/android/exchange/
Dpatent_disclaimer.txt4 Google makes no representation or warranty that the source code made available hereunder is
/packages/apps/Email/src/com/android/email/
DFixedLengthInputStream.java38 public int available() throws IOException { in available() method in FixedLengthInputStream
/packages/apps/VoiceDialer/src/com/android/voicedialer/
DRecognizerLogger.java220 public int available() throws IOException { in logInputStream()
221 return inputStream.available(); in logInputStream()
/packages/apps/Launcher/src/com/android/launcher/
DCellLayout.java686 boolean available = !occupied[x][y]; in findVacantCell()
689 available = available && !occupied[i][j]; in findVacantCell()
690 if (!available) break out; in findVacantCell()
694 if (available) { in findVacantCell()
/packages/apps/Mms/src/com/android/mms/drm/
DDrmWrapper.java78 mDrmObject = new DrmRawContent(drmDataStream, drmDataStream.available(), in DrmWrapper()
/packages/apps/Launcher2/src/com/android/launcher2/
DCellLayout.java775 boolean available = !occupied[x][y]; in findVacantCell()
778 available = available && !occupied[i][j]; in findVacantCell()
779 if (!available) break out; in findVacantCell()
783 if (available) { in findVacantCell()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DTestActivity.java506 updateStatus("Got data bytes " + is.available() + " name " in onPut()
514 while (is.available() > 0 && (len = is.read(b)) > 0) { in onPut()
/packages/apps/Settings/src/com/android/settings/
DSdCardSettings.java69 mAvailableSize = (TextView)findViewById(R.id.available); in onCreate()
/packages/apps/Email/src/com/android/email/mail/store/
DImapResponseParser.java377 byte[] buffer = new byte[is.available()]; in nailDown()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DRestrictionExceptionsTest.java194 final byte[] buf = new byte[in.available()]; in testExportVCard()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsDatabaseHelper.java959 byte [] data = new byte[is.available()]; in upgradeDatabaseToVersion46()

123