Searched refs:destination (Results 1 - 25 of 52) sorted by relevance

123

/packages/apps/Gallery2/jni/filters/
H A Dnegative.c21 char* destination = 0; local
22 AndroidBitmap_lockPixels(env, bitmap, (void**) &destination);
26 char * dst = destination;
H A Dredeye.c22 char* destination = 0; local
23 AndroidBitmap_lockPixels(env, bitmap, (void**) &destination);
24 unsigned char * rgb = (unsigned char * )destination;
H A Dgeometry.c20 static __inline__ void flipVertical(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){ argument
30 memcpy(destination + temp - i, source + i, bytes_to_copy);
34 static __inline__ void flipHorizontal(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){ argument
46 memcpy(destination + temp - j, source + i + j, cpy_bytes);
51 static __inline__ void flip_fun(int flip, char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){ argument
58 flipVertical(temp, dstWidth, dstHeight, destination, dstWidth, dstHeight);
63 flipHorizontal(source, srcWidth, srcHeight, destination, dstWidth, dstHeight);
67 flipVertical(source, srcWidth, srcHeight, destination, dstWidth, dstHeight);
73 static __inline__ void rotate90(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){ argument
84 memcpy(destination
89 rotate180(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight) argument
93 rotate270(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight) argument
99 rotate_fun(int rotate, char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight) argument
116 crop(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight, int offsetWidth, int offsetHeight) argument
131 char* destination = 0; local
144 char* destination = 0; local
155 char* destination = 0; local
166 char* destination = 0; local
[all...]
H A Dgradient.c22 char* destination = 0; local
33 AndroidBitmap_lockPixels(env, bitmap, (void**) &destination);
40 int r = destination[RED];
42 destination[RED] = r;
46 int g = destination[GREEN];
48 destination[GREEN] = g;
52 int b = destination[BLUE];
54 destination[BLUE] = b;
H A Dsaturated.c21 char* destination = 0; local
22 AndroidBitmap_lockPixels(env, bitmap, (void**) &destination);
36 int r = destination[RED];
37 int g = destination[GREEN];
38 int b = destination[BLUE];
48 destination[RED] = CLAMP(Rc);
49 destination[GREEN] = CLAMP(Gc);
50 destination[BLUE] = CLAMP(Bc);
H A Dexposure.c21 char* destination = 0; local
22 AndroidBitmap_lockPixels(env, bitmap, (void**) &destination);
23 unsigned char * rgb = (unsigned char * )destination;
H A Dhighlight.c22 char* destination = 0; local
23 AndroidBitmap_lockPixels(env, bitmap, (void**) &destination);
24 unsigned char * rgb = (unsigned char * )destination;
H A Dvibrance.c22 char* destination = 0; local
23 AndroidBitmap_lockPixels(env, bitmap, (void**) &destination);
38 int r = destination[RED];
39 int g = destination[GREEN];
40 int b = destination[BLUE];
57 destination[RED] = CLAMP(Rc);
58 destination[GREEN] = CLAMP(Gc);
59 destination[BLUE] = CLAMP(Bc);
H A Dcontrast.c41 char* destination = 0; local
42 AndroidBitmap_lockPixels(env, bitmap, (void**) &destination);
43 unsigned char * rgb = (unsigned char * )destination;
H A Dshadows.c29 char* destination = 0; local
30 AndroidBitmap_lockPixels(env, bitmap, (void**) &destination);
31 unsigned char * rgb = (unsigned char * )destination;
H A Dbwfilter.c22 char* destination = 0; local
23 AndroidBitmap_lockPixels(env, bitmap, (void**) &destination);
24 unsigned char * rgb = (unsigned char * )destination;
H A Dhue.c21 char* destination = 0; local
22 AndroidBitmap_lockPixels(env, bitmap, (void**) &destination);
23 unsigned char * rgb = (unsigned char * )destination;
H A Dkmeans.cc37 char* destination = 0; local
40 AndroidBitmap_lockPixels(env, bitmap, (void**) &destination);
43 unsigned char * dst = (unsigned char *) destination;
H A Dfx.c36 char* destination = 0; local
38 AndroidBitmap_lockPixels(env, bitmap, (void**) &destination);
40 unsigned char * rgb = (unsigned char * )destination;
H A Dedge.c22 char* destination = 0; local
23 AndroidBitmap_lockPixels(env, bitmap, (void**) &destination);
35 char * dst = destination;
38 char * ptr = destination;
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
H A DContactRequest.java28 * A request object for contact images. ContactRequests have a destination because multiple
109 * include the destination. We need to put multiple ContactRequests in a set,
110 * but its implementations of equals() and hashcode() don't include the destination.
115 public final ContactDrawableInterface destination; field in class:ContactRequest.ContactRequestHolder
118 final ContactDrawableInterface destination) {
120 this.destination = destination;
139 if (destination != null ? !destination.equals(that.destination)
117 ContactRequestHolder(final ContactRequest contactRequest, final ContactDrawableInterface destination) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DAttachmentActionHandler.java92 public void showAttachment(int destination) { argument
100 (destination == AttachmentDestination.CACHE ||
101 mAttachment.destination == destination)) {
105 startDownloadingAttachment(destination);
113 public void startDownloadingAttachment(int destination) { argument
114 startDownloadingAttachment(destination, UIProvider.AttachmentRendition.BEST, 0, false);
118 int destination, int rendition, int additionalPriority, boolean delayDownload) {
120 mAttachment, destination, rendition, additionalPriority, delayDownload);
124 Attachment attachment, int destination, in
117 startDownloadingAttachment( int destination, int rendition, int additionalPriority, boolean delayDownload) argument
123 startDownloadingAttachment( Attachment attachment, int destination, int rendition, int additionalPriority, boolean delayDownload) argument
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DCoordinateUtils.java47 public static void copy(final int[] destination, final int[] source) { argument
48 destination[INDEX_X] = source[INDEX_X];
49 destination[INDEX_Y] = source[INDEX_Y];
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
H A DXmlDictInputOutput.java334 * @param destination a destination stream to write to.
337 public static void writeDictionaryXml(final BufferedWriter destination, argument
344 destination.write("<wordlist format=\"2\"");
347 destination.write(" " + key + "=\"" + value + "\"");
349 destination.write(">\n");
350 destination.write("<!-- Warning: there is no code to read this format yet. -->\n");
352 destination.write(" <" + WORD_TAG + " " + WORD_ATTR + "=\"" + wordProperty.mWord
357 destination.write("\n");
359 destination
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppShareInfo.java39 * send/receive to a destination address.
72 int direction, String destination, int visibility, int confirm, int status,
80 mDestination = destination;
71 BluetoothOppShareInfo(int id, Uri uri, String hint, String filename, String mimetype, int direction, String destination, int visibility, int confirm, int status, int totalBytes, int currentBytes, int timestamp, boolean mediaScanned) argument
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
H A DProcessingService.java108 Rect bounds, Rect destination,
118 request.setDestination(destination);
143 public static Intent getSaveIntent(Context context, ImagePreset preset, File destination, argument
153 if (destination != null) {
154 processIntent.putExtra(ProcessingService.DESTINATION_FILE, destination.toString());
198 String destination = intent.getStringExtra(DESTINATION_FILE);
209 if (destination != null) {
210 destinationFile = new File(destination);
107 postFullresRenderingRequest(ImagePreset preset, float scaleFactor, Rect bounds, Rect destination, RenderingRequestCaller caller) argument
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
H A DAction.java161 private void drawCenteredImage(Bitmap source, Bitmap destination, boolean scale) { argument
162 int minSide = Math.min(destination.getWidth(), destination.getHeight());
166 float dx = (destination.getWidth() - source.getWidth() * scaleFactor) / 2.0f;
167 float dy = (destination.getHeight() - source.getHeight() * scaleFactor) / 2.0f;
174 Canvas canvas = new Canvas(destination);
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DHelpers.java75 String contentDisposition, String contentLocation, String mimeType, int destination)
82 if (destination == Downloads.Impl.DESTINATION_FILE_URI) {
88 parent = getRunningDestinationDirectory(context, destination);
91 getSuccessDestinationDirectory(context, destination)
111 if (destination == Downloads.Impl.DESTINATION_FILE_URI) {
128 suffix = chooseExtensionFromFilename(mimeType, destination, name, dotIndex);
260 private static String chooseExtensionFromFilename(String mimeType, int destination, argument
365 public static File getRunningDestinationDirectory(Context context, int destination) argument
367 return getDestinationDirectory(context, destination, true);
370 public static File getSuccessDestinationDirectory(Context context, int destination) argument
74 generateSaveFile(Context context, String url, String hint, String contentDisposition, String contentLocation, String mimeType, int destination) argument
375 getDestinationDirectory(Context context, int destination, boolean running) argument
[all...]
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DPhotoCarousel.java186 ImageView destination = getBackface();
191 destination.setImageBitmap(photo);
192 destination.setTag(R.id.photo_orientation, Integer.valueOf(orientation));
193 destination.setTag(R.id.photo_width, Integer.valueOf(width));
194 destination.setTag(R.id.photo_height, Integer.valueOf(height));
195 setScaleType(destination);
197 Bitmap old = mBitmapStore.put(destination, photo);
/packages/apps/Camera2/jni/
H A Dtinyplanet.cc136 char* destination = 0; local
138 AndroidBitmap_lockPixels(env, bitmap_out, (void**) &destination);
140 unsigned char * rgb_out = (unsigned char * )destination;

Completed in 515 milliseconds

123