/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_dequantize_sample.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 58 int32 is[SUBBANDS_NUMBER*FILTERBANK_BANDS], 65 int32 is[SUBBANDS_NUMBER*FILTERBANK_BANDS], dequantize output as (.)^(4/3) 187 void pvmp3_dequantize_sample(int32 is[SUBBANDS_NUMBER*FILTERBANK_BANDS], argument 294 /* 0 < abs(is[ss]) < 8192 */ 296 int32 tmp = fxp_mul32_Q30((is[ss] << 16), power_1_third(pv_abs(is[ ss]))); 305 is[ss] = (tmp >> temp); 309 is[ss] = 0; 314 is[s [all...] |
H A D | pvmp3_huffman_decoding.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 123 int32 *is, 180 *is = v; 181 *(is + 1) = w; 182 *(is + 2) = x; 183 *(is + 3) = y; 190 int32 *is, 228 *is = x; 229 *(is + 1) = y; 233 *is 122 pvmp3_huffman_quad_decoding(struct huffcodetab *h, int32 *is, tmp3Bits *pMainData) argument 189 pvmp3_huffman_pair_decoding(struct huffcodetab *h, int32 *is, tmp3Bits *pMainData) argument 244 pvmp3_huffman_pair_decoding_linbits(struct huffcodetab *h, int32 *is, tmp3Bits *pMainData) argument [all...] |
H A D | pvmp3_huffman_parsing.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 44 int32 is[], 51 int32 is[], uncompressed data 125 int32 pvmp3_huffman_parsing(int32 is[SUBBANDS_NUMBER*FILTERBANK_BANDS], argument 197 (*pt_huff)(h, &is[i], pMainData); 212 (*pt_huff)(h, &is[i], pMainData); 227 (*pt_huff)(h, &is[i], pMainData); 243 (*pt_huff)(h, &is[i], pMainData); 257 (*pt_huff)(h, &is[i], pMainData); 274 (*pt_huff)(h, &is[ [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothSocket.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 41 * <p>The interface for Bluetooth Sockets is similar to that of TCP sockets: 44 * socket. When a connection is accepted by the {@link BluetoothServerSocket}, 49 * <p>The most common type of Bluetooth socket is RFCOMM, which is the type 50 * supported by the Android APIs. RFCOMM is a connection-oriented, streaming 51 * transport over Bluetooth. It is also known as the Serial Port Profile (SPP). 57 * This call will block until a connection is established or the connection 63 * <p>Once the socket is connected, whether initiated as a client or accepted 69 * <p>{@link BluetoothSocket} is threa 467 waitSocketSignal(InputStream is) argument 487 readAll(InputStream is, byte[] b) argument 501 readInt(InputStream is) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | BitmapFactory.cpp | 235 // happens earlier than AutoDecoderCancel object is added 322 // This is weird so let me explain: we could use the scale parameter 323 // directly, but for historical reasons this is how the corresponding 325 // The result is slightly different from simply using scale because of 395 static jobject nativeDecodeStreamScaled(JNIEnv* env, jobject clazz, jobject is, jbyteArray storage, argument 399 SkStream* stream = CreateJavaInputStreamAdaptor(env, is, storage, 0); 409 static jobject nativeDecodeStream(JNIEnv* env, jobject clazz, jobject is, jbyteArray storage, argument 412 return nativeDecodeStreamScaled(env, clazz, is, storage, padding, options, false, 1.0f); 450 with the same descriptor. This is only required if we didn't dup the 451 file descriptor, but it is O [all...] |
H A D | BitmapRegionDecoder.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 133 with the same descriptor. This is only required if we didn't dup the 134 file descriptor, but it is OK to do it all the time. 151 jobject is, // InputStream 155 SkStream* stream = CreateJavaInputStreamAdaptor(env, is, storage, 1024); 213 // happens earlier than AutoDecoderCancel object is added 150 nativeNewInstanceFromStream(JNIEnv* env, jobject clazz, jobject is, jbyteArray storage, jboolean isShareable) argument
|
/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | AssetTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 35 public static void verifyTextAsset(InputStream is) throws IOException { argument 41 while ((readCount = is.read(buffer, 0, buffer.length)) > 0) { 51 readCount = is.read(buffer, 0, buffer.length); 55 readCount = is.read(buffer, buffer.length, 0); 59 is.close(); 64 InputStream is = mAssets.open("text.txt"); 65 verifyTextAsset(is);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | BitmapFactory.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 63 * set in the Options structure is a way to see if the bitmap was reused, 86 * image, returning a smaller image to save memory. The sample size is 89 * an image that is 1/4 the width/height of the original, and 1/16 the 90 * number of pixels. Any value <= 1 is treated the same as 1. Note: the 98 * If this is non-null, the decoder will try to decode into this 99 * internal configuration. If it is null, or the request cannot be met, 110 * If dither is true, the decoder will attempt to dither the decoded 119 * if {@link #inScaled} is set (which it is b 335 decodeResourceStream(Resources res, TypedValue value, InputStream is, Rect pad, Options opts) argument 467 decodeStream(InputStream is, Rect outPadding, Options opts) argument 600 decodeStream(InputStream is) argument 649 nativeDecodeStream(InputStream is, byte[] storage, Rect padding, Options opts) argument 651 nativeDecodeStream(InputStream is, byte[] storage, Rect padding, Options opts, boolean applyScale, float scale) argument [all...] |
H A D | BitmapRegionDecoder.java | 10 * distributed under the License is distributed on an "AS IS" BASIS, 28 * BitmapRegionDecoder is particularly useful when an original image is large and 51 * @param isShareable If this is true, then the BitmapRegionDecoder may keep a 52 * shallow reference to the input. If this is false, 54 * input data, and keep that. Even if sharing is allowed, 56 * copy of the input data. If an image is progressively encoded, 59 * @throws IOException if the image format is not supported or can not be decoded. 72 * this returns, so the descriptor can be used again as is. 76 * @param isShareable If this is tru 109 newInstance(InputStream is, boolean isShareable) argument 270 nativeNewInstance( InputStream is, byte[] storage, boolean isShareable) argument [all...] |
H A D | Movie.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 45 public static native Movie decodeStream(InputStream is); argument 52 InputStream is; 54 is = new FileInputStream(pathName); 59 return decodeTempStream(is); 71 private static Movie decodeTempStream(InputStream is) { argument 74 moov = decodeStream(is); 75 is.close(); 80 If it happened on close, moov is still valid.
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | BitmapDrawable.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 145 public BitmapDrawable(java.io.InputStream is) { argument 146 this(new BitmapState(BitmapFactory.decodeStream(is)), null); 148 android.util.Log.w("BitmapDrawable", "BitmapDrawable cannot decode " + is); 156 public BitmapDrawable(Resources res, java.io.InputStream is) { argument 157 this(new BitmapState(BitmapFactory.decodeStream(is)), null); 160 android.util.Log.w("BitmapDrawable", "BitmapDrawable cannot decode " + is); 261 * the edges of the bitmap only so it applies only when the drawable is rotated. 306 * is smaller than this drawable. 321 * is smalle [all...] |
H A D | Drawable.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 47 * A Drawable is a general abstraction for "something that can be drawn." Most 55 * mechanisms for its client to interact with what is being drawn: 59 * Drawable where it is drawn and how large it should be. All Drawables 65 * information about how to frame content that is placed inside of them. 66 * For example, a Drawable that is intended to be the frame for a button 71 * in which state it is to be drawn, such as "focused", "selected", etc. 75 * continuous controller that can modify the Drawable is displayed, such as 82 * simple way to do this is through the system facilities such as 104 * whose overall size is modifie 743 createFromStream(InputStream is, String srcName) argument 751 createFromResourceStream(Resources res, TypedValue value, InputStream is, String srcName) argument 760 createFromResourceStream(Resources res, TypedValue value, InputStream is, String srcName, BitmapFactory.Options opts) argument [all...] |
/frameworks/base/libs/hwui/utils/ |
H A D | SortedListImpl.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 88 const size_t is = itemSize(); local 91 ssize_t err = add(reinterpret_cast<const char*> (buffer) + i * is);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | SignalClusterView.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 128 public void setIsAirplaneMode(boolean is, int airplaneIconId) { argument 129 mIsAirplaneMode = is;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | NetworkController.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 173 void setIsAirplaneMode(boolean is, int airplaneIcon); argument 249 // AIRPLANE_MODE_CHANGED is sent at boot; we've probably already missed it 326 // wimax is special 360 // Wimax is special 445 // In cdma, if a voice call is made, RSSI should switch to 1x. 557 // Though mPhone is a Manager, this call is not an IPC 576 // wimax is a special 4g network not handled by telephony 1013 // being routed over that link is tha [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
H A D | TestWebServer.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 27 * TestWebServer is a simulated controllable test server that 62 /* Indicator for whether this server is configured as a HTTP/1.1 122 * @param timeout Indicates the period of time to wait until a socket is 192 * When this value is set, the server will respond to a request with 216 * The AcceptThread is responsible for initiating worker threads 230 // Socket timeout functionality is not available yet 322 * connection. If pipelining is turned on, this will allow this 324 * connection is closed. 432 * @param is Inputstrea 435 readOneLine(InputStream is) argument 473 readData(InputStream is, int length) argument 497 parseStatusLine(InputStream is) argument 567 parseHeader(InputStream is) argument 605 readHeaders(InputStream is) argument 626 readContent(InputStream is) argument [all...] |
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/forwarder/ |
H A D | AdbUtils.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 82 * @param is input stream of the socket connection 88 public static boolean sendAdbCmd(InputStream is, OutputStream os, argument 94 int read = is.read(buf); 106 * The proxying is transparent, e.g. if a socket is returned, then it can be written to and 107 * read from as if it is directly connected to the target
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | ColladaParser.java | 11 * distributed under the License is distributed on an "AS IS" BASIS,
74 public void init(InputStream is, String rootDir) {
argument 85 mDom = db.parse(is);
138 // Material is just a link to the effect
276 // This will find the actual texture node, which is sometimes hidden behind a sampler
281 // Check to see if the image file is hidden by a sampler surface link combo
313 // Now find what type it is
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BitmapFactory_Delegate.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 68 // TODO: This is very inefficient and should be done in native by Skia 88 /*package*/ static Bitmap nativeDecodeStream(InputStream is, byte[] storage, argument 90 return nativeDecodeStream(is, storage, padding, opts, false, 1.f); 94 /*package*/ static Bitmap nativeDecodeStream(InputStream is, byte[] storage, argument 106 if (is instanceof NinePatchInputStream) { 107 NinePatchInputStream npis = (NinePatchInputStream) is; 130 bm = Bitmap_Delegate.createBitmap(is, true, density);
|
/frameworks/ex/photoviewer/src/com/android/ex/photo/util/ |
H A D | ImageUtils.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 77 * @return true if the MimeType type is image 130 * @param is The input stream that holds the raw data to be decoded into a 134 * no bitmap is returned (null) then padding is 137 * image should be completely decoded, or just is size returned. 139 * decoded, or, if opts is non-null, if opts requested only the 142 public static Bitmap decodeStream(InputStream is, Rect outPadding, BitmapFactory.Options opts) { argument 147 int n = is.read(buffer); 150 n = is [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
H A D | ImageUtils.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 85 * @return true if the MimeType type is image 141 * @param is The input stream that holds the raw data to be decoded into a 145 * no bitmap is returned (null) then padding is 148 * image should be completely decoded, or just is size returned. 150 * decoded, or, if opts is non-null, if opts requested only the 153 public static Bitmap decodeStream(InputStream is, Rect outPadding, BitmapFactory.Options opts) { argument 159 int n = is.read(buffer); 162 n = is [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | RIL.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 386 // The timer of WAKE_LOCK_TIMEOUT is reset with each 396 Log.d(LOG_TAG, "NOTE: mReqWaiting is NOT 0 but" 420 // is the expected time to get response, all requests 422 // mRequestMessagesPending is 0 )while TIMEOUT occurs. 424 Log.e(LOG_TAG, "ERROR: mReqPending is NOT 0 but" 440 * The final message (length header omitted) is read into 442 * is returned. A return value of -1 indicates end-of-stream. 444 * @param is non-null; Stream to read from 450 private static int readRilMessage(InputStream is, byt argument [all...] |
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardParser.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 40 * @param is The source to parse. 43 public abstract void parse(InputStream is) throws IOException, VCardException; argument 55 * <p>This happens when the first entry contains nested vCards, which is allowed in vCard 2.1. 71 * @param is The source to parse. 74 public abstract void parseOne(InputStream is) throws IOException, VCardException; argument 81 public void parse(InputStream is, VCardInterpreter interpreter) argument 84 parse(is); 92 * Actual cancel is done after parsing the current vcard.
|
H A D | VCardParserImpl_V21.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 109 * The encoding type for deconding byte streams. This member variable is 113 * "Encoding" in vCard is different from "Charset". It is mainly used for 135 * Set for storing unkonwn TYPE attributes, which is not acceptable in vCard 146 * Set for storing unkonwn VALUE attributes, which is not acceptable in 165 * @return true when a given property name is a valid property name. 374 // This loop is developed so that we don't have to take care of bottle neck here. 385 } else if (ch == '.') { // Each group is followed by the dot. 510 // Update encoding right away, as this is neede 996 parse(InputStream is) argument 1027 parseOne(InputStream is) argument [all...] |
H A D | VCardParser_V21.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 32 * The spec is written in 1996, and currently various types of "vCard 2.1" exist. 35 * In stead, not only vCard spec but also real world vCard is considered. 38 * the PNG format to determine the type of image, while it is not allowed in 107 public void parse(InputStream is) throws IOException, VCardException { argument 108 mVCardParserImpl.parse(is); 112 public void parseOne(InputStream is) throws IOException, VCardException { argument 113 mVCardParserImpl.parseOne(is);
|