/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/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | MediaRouteDescriptor.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 32 * Each route is uniquely identified by an opaque id string. This token 33 * may take any form as long as it is unique within the media route provider. 35 * This object is immutable once created using a {@link Builder} instance. 98 * Gets whether the route is enabled. 105 * Gets whether the route is connecting. 329 * Sets whether the route is enabled. 341 * Sets whether the route is in the process of connecting and is not yet 361 public Builder setSettingsActivity(IntentSender is) { argument [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothSocket.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 40 * <p>The interface for Bluetooth Sockets is similar to that of TCP sockets: 43 * socket. When a connection is accepted by the {@link BluetoothServerSocket}, 48 * <p>The most common type of Bluetooth socket is RFCOMM, which is the type 49 * supported by the Android APIs. RFCOMM is a connection-oriented, streaming 50 * transport over Bluetooth. It is also known as the Serial Port Profile (SPP). 56 * This call will block until a connection is established or the connection 62 * <p>Once the socket is connected, whether initiated as a client or accepted 68 * <p>{@link BluetoothSocket} is threa 641 waitSocketSignal(InputStream is) argument 679 readAll(InputStream is, byte[] b) argument 694 readInt(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, 68 * change from its previously returned value when the VideoView is restored. 86 // mCurrentState is a VideoView object's current state. 87 // mTargetState is the state that a method caller intends to reach. 153 // the size is fixed 166 // only the width is fixed, adjust the height to match aspect ratio if possible 174 // only the height is fixed, adjust the width to match aspect ratio if possible 247 * Note that the cross domain redirection is allowed by default, but that can be 275 * @param is input stream containing the subtitle data. It will be 283 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 | 175 ALOGW("bitmap is too large"); 280 // If the java allocator is being used to allocate the pixel memory, the decoder 281 // need not write zeroes, since the memory is initialized to 0. 299 // happens earlier than AutoDecoderCancel object is added 372 // This is weird so let me explain: we could use the scale parameter 373 // directly, but for historical reasons this is how the corresponding 375 // The result is slightly different from simply using scale because of 382 // FIXME: If the alphaType is kUnpremul and the image has alpha, the 391 // If outputBitmap's pixels are newly allocated by Java, there is no need 447 // trying to determine the stream's format. Currently the most is 6 452 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, 108 * instead to specify a bitmap to draw with and ensure the correct density is set. 179 public BitmapDrawable(java.io.InputStream is) { argument 180 this(new BitmapState(BitmapFactory.decodeStream(is)), null); 182 android.util.Log.w("BitmapDrawable", "BitmapDrawable cannot decode " + is); 190 public BitmapDrawable(Resources res, java.io.InputStream is) { argument 191 this(new BitmapState(BitmapFactory.decodeStream(is)), null); 194 android.util.Log.w("BitmapDrawable", "BitmapDrawable cannot decode " + is); 299 * If the bitmap is null calling this method has no effect. 313 * 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, 59 * A Drawable is a general abstraction for "something that can be drawn." Most 67 * mechanisms for its client to interact with what is being drawn: 71 * Drawable where it is drawn and how large it should be. All Drawables 77 * information about how to frame content that is placed inside of them. 78 * For example, a Drawable that is intended to be the frame for a button 83 * in which state it is to be drawn, such as "focused", "selected", etc. 87 * continuous controller that can modify the Drawable is displayed, such as 94 * simple way to do this is through the system facilities such as 116 * whose overall size is modifie 1029 createFromStream(InputStream is, String srcName) argument 1042 createFromResourceStream(Resources res, TypedValue value, InputStream is, String srcName) argument 1056 createFromResourceStream(Resources res, TypedValue value, InputStream is, String srcName, BitmapFactory.Options opts) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaPlayer.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 104 * <p>Playback control of audio/video files and streams is managed as a state 120 * <li>When a MediaPlayer object is just created using <code>new</code> or 121 * after {@link #reset()} is called, it is in the <em>Idle</em> state; and after 122 * {@link #release()} is called, it is in the <em>End</em> state. Between these 123 * two states is the life cycle of the MediaPlayer object. 125 * <li>There is a subtle but important difference between a newly constructed 127 * is calle 2235 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, 415 // The timer of WAKE_LOCK_TIMEOUT is reset with each 445 * The final message (length header omitted) is read into 447 * is returned. A return value of -1 indicates end-of-stream. 449 * @param is non-null; Stream to read from 455 private static int readRilMessage(InputStream is, byte[] buffer) argument 466 countRead = is.read(buffer, offset, remaining); 486 countRead = is.read(buffer, offset, remaining); 569 InputStream is = mSocket.getInputStream(); 574 length = readRilMessage(is, buffe [all...] |
/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/data-binding/compiler/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... java.io.File) java.io.BufferedReader is
java.util.Formatter stdout
String line
ProcessBuilder pb ... |
/frameworks/data-binding/extensions/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... java.io.File) java.io.BufferedReader is
java.util.Formatter stdout
String line
ProcessBuilder pb ... |
/frameworks/data-binding/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... java.io.File) java.io.BufferedReader is
java.util.Formatter stdout
String line
ProcessBuilder pb ... |
/frameworks/data-binding/gradlePlugin/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... java.io.File) java.io.BufferedReader is
java.util.Formatter stdout
String line
ProcessBuilder pb ... |
/frameworks/data-binding/integration-tests/App With Spaces/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... java.io.File) java.io.BufferedReader is
java.util.Formatter stdout
String line
ProcessBuilder pb ... |
/frameworks/data-binding/integration-tests/IndependentLibrary/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... java.io.File) java.io.BufferedReader is
java.util.Formatter stdout
String line
ProcessBuilder pb ... |
/frameworks/data-binding/integration-tests/MultiModuleTestApp/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... java.io.File) java.io.BufferedReader is
java.util.Formatter stdout
String line
ProcessBuilder pb ... |
/frameworks/data-binding/integration-tests/TestApp/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... java.io.File) java.io.BufferedReader is
java.util.Formatter stdout
String line
ProcessBuilder pb ... |
/frameworks/data-binding/samples/BindingDemo/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... java.io.File) java.io.BufferedReader is
java.util.Formatter stdout
String line
ProcessBuilder pb ... |
/frameworks/data-binding/developmentPlugins/bintrayPlugin/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... java.io.File) java.io.BufferedReader is
java.util.Formatter stdout
String line
ProcessBuilder pb ... |
/frameworks/data-binding/developmentPlugins/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... java.io.File) java.io.BufferedReader is
java.util.Formatter stdout
String line
ProcessBuilder pb ... |
/frameworks/multidex/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... java.io.File) java.io.BufferedReader is
java.util.Formatter stdout
String line
ProcessBuilder pb ... |