/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
H A D | BitmapRegionTileSource.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 71 InputStream is, boolean isShareable) { 73 BitmapRegionDecoder d = BitmapRegionDecoder.newInstance(is, isShareable); 108 public static DumbBitmapRegionDecoder newInstance(InputStream is) { argument 109 Bitmap b = BitmapFactory.decodeStream(is); 267 InputStream is = mContext.getContentResolver().openInputStream(mUri); 268 return new BufferedInputStream(is); 273 InputStream is = regenerateInputStream(); 275 SimpleBitmapRegionDecoderWrapper.newInstance(is, false); 276 Utils.closeSilently(is); 70 newInstance( InputStream is, boolean isShareable) argument [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/core/java/android/widget/ |
H A D | VideoView.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 70 * change from its previously returned value when the VideoView is restored. 88 // mCurrentState is a VideoView object's current state. 89 // mTargetState is the state that a method caller intends to reach. 155 // the size is fixed 168 // only the width is fixed, adjust the height to match aspect ratio if possible 176 // only the height is fixed, adjust the width to match aspect ratio if possible 256 * Note that the cross domain redirection is allowed by default, but that can be 284 * @param is input stream containing the subtitle data. It will be 292 public void addSubtitleSource(InputStream is, MediaForma argument [all...] |
/frameworks/opt/vcard/java/com/android/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 1000 parse(InputStream is) argument 1031 parseOne(InputStream is) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | BitmapFactory.cpp | 182 ALOGW("bitmap is too large"); 292 // If the java allocator is being used to allocate the pixel memory, the decoder 293 // need not write zeroes, since the memory is initialized to 0. 311 // happens earlier than AutoDecoderCancel object is added 379 // This is weird so let me explain: we could use the scale parameter 380 // directly, but for historical reasons this is how the corresponding 382 // The result is slightly different from simply using scale because of 389 // FIXME: If the alphaType is kUnpremul and the image has alpha, the 398 // If outputBitmap's pixels are newly allocated by Java, there is no need 456 // trying to determine the stream's format. Currently the most is 6 461 nativeDecodeStream(JNIEnv* env, jobject clazz, jobject is, jbyteArray storage, jobject padding, jobject options) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | BitmapDrawable.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 107 * instead to specify a bitmap to draw with and ensure the correct density is set. 178 public BitmapDrawable(java.io.InputStream is) { argument 179 this(new BitmapState(BitmapFactory.decodeStream(is)), null, null); 181 android.util.Log.w("BitmapDrawable", "BitmapDrawable cannot decode " + is); 189 public BitmapDrawable(Resources res, java.io.InputStream is) { argument 190 this(new BitmapState(BitmapFactory.decodeStream(is)), null, null); 193 android.util.Log.w("BitmapDrawable", "BitmapDrawable cannot decode " + is); 297 * If the bitmap is null calling this method has no effect. 311 * Indicates whether the mipmap hint is enable [all...] |
H A D | Drawable.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 56 * A Drawable is a general abstraction for "something that can be drawn." Most 64 * mechanisms for its client to interact with what is being drawn: 68 * Drawable where it is drawn and how large it should be. All Drawables 74 * information about how to frame content that is placed inside of them. 75 * For example, a Drawable that is intended to be the frame for a button 80 * in which state it is to be drawn, such as "focused", "selected", etc. 84 * continuous controller that can modify the Drawable is displayed, such as 91 * simple way to do this is through the system facilities such as 113 * whose overall size is modifie 922 createFromStream(InputStream is, String srcName) argument 935 createFromResourceStream(Resources res, TypedValue value, InputStream is, String srcName) argument 949 createFromResourceStream(Resources res, TypedValue value, InputStream is, String srcName, BitmapFactory.Options opts) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | NetworkControllerImpl.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 169 void setIsAirplaneMode(boolean is, int airplaneIcon); argument 239 // AIRPLANE_MODE_CHANGED is sent at boot; we've probably already missed it 382 // wimax is special 429 // Wimax is special 519 // In cdma, if a voice call is made, RSSI should switch to 1x. 583 // Consider the device to be in service if either voice or data service is available. 586 // service" or "emergency calls only" text that indicates that voice is not available. 673 // wimax is a special 4g network not handled by telephony 1126 // being routed over that link is tha [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaPlayer.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 96 * <p>Playback control of audio/video files and streams is managed as a state 112 * <li>When a MediaPlayer object is just created using <code>new</code> or 113 * after {@link #reset()} is called, it is in the <em>Idle</em> state; and after 114 * {@link #release()} is called, it is in the <em>End</em> state. Between these 115 * two states is the life cycle of the MediaPlayer object. 117 * <li>There is a subtle but important difference between a newly constructed 119 * is calle 1982 addSubtitleSource(InputStream is, MediaFormat format) argument [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | ExifInterface.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 56 * Each ExifTag has a tag ID (TID) and is stored in a specific image file 58 * looked up with a constant that is a combination of TID and IFD. This 370 * <li>TOP_LEFT is the normal orientation.</li> 371 * <li>TOP_RIGHT is a left-right mirror.</li> 372 * <li>BOTTOM_LEFT is a 180 degree rotation.</li> 373 * <li>BOTTOM_RIGHT is a top-bottom mirror.</li> 374 * <li>LEFT_TOP is mirrored about the top-left<->bottom-right axis.</li> 375 * <li>RIGHT_TOP is a 90 degree clockwise rotation.</li> 376 * <li>LEFT_BOTTOM is mirrore 2043 doExifStreamIO(InputStream is, OutputStream os) argument [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, 384 // The timer of WAKE_LOCK_TIMEOUT is reset with each 414 * The final message (length header omitted) is read into 416 * is returned. A return value of -1 indicates end-of-stream. 418 * @param is non-null; Stream to read from 424 private static int readRilMessage(InputStream is, byte[] buffer) argument 435 countRead = is.read(buffer, offset, remaining); 455 countRead = is.read(buffer, offset, remaining); 537 InputStream is = mSocket.getInputStream(); 542 length = readRilMessage(is, buffe [all...] |
/frameworks/testing/espresso/libs/ |
H A D | jarjar-1.4.jar | ... io.IOException int amt
java.io.InputStream is
java.io.OutputStream out
byte[] buf
public static ... |
H A D | guava-14.0.1.jar | META-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ... |
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... java.io.File) java.io.BufferedReader is
java.util.Formatter stdout
String line
ProcessBuilder pb ... |
/frameworks/testing/espresso/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... java.io.File) java.io.BufferedReader is
java.util.Formatter stdout
String line
ProcessBuilder pb ... |
/frameworks/support/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... java.io.File) java.io.BufferedReader is
java.util.Formatter stdout
String line
ProcessBuilder pb ... |