Searched refs:marker (Results 1 - 24 of 24) sorted by relevance

/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DJpegHeader.java26 * SOF (start of frame). All value between SOF0 and SOF15 is SOF marker except for DHT, JPG,
27 * and DAC marker.
35 public static final boolean isSofMarker(short marker) { argument
36 return marker >= SOF0 && marker <= SOF15 && marker != DHT && marker != JPG
37 && marker != DAC;
H A DExifParser.java759 short marker = dataStream.readShort();
760 while (marker != JpegHeader.EOI
761 && !JpegHeader.isSofMarker(marker)) {
765 if (marker == JpegHeader.APP1) {
784 marker = dataStream.readShort();
H A DExifOutputStream.java172 short marker = mBuffer.getShort();
173 if (marker == JpegHeader.APP1) {
176 } else if (!JpegHeader.isSofMarker(marker)) {
/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DExif.java87 final int marker = jpeg.get(offset) & 0xFF;
89 // Check if the marker is a padding.
90 if (marker == 0xFF) {
95 // Check if the marker is SOI or TEM.
96 if (marker == 0xD8 || marker == 0x01) {
99 // Check if the marker is EOI or SOS.
100 if (marker == 0xD9 || marker == 0xDA) {
113 // Break if the marker i
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DExif.java82 final int marker = jpeg.get(offset) & 0xFF;
84 // Check if the marker is a padding.
85 if (marker == 0xFF) {
90 // Check if the marker is SOI or TEM.
91 if (marker == 0xD8 || marker == 0x01) {
94 // Check if the marker is EOI or SOS.
95 if (marker == 0xD9 || marker == 0xDA) {
108 // Break if the marker i
[all...]
/frameworks/av/media/libstagefright/
H A DJPEGSource.cpp45 #define JPEG_JFIF 0xE0 /* Jfif marker*/
46 #define JPEG_EXIF 0xE1 /* Exif marker*/
159 uint8_t marker; local
160 if (mSource->readAt(i++, &marker, 1) != 1) {
164 CHECK_EQ(marker, 0xff);
166 if (mSource->readAt(i++, &marker, 1) != 1) {
170 CHECK(marker != 0xff);
183 switch (marker) {
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/
H A DXmpDepthDecode.java40 private static final int M_SOI = 0xd8; // File start marker.
42 private static final int M_SOS = 0xda; // Image data marker.
128 public int marker; field in class:XmpDepthDecode.Section
188 * and XMP sections (with marker M_APP1) and ignore others; otherwise, keep
218 int marker = c;
219 if (marker == M_SOS) {
224 section.marker = marker;
238 if (!readMetaOnly || marker == M_APP1) {
239 sections.add(readSection(is, length, marker, skipExtendedConten
284 readSection(InputStream is, int length, int marker, boolean skipExtendedContent) argument
[all...]
/frameworks/volley/src/main/java/com/android/volley/
H A DVolleyLog.java111 /** Minimum duration from first marker to last in an marker log to warrant logging. */
129 /** Adds a marker to this log with the specified name. */
141 * @param header Header string to print above the marker log.
153 for (Marker marker : mMarkers) {
154 long thisTime = marker.time;
155 d("(+%-4d) [%2d] %s", (thisTime - prevTime), marker.thread, marker.name);
/frameworks/base/libs/hwui/
H A DCaches.h185 static void eventMarkNull(GLsizei length, const GLchar* marker) { } argument
186 static void startMarkNull(GLsizei length, const GLchar* marker) { } argument
/frameworks/av/include/media/
H A DAudioRecord.h49 EVENT_MARKER = 2, // Record head is at the specified marker position
100 * - EVENT_MARKER: pointer to const uint32_t containing the marker position in frames.
160 * and inform of marker, position updates, etc.
266 /* Sets marker position. When record reaches the number of frames specified,
268 * with marker == 0 cancels marker notification callback.
269 * To set a marker at a position which would compute as 0,
270 * a workaround is to set the marker at a nearby position such as ~0 or 1.
276 * marker: marker positio
[all...]
H A DAudioTrack.h62 EVENT_MARKER = 3, // Playback head is at the specified marker position
122 * - EVENT_MARKER: pointer to const uint32_t containing the marker position in frames.
186 * and inform of marker, position updates, etc.
476 /* Sets marker position. When playback reaches the number of frames specified, a callback with
477 * event type EVENT_MARKER is called. Calling setMarkerPosition with marker == 0 cancels marker
478 * notification callback. To set a marker at a position which would compute as 0,
479 * a workaround is to set the marker at a nearby position such as ~0 or 1.
485 * marker: marker positio
[all...]
/frameworks/base/media/java/android/media/
H A DExifInterface.java1034 // JPEG segment markers, that each marker consumes two bytes beginning with 0xff and ending with
1832 byte marker;
1834 if ((marker = dataInputStream.readByte()) != MARKER) {
1835 throw new IOException("Invalid marker: " + Integer.toHexString(marker & 0xff));
1839 throw new IOException("Invalid marker: " + Integer.toHexString(marker & 0xff));
1843 marker = dataInputStream.readByte();
1844 if (marker != MARKER) {
1845 throw new IOException("Invalid marker
[all...]
H A DAudioRecord.java114 * Event id denotes when record head has reached a previously set marker.
213 * The listener the AudioRecord notifies when the record position reaches a marker
224 * Handler for marker events coming from the native code
862 * Returns the notification marker position expressed in frames.
1320 * Sets the listener the AudioRecord notifies when a previously set marker is reached or
1329 * Sets the listener the AudioRecord notifies when a previously set marker is reached or
1358 * Sets the marker position at which the listener is called, if set with
1361 * @param markerInFrames marker position expressed in frames
1643 * reached a notification marker set by {@link AudioRecord#setNotificationMarkerPosition(int)}
1649 * Called on the listener to notify it that the previously set marker ha
1766 native_set_marker_pos(int marker) argument
[all...]
H A DAudioTrack.java179 * Event id denotes when playback head has reached a previously set marker.
1208 * Returns marker position expressed in frames.
1209 * @return marker position in wrapping frame units similar to {@link #getPlaybackHeadPosition},
1210 * or zero if marker is disabled.
1449 * Sets the listener the AudioTrack notifies when a previously set marker is reached or
1460 * Sets the listener the AudioTrack notifies when a previously set marker is reached or
1595 * Sets the position of the notification marker. At most one marker can be active.
1596 * @param markerInFrames marker position in wrapping frame units similar to
1597 * {@link #getPlaybackHeadPosition}, or zero to disable the marker
2814 native_set_marker_pos(int marker) argument
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DJpegProcessor.cpp316 * (inclusive). Because every marker begins with the same byte, they are
319 * JFIF files all begin with the Start of Image (SOI) marker, which is 0xD8.
325 * allowed to contain the End of Image marker (0xFF 0xD9), preventing us from
332 * the end of the image stream there is an End of Image (EOI) marker, which is
336 const uint8_t MARK = 0xFF; // First byte of marker
339 const size_t MARKER_LENGTH = 2; // length of a marker
344 uint8_t marker[MARKER_LENGTH]; member in struct:android::camera2::segment
351 // check for Start of Image marker
355 // check for End of Image marker
359 // check for arbitrary marker, return
[all...]
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp317 // where the last marker event is issued twice.
360 // Note: legacy handling - stop does not clear record marker and
378 status_t AudioRecord::setMarkerPosition(uint32_t marker) argument
380 // The only purpose of setting marker position is to get a callback
386 mMarkerPosition = marker;
396 status_t AudioRecord::getMarkerPosition(uint32_t *marker) const
398 if (marker == NULL) {
403 mMarkerPosition.getValue(marker);
966 // Manage marker callback
H A DAudioTrack.cpp662 // Note: legacy handling - stop does not clear playback marker
704 // clear playback marker and periodic update counter
993 status_t AudioTrack::setMarkerPosition(uint32_t marker) argument
995 // The only purpose of setting marker position is to get a callback
1001 mMarkerPosition = marker;
1011 status_t AudioTrack::getMarkerPosition(uint32_t *marker) const
1016 if (marker == NULL) {
1021 mMarkerPosition.getValue(marker);
1837 // Manage marker callback
1903 // This helps with position, marker notification
[all...]
/frameworks/base/core/java/android/content/pm/
H A DRegisteredServicesCache.java669 File marker = new File(syncDir, mInterfaceName + ".xml.migrated");
670 // if not migrated, perform the migration and add a marker
671 if (!marker.exists()) {
673 Slog.i(TAG, "Marker file " + marker + " does not exist - running migration");
696 marker.createNewFile();
/frameworks/base/libs/hwui/debug/
H A Dnullgles.cpp271 void glInsertEventMarkerEXT(GLsizei length, const GLchar *marker) {} argument
272 void glPushGroupMarkerEXT(GLsizei length, const GLchar *marker) {} argument
/frameworks/native/opengl/include/GLES2/
H A Dgl2ext.h1130 typedef void (GL_APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker);
1131 typedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker);
1134 GL_APICALL void GL_APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker);
1135 GL_APICALL void GL_APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker);
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerService.java7700 for (File marker : markers) {
7701 if (marker.getName().indexOf(searchString) > 0) {
7702 if (!marker.delete()) {
7727 // We don't remove the base foreign use marker when clearing profiles because
7729 // the foreign use marker is good across installs.
8613 // part of the system partition and marker changes must be applied to all users.
9042 Slog.w(TAG, "Failed to rename foreign use marker", e);
/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ...
H A Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ...

Completed in 2446 milliseconds