Searched refs:available (Results 1 - 25 of 78) sorted by relevance

1234

/frameworks/av/media/libstagefright/
H A DSkipCutBuffer.cpp106 size_t available = mCapacity - sizeused - 32; local
107 if (available < num) {
108 int32_t newcapacity = mCapacity + (num - available);
134 int32_t available = (mWriteHead - mReadHead); local
135 if (available < 0) available += mCapacity;
137 available -= mBackPadding;
138 if (available <=0) {
141 if (available < int32_t(num)) {
142 num = available;
163 int32_t available = (mWriteHead - mReadHead); local
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothInputStream.java37 * Return number of bytes available before this stream will block.
39 public int available() throws IOException { method in class:BluetoothInputStream
40 return mSocket.available();
/frameworks/base/docs/html/guide/
H A Dguide_toc.cs3 For each document available in translation, add an localized title to this TOC.
4 Do not add localized title for docs not available in translation.
269 <div class="nav-section-header"><a href="<?cs var:toroot ?>guide/topics/resources/available-resources.html">
/frameworks/ex/variablespeed/jni/
H A Dsola_time_scaler.cc185 // Returns the number of available output frames.
186 int SolaTimeScaler::available() { function in class:video_editing::SolaTimeScaler
189 int available = output_buffer_->available(kOutputConsumer); local
190 if (available > min_output_to_hold_) {
191 available -= min_output_to_hold_;
194 available = output_buffer_->available(kOutputConsumer);
195 if (available > min_output_to_hold_) {
196 available
[all...]
H A Dring_buffer.h75 int available(int reader) const;
H A Dsola_time_scaler.h121 // Returns the number of available output frames.
123 int available();
/frameworks/av/media/libnbaio/
H A DAudioBufferProviderSource.cpp65 size_t available = mBuffer.frameCount - mConsumed; local
66 if (CC_UNLIKELY(count > available)) {
67 count = available;
70 // available is zero, but both are unlikely so don't check for that
112 // don't you just want to fall through to the size_t available line?
118 size_t available = mBuffer.frameCount - mConsumed; local
119 if (CC_UNLIKELY(count > available)) {
120 count = available;
/frameworks/base/core/java/com/android/internal/statusbar/
H A DIStatusBar.aidl37 void setHardKeyboardStatus(boolean available, boolean enabled);
/frameworks/compile/libbcc/runtime/make/
H A Dlib_info.mk9 # CommonFunctions - The list of generic functions available.
10 # ArchFunctions.<arch> - The list of functions commonly available for
41 # Compute lists of where each function is available.
46 # The names of all the available options.
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DInputMethodButton.java165 public void setHardKeyboardStatus(boolean available) { argument
166 if (mHardKeyboardAvailable != available) {
167 mHardKeyboardAvailable = available;
/frameworks/base/services/java/com/android/server/
H A DRecognitionManagerService.java93 // See if the current recognizer is no longer available.
111 List<ResolveInfo> available =
114 int numAvailable = available.size();
117 Slog.w(TAG, "no available voice recognition services found for user " + userHandle);
122 ServiceInfo serviceInfo = available.get(i).serviceInfo;
132 ServiceInfo serviceInfo = available.get(0).serviceInfo;
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
H A DFusionEngine.java75 mStats.get(GPS).available = mLocationManager.isProviderEnabled(GPS);
77 mStats.get(NETWORK).available = mLocationManager.isProviderEnabled(NETWORK);
118 public boolean available; field in class:FusionEngine.ProviderStats
125 s.append(available ? "AVAILABLE" : "UNAVAILABLE");
277 stats.available = true;
286 stats.available = false;
/frameworks/base/core/java/android/widget/
H A DAbsSeekBar.java287 int available = w - mPaddingLeft - mPaddingRight;
290 available -= thumbWidth;
293 available += mThumbOffset * 2;
295 int thumbPos = (int) (scale * available);
308 final int left = isLayoutRtl() ? available - thumbPos : thumbPos;
425 final int available = width - mPaddingLeft - mPaddingRight;
435 scale = (float)(available - x + mPaddingLeft) / (float)available;
444 scale = (float)(x - mPaddingLeft) / (float)available;
/frameworks/base/core/java/android/speech/srec/
H A DUlawEncoderInputStream.java184 public int available() throws IOException { method in class:UlawEncoderInputStream
185 return (mIn.available() + mBufCount) / 2;
/frameworks/base/core/java/android/util/
H A DAtomicFile.java210 int avail = stream.available();
222 avail = stream.available();
H A DBase64InputStream.java92 public int available() { method in class:Base64InputStream
/frameworks/base/core/java/com/android/internal/os/
H A DAtomicFile.java145 int avail = stream.available();
157 avail = stream.available();
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DParserFactory.java90 avail = bufferedStream.available();
103 // available() returned!)
104 while ((avail = bufferedStream.available()) > 0) {
/frameworks/support/v4/java/android/support/v4/util/
H A DAtomicFile.java179 int avail = stream.available();
191 avail = stream.available();
/frameworks/base/core/java/com/android/internal/util/
H A DBitwiseInputStream.java59 * Return the number of bit still available for reading.
61 public int available() { method in class:BitwiseInputStream
/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java83 * Next available nonce
88 public void onUsbMassStorageConnectionChanged(boolean available) { argument
91 mListeners.get(i).sendShareAvailabilityChanged(available);
228 public boolean available; field in class:StorageManager.UmsConnectionChangedStorageEvent
232 available = a;
268 mStorageEventListener.onUsbMassStorageConnectionChanged(ev.available);
283 void sendShareAvailabilityChanged(boolean available) { argument
284 UmsConnectionChangedStorageEvent e = new UmsConnectionChangedStorageEvent(available);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_inter_prediction.c58 u32 available; member in struct:__anon817
516 (!a[0].available || !a[1].available ||
526 if (!a[2].available)
601 if (!a[2].available)
639 a[1].available = HANTRO_TRUE;
643 /* c is not available */
708 if (!a[2].available)
742 if (!a[2].available)
750 a[0].available
[all...]
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
H A DPduParser.java239 while (keepParsing && (pduDataStream.available() > 0)) {
843 int startPos = pduDataStream.available();
871 int endPos = pduDataStream.available();
1359 int startPos = pduDataStream.available();
1404 tempPos = pduDataStream.available();
1428 tempPos = pduDataStream.available();
1472 tempPos = pduDataStream.available();
1491 tempPos = pduDataStream.available();
1539 int startPos = pduDataStream.available();
1562 int endPos = pduDataStream.available();
[all...]
/frameworks/base/core/java/android/content/res/
H A DAssetFileDescriptor.java181 public int available() throws IOException { method in class:AssetFileDescriptor.AutoCloseInputStream
184 : super.available();
/frameworks/native/services/surfaceflinger/
H A DAndroid.mk61 # uses jni which may not be available in PDK

Completed in 385 milliseconds

1234