/frameworks/base/graphics/java/android/graphics/ |
D | Movie.java | 46 public static Movie decodeStream(InputStream is) { in decodeStream() argument 47 if (is == null) { in decodeStream() 50 if (is instanceof AssetManager.AssetInputStream) { in decodeStream() 51 final long asset = ((AssetManager.AssetInputStream) is).getNativeAsset(); in decodeStream() 55 return nativeDecodeStream(is); in decodeStream() 59 private static native Movie nativeDecodeStream(InputStream is); in nativeDecodeStream() argument 66 InputStream is; in decodeFile() local 68 is = new FileInputStream(pathName); in decodeFile() 73 return decodeTempStream(is); in decodeFile() 85 private static Movie decodeTempStream(InputStream is) { in decodeTempStream() argument [all …]
|
D | BitmapFactory.java | 425 InputStream is, Rect pad, Options opts) { in decodeResourceStream() argument 444 return decodeStream(is, pad, opts); in decodeResourceStream() 461 InputStream is = null; in decodeResource() local 465 is = res.openRawResource(id, value); in decodeResource() 467 bm = decodeResourceStream(res, value, is, null, opts); in decodeResource() 475 if (is != null) is.close(); in decodeResource() 596 public static Bitmap decodeStream(InputStream is, Rect outPadding, Options opts) { in decodeStream() argument 599 if (is == null) { in decodeStream() 607 if (is instanceof AssetManager.AssetInputStream) { in decodeStream() 608 final long asset = ((AssetManager.AssetInputStream) is).getNativeAsset(); in decodeStream() [all …]
|
/frameworks/native/opengl/specs/ |
D | EGL_ANDROID_native_fence_sync.txt | 33 This extension is written against the wording of the EGL 1.2 Specification 35 EGL_KHR_fence_sync is required. 40 associated with a native synchronization fence object that is referenced 65 in <value> when eglGetSyncAttribKHR is called with <attribute> 79 Returned in <value> when eglGetSyncAttribKHR is called with <attribute> 89 "If <type> is EGL_SYNC_NATIVE_FENCE_ANDROID, an EGL native fence sync 90 object is created. In this case the EGL_SYNC_NATIVE_FENCE_FD_ANDROID 91 attribute may optionally be specified. If this attribute is specified, it 105 If the EGL_SYNC_NATIVE_FENCE_FD_ANDROID attribute is not 106 EGL_NO_NATIVE_FENCE_FD_ANDROID then the EGL_SYNC_CONDITION_KHR attribute is [all …]
|
D | EGL_ANDROID_presentation_time.txt | 35 This extension is written against the wording of the EGL 1.4 Specification 39 Often when rendering a sequence of images, there is some time at which each 40 image is intended to be presented to the viewer. This extension allows 47 * EGLnsecsANDROID is a signed integer type for representing a time in 80 an absolute time is needed such as displaying the color buffer on a 82 clock. For situations in which an absolute time is not needed such as 90 visible, but if the color buffer is subsequently posted to a native window 94 If the surface presentation time is successfully set, EGL_TRUE is 95 returned. Otherwise EGL_FALSE is returned and an appropriate error is 96 set. If <dpy> is not the name of a valid, initialized EGLDisplay, an [all …]
|
D | EGL_ANDROID_image_native_buffer.txt | 33 EGL 1.2 is required. 35 EGL_KHR_image_base is required. 37 This extension is written against the wording of the EGL 1.2 76 If <target> is EGL_NATIVE_BUFFER_ANDROID, <dpy> must be a valid display, 83 "* If <target> is EGL_NATIVE_BUFFER_ANDROID and <buffer> is not a 85 is generated. 87 * If <target> is EGL_NATIVE_BUFFER_ANDROID and <ctx> is not 88 EGL_NO_CONTEXT, the error EGL_BAD_CONTEXT is generated. 90 * If <target> is EGL_NATIVE_BUFFER_ANDROID and <buffer> was created 92 the EGL implementation, the error EGL_BAD_PARAMETER is generated."
|
D | EGL_ANDROID_blob_cache.txt | 33 This extension is written against the wording of the EGL 1.4 Specification 47 program. The management of the cache is handled by the application (or 51 While the focus of this extension is on providing a persistent cache for 52 shader binaries, it may also be useful for caching other data. This is 56 Note that although this extension is written as if the application 57 implements the caching functionality, on the Android OS it is implemented 58 as part of the Android EGL module. This extension is not exposed to 60 application that uses EGL if it is supported by the underlying 66 * EGLsizeiANDROID is a signed integer type for representing the size of a 73 * EGLSetBlobFunc is a pointer to an application-provided function that a [all …]
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_dequantize_sample.cpp | 187 void pvmp3_dequantize_sample(int32 is[SUBBANDS_NUMBER*FILTERBANK_BANDS], in pvmp3_dequantize_sample() 296 int32 tmp = fxp_mul32_Q30((is[ss] << 16), power_1_third(pv_abs(is[ ss]))); in pvmp3_dequantize_sample() 305 is[ss] = (tmp >> temp); in pvmp3_dequantize_sample() 309 is[ss] = 0; in pvmp3_dequantize_sample() 314 is[ss] = (tmp << global_gain); in pvmp3_dequantize_sample() 352 int32 tmp = is[ss]; in pvmp3_dequantize_sample() 356 is[ss] = fxp_mul32_Q30(tmp, two_raise_one_fourth) >> global_gain; in pvmp3_dequantize_sample() 358 tmp = is[ss+1]; in pvmp3_dequantize_sample() 362 is[ss+1] = fxp_mul32_Q30(tmp, two_raise_one_fourth) >> global_gain; in pvmp3_dequantize_sample() 368 pv_memset(&is[ mp3_sfBandIndex[sfreq].l[cb]], in pvmp3_dequantize_sample() [all …]
|
D | pvmp3_huffman_decoding.cpp | 123 int32 *is, in pvmp3_huffman_quad_decoding() argument 180 *is = v; in pvmp3_huffman_quad_decoding() 181 *(is + 1) = w; in pvmp3_huffman_quad_decoding() 182 *(is + 2) = x; in pvmp3_huffman_quad_decoding() 183 *(is + 3) = y; in pvmp3_huffman_quad_decoding() 190 int32 *is, in pvmp3_huffman_pair_decoding() argument 228 *is = x; in pvmp3_huffman_pair_decoding() 229 *(is + 1) = y; in pvmp3_huffman_pair_decoding() 233 *is = 0; in pvmp3_huffman_pair_decoding() 234 *(is + 1) = 0; in pvmp3_huffman_pair_decoding() [all …]
|
D | pvmp3_huffman_parsing.cpp | 125 int32 pvmp3_huffman_parsing(int32 is[SUBBANDS_NUMBER*FILTERBANK_BANDS], in pvmp3_huffman_parsing() 197 (*pt_huff)(h, &is[i], pMainData); in pvmp3_huffman_parsing() 212 (*pt_huff)(h, &is[i], pMainData); in pvmp3_huffman_parsing() 227 (*pt_huff)(h, &is[i], pMainData); in pvmp3_huffman_parsing() 243 (*pt_huff)(h, &is[i], pMainData); in pvmp3_huffman_parsing() 257 (*pt_huff)(h, &is[i], pMainData); in pvmp3_huffman_parsing() 274 (*pt_huff)(h, &is[i], pMainData); in pvmp3_huffman_parsing() 288 pvmp3_huffman_quad_decoding(h, &is[i], pMainData); in pvmp3_huffman_parsing() 295 pvmp3_huffman_quad_decoding(h, &is[i], pMainData); in pvmp3_huffman_parsing() 301 is[i] = 0; in pvmp3_huffman_parsing() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | MacAuthenticatedInputStreamTest.java | 73 MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac); in testString1Authenticate_Success() local 75 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is))); in testString1Authenticate_Success() 77 assertTrue(is.isTagEqual(TEST_STRING_1_MAC)); in testString1Authenticate_Success() 84 MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac); in testString1Authenticate_WrongTag_Failure() local 86 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is))); in testString1Authenticate_WrongTag_Failure() 88 assertFalse(is.isTagEqual(TEST_STRING_1_MAC_BROKEN)); in testString1Authenticate_WrongTag_Failure() 95 MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac); in testString1Authenticate_NullTag_Failure() local 97 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is))); in testString1Authenticate_NullTag_Failure() 99 assertFalse(is.isTagEqual(null)); in testString1Authenticate_NullTag_Failure() 106 MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac); in testString1Authenticate_ReadSingleByte_Success() local [all …]
|
D | LimitedLengthInputStreamTest.java | 42 InputStream is = new LimitedLengthInputStream(mTestStream1, -1, TEST_STRING1.length); in testConstructor_NegativeOffset_Failure() local 52 InputStream is = new LimitedLengthInputStream(mTestStream1, 0, -1); in testConstructor_NegativeLength_Failure() local 62 InputStream is = new LimitedLengthInputStream(null, 0, 1); in testConstructor_NullInputStream_Failure() local 72 InputStream is = new LimitedLengthInputStream(mTestStream1, Long.MAX_VALUE - 1, in testConstructor_OffsetLengthOverflow_Fail() local 88 InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length); in checkReadBytesWithOffsetAndLength_WithString1() local 89 assertEquals(length, is.read(temp, 0, temp.length)); in checkReadBytesWithOffsetAndLength_WithString1() 94 assertEquals(-1, is.read(temp, 0, temp.length)); in checkReadBytesWithOffsetAndLength_WithString1() 123 InputStream is = new LimitedLengthInputStream(mTestStream1, 0, TEST_STRING1.length + 10); in testReadBytesWithOffsetAndLength_ZeroOffset_PastEnd_Success() local 124 assertEquals(TEST_STRING1.length, is.read(temp, 0, TEST_STRING1.length + 10)); in testReadBytesWithOffsetAndLength_ZeroOffset_PastEnd_Success() 138 InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length); in checkReadBytes_WithString1() local [all …]
|
D | ManifestDigestTest.java | 38 InputStream is = new InputStream() { in testManifestDigest_FromInputStream_ThrowsIoException() local 46 ManifestDigest.fromInputStream(is)); in testManifestDigest_FromInputStream_ThrowsIoException() 50 InputStream is = new ByteArrayInputStream(MESSAGE_1); in testManifestDigest_Equals() local 55 ManifestDigest actual = ManifestDigest.fromInputStream(is); in testManifestDigest_Equals() 63 InputStream is = new ByteArrayInputStream(MESSAGE_1); in testManifestDigest_Parcel() local 65 ManifestDigest digest = ManifestDigest.fromInputStream(is); in testManifestDigest_Parcel()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | IntentSenderTest.java | 33 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, in testRegisteredReceivePermissionGranted() local 35 is.send(); in testRegisteredReceivePermissionGranted() 37 is.cancel(); in testRegisteredReceivePermissionGranted() 54 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, intent, 0); in testRegisteredReceivePermissionDenied() local 55 is.send(Activity.RESULT_CANCELED, finish, null); in testRegisteredReceivePermissionDenied() 57 is.cancel(); in testRegisteredReceivePermissionDenied() 62 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, in testLocalReceivePermissionGranted() local 64 is.send(); in testLocalReceivePermissionGranted() 66 is.cancel(); in testLocalReceivePermissionGranted() 81 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, intent, 0); in testLocalReceivePermissionDenied() local [all …]
|
/frameworks/volley/src/com/android/volley/toolbox/ |
D | DiskBasedCache.java | 382 public static CacheHeader readHeader(InputStream is) throws IOException { in readHeader() argument 384 int magic = readInt(is); in readHeader() 389 entry.key = readString(is); in readHeader() 390 entry.etag = readString(is); in readHeader() 394 entry.serverDate = readLong(is); in readHeader() 395 entry.ttl = readLong(is); in readHeader() 396 entry.softTtl = readLong(is); in readHeader() 397 entry.responseHeaders = readStringStringMap(is); in readHeader() 475 private static int read(InputStream is) throws IOException { in read() argument 476 int b = is.read(); in read() [all …]
|
/frameworks/base/docs/html/guide/topics/processes/ |
D | process-lifecycle.jd | 5 This process is created for the application when some of its code needs to 6 be run, and will remain running until it is no longer needed <em>and</em> 9 <p>An unusual and fundamental feature of Android is that an application process's 10 lifetime is <em>not</em> directly controlled by the application itself. 11 Instead, it is determined by the system through a combination of the parts of the application 13 and how much overall memory is available in the system.</p> 15 <p>It is important that 20 result in the system killing the application's process while it is doing 23 <p>A common example of a process life-cycle bug is a 32 is to start a {@link android.app.Service} from the BroadcastReceiver, so the [all …]
|
/frameworks/wilhelm/doc/ |
D | Doxyfile | 6 # All text after a hash (#) is considered a comment and will be ignored 7 # The format is: 18 # that follow. The default is UTF-8 which is also the encoding used for all 25 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded 32 # if some version control system is used. 36 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) 38 # If a relative path is entered, it will be relative to the location 43 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 52 # The OUTPUT_LANGUAGE tag is used to specify the language in which all 53 # documentation generated by doxygen is written. Doxygen will use this [all …]
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 71 InputStream is, boolean isShareable) { in newInstance() argument 73 BitmapRegionDecoder d = BitmapRegionDecoder.newInstance(is, isShareable); in newInstance() 108 public static DumbBitmapRegionDecoder newInstance(InputStream is) { in newInstance() argument 109 Bitmap b = BitmapFactory.decodeStream(is); in newInstance() 267 InputStream is = mContext.getContentResolver().openInputStream(mUri); in regenerateInputStream() local 268 return new BufferedInputStream(is); in regenerateInputStream() 273 InputStream is = regenerateInputStream(); in loadBitmapRegionDecoder() local 275 SimpleBitmapRegionDecoderWrapper.newInstance(is, false); in loadBitmapRegionDecoder() 276 Utils.closeSilently(is); in loadBitmapRegionDecoder() 278 is = regenerateInputStream(); in loadBitmapRegionDecoder() [all …]
|
/frameworks/base/tools/layoutlib/create/ |
D | README.txt | 25 - some classes need to be overridden, for example all the drawing code that is replaced by Java 2D 35 - generates a modified JAR file that is suitable for the Android plugin for Eclipse to perform 38 The ASM library is used to do the bytecode modification using its visitor pattern API. 40 The layoutlib_create is *NOT* generic. There is no configuration file. Instead all the configuration 41 is done in the main() method and the CreateInfo structure is expected to change with the Android 43 dependent is also present elsewhere in code. 45 The resulting JAR is used by layoutlib_bridge (a.k.a. "the bridge"), also part of the platform, that 61 The goal of the analyzer is to create a graph of all the classes from the input JAR with their 64 To do that, the analyzer is created with a list of base classes to keep -- everything that derives 65 from these is kept. Currently the one such class is android.view.View: since we want to render [all …]
|
/frameworks/native/opengl/tests/testViewport/ |
D | README | 8 is alligned to the screen. 12 Note that screen is all white. 16 Expected: screen is still all white. 18 Actual: screen is blue with offset white rectangle. 24 I think the bug is that the gl.glViewport() call in onSurfaceChanged() is 27 NOTE: If a gl.glViewport call is added at the beginning of the onDrawFrame() 28 call (which means it is called before every draw), the program runs correctly.
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | AssetTest.java | 35 public static void verifyTextAsset(InputStream is) throws IOException { in verifyTextAsset() argument 41 while ((readCount = is.read(buffer, 0, buffer.length)) > 0) { in verifyTextAsset() 51 readCount = is.read(buffer, 0, buffer.length); in verifyTextAsset() 55 readCount = is.read(buffer, buffer.length, 0); in verifyTextAsset() 59 is.close(); in verifyTextAsset() 64 InputStream is = mAssets.open("text.txt"); in testReadToEnd() local 65 verifyTextAsset(is); in testReadToEnd()
|
/frameworks/base/tools/orientationplot/ |
D | README.txt | 19 1. Plug in the device. Ensure that it is the only device plugged in 20 since this script is of very little brain and will get confused otherwise. 40 1. Ensure the filtering is not too aggressive. If the filter cut-off frequency is 43 is by holding the device vertically in one orientation then sharply turning 46 is too aggressive, the filter response may lag by hundreds of milliseconds. 48 2. Ensure that there is an appropriate gap between adjacent orientation angles 51 point in between the two orientations; that is the gap. The gap should be 58 of the orientations and settle into it (since it is obviously quite 61 the measured orientation angle is now within the gap between the new 65 angle (say, 45 degrees) is between the current orientation's ideal angle [all …]
|
/frameworks/base/docs/html/tools/help/ |
D | bmgr.jd | 27 <p><code>bmgr</code> is a shell tool you can use to interact with the Backup Manager 50 <p><code><em><package></em></code> is the formal package name of the application you wish to 55 onBackup()} method), though there is no guarantee when it will occur. However, you can force all 72 is typically performed only when a device is first provisioned (to replicate settings and other 73 saved state from the user's previous device) and is an operation that only the system can 75 a single application to its "active" data set; that is, the application will abandon its current 76 data and revert to the last-known-good data that is held in the current backup image. You can 89 <p><code><em><package></em></code> is the formal Java-style package name of the application 92 will happen even if your application is not currently running. 102 <p>The data for a single application can be erased from the active data set on demand. This is [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | MemoryFileTest.java | 88 InputStream is = file.getInputStream(); in testRun() local 89 is.mark(testString.length); in testRun() 90 is.read(buffer); in testRun() 95 is.reset(); in testRun() 96 is.read(buffer); in testRun() 128 InputStream is = file.getInputStream(); in readIndexOutOfBoundsException() local 131 is.read(buffer, offset, count); in readIndexOutOfBoundsException() 136 is.close(); in readIndexOutOfBoundsException() 173 InputStream is = file.getInputStream(); in testReadEOF() local 177 assertEquals(testString.length, is.read(buffer)); in testReadEOF() [all …]
|
/frameworks/ex/common/java/com/android/common/ |
D | GoogleLogTags.logtags | 10 # distributed under the License is distributed on an "AS IS" BASIS, 57 # This event is logged when GTalkService encounters important events 59 # This event is logged for GTalk connection state changes. The status field is an int, but 64 # This event is logged when GTalk connection is closed. 65 # The status field is an int, but contains 2 different values, it's represented as 74 # duration is the connection duration. 77 # This event is logged for GTalk heartbeat resets 80 # interval is in seconds; network type can be 0 (mobile) or 1 (wifi); ip is the host ip addr. 83 # This event is logged when an Rmq v2 packet is sent or received. 89 # This event is for when communicating to the server times out during account setup
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | EventLogTags.logtags | 16 # An activity is being finished: 18 # A task is being brought to the front of the screen: 20 # An existing activity is being given a new intent: 22 # A new task is being created: 24 # A new activity is being created in an existing task: 28 # An activity has been resumed and is now in the foreground: 46 # An application process that was bad is now marked as good 48 # Reporting to applications that memory is low 50 # An activity is being destroyed: 52 # An activity has been relaunched, resumed, and is now in the foreground: [all …]
|