| /packages/apps/Gallery3D/src/com/cooliris/media/ |
| Util.java | 2 * Copyright (C) 2009 The Android Open Source Project 66 public static Bitmap transform(Matrix scaler, Bitmap source, int targetWidth, int targetHeight, boolean scaleUp) { 67 int deltaX = source.getWidth() - targetWidth; 68 int deltaY = source.getHeight() - targetHeight; 81 Rect src = new Rect(deltaXHalf, deltaYHalf, deltaXHalf + Math.min(targetWidth, source.getWidth()), deltaYHalf 82 + Math.min(targetHeight, source.getHeight())); 86 c.drawBitmap(source, src, dst, null); 89 float bitmapWidthF = source.getWidth(); 90 float bitmapHeightF = source.getHeight(); 114 b1 = Bitmap.createBitmap(source, 0, 0, source.getWidth(), source.getHeight(), scaler, true) [all...] |
| /external/chromium/base/ |
| file_descriptor_shuffle.h | 2 // Use of this source code is governed by a BSD-style license that can be 56 : source(in_source), 61 int source; member in struct:base::InjectionArc 63 bool close; // if true, delete the source element after performing the
|
| /external/chromium/third_party/icu/source/test/cintltst/ |
| ncnvfbts.h | 23 static UBool testConvertFromUnicode(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, 25 static UBool testConvertToUnicode( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen,
|
| /external/icu4c/test/cintltst/ |
| ncnvfbts.h | 23 static UBool testConvertFromUnicode(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, 25 static UBool testConvertToUnicode( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen,
|
| /external/nist-sip/java/gov/nist/javax/sip/ |
| DialogTimeoutEvent.java | 2 * This source code has been contributed to the public domain by Mobicents 39 * @param source - the source of TimeoutEvent. 42 public DialogTimeoutEvent(Object source, Dialog dialog, Reason reason) { 43 super(source);
|
| ResponseEventExt.java | 15 public ResponseEventExt(Object source, ClientTransactionExt clientTransaction, 17 super(source,clientTransaction,dialog,response);
|
| /external/nist-sip/java/javax/sip/ |
| RequestEvent.java | 11 public RequestEvent(Object source, ServerTransaction serverTransaction, 13 super(source);
|
| ResponseEvent.java | 11 public ResponseEvent(Object source, ClientTransaction clientTransaction, 13 super(source);
|
| /external/webkit/WebKitTools/DumpRenderTree/mac/ |
| DumpRenderTreeDraggingInfo.h | 4 * Redistribution and use in source and binary forms, with or without 8 * 1. Redistributions of source code must retain the above copyright 39 - (id)initWithImage:(NSImage *)image offset:(NSSize)offset pasteboard:(NSPasteboard *)pasteboard source:(id)source;
|
| /external/webkit/WebKitTools/DumpRenderTree/win/ |
| DraggingInfo.h | 4 * Redistribution and use in source and binary forms, with or without 8 * 1. Redistributions of source code must retain the above copyright 36 DraggingInfo(IDataObject* object, IDropSource* source) 38 , m_source(source)
|
| /frameworks/base/media/libstagefright/rtsp/ |
| AH263Assembler.h | 2 * Copyright (C) 2010 The Android Open Source Project 37 virtual AssemblyStatus assembleMore(const sp<ARTPSource> &source); 49 AssemblyStatus addPacket(const sp<ARTPSource> &source);
|
| AMPEG4AudioAssembler.h | 2 * Copyright (C) 2010 The Android Open Source Project 37 virtual AssemblyStatus assembleMore(const sp<ARTPSource> &source); 49 AssemblyStatus addPacket(const sp<ARTPSource> &source);
|
| ARTPAssembler.h | 2 * Copyright (C) 2010 The Android Open Source Project 39 void onPacketReceived(const sp<ARTPSource> &source); 43 virtual AssemblyStatus assembleMore(const sp<ARTPSource> &source) = 0;
|
| /libcore/luni/src/main/java/java/beans/ |
| PropertyChangeEvent.java | 41 * @param source 55 public PropertyChangeEvent(Object source, String propertyName, 57 super(source);
|
| /sdk/sdkmanager/libs/sdklib/tests/com/android/sdklib/repository/ |
| SdkRepositoryTest.java | 2 * Copyright (C) 2009 The Android Open Source Project
27 import javax.xml.transform.Source;
141 Source source = new StreamSource(xmlStream);
local 145 validator.validate(source);
153 Source source = new StreamSource(xmlStream);
local 157 validator.validate(source);
165 Source source = new StreamSource(new StringReader(document)); local 195 Source source = new StreamSource(new StringReader(document)); local 210 Source source = new StreamSource(new StringReader(document)); local 232 Source source = new StreamSource(new StringReader(document)); local 254 Source source = new StreamSource(new StringReader(document)); local 281 Source source = new StreamSource(new StringReader(document)); local 307 Source source = new StreamSource(new StringReader(document)); local [all...] |
| /external/chromium/third_party/icu/source/common/ |
| ucnv_u8.c | 91 const unsigned char *mySource = (unsigned char *) args->source; 212 args->source = (const char *) mySource; 219 const unsigned char *mySource = (unsigned char *) args->source; 341 args->source = (const char *) mySource; 349 const UChar *mySource = args->source; 456 args->source = mySource; 463 const UChar *mySource = args->source; 594 args->source = mySource; 602 const uint8_t *source; local 611 sourceInitial = source = (const uint8_t *)args->source 753 const uint8_t *source, *sourceLimit; local [all...] |
| /external/icu4c/common/ |
| ucnv_u8.c | 91 const unsigned char *mySource = (unsigned char *) args->source; 212 args->source = (const char *) mySource; 219 const unsigned char *mySource = (unsigned char *) args->source; 341 args->source = (const char *) mySource; 349 const UChar *mySource = args->source; 456 args->source = mySource; 463 const UChar *mySource = args->source; 594 args->source = mySource; 602 const uint8_t *source; local 611 sourceInitial = source = (const uint8_t *)args->source 753 const uint8_t *source, *sourceLimit; local [all...] |
| /external/chromium/third_party/icu/source/i18n/ |
| tblcoll.cpp | 251 (const UnicodeString& source) const 254 CollationElementIterator *result = new CollationElementIterator(source, this, 270 (const CharacterIterator& source) const 273 CollationElementIterator *result = new CollationElementIterator(source, this, 333 const UnicodeString& source, 338 return getEComparisonResult(compare(source.getBuffer(), uprv_min(length,source.length()), target.getBuffer(), uprv_min(length,target.length()), status)); 342 const UnicodeString& source, 347 return compare(source.getBuffer(), uprv_min(length,source.length()), target.getBuffer(), uprv_min(length,target.length()), status) [all...] |
| /external/icu4c/i18n/ |
| tblcoll.cpp | 251 (const UnicodeString& source) const 254 CollationElementIterator *result = new CollationElementIterator(source, this, 270 (const CharacterIterator& source) const 273 CollationElementIterator *result = new CollationElementIterator(source, this, 333 const UnicodeString& source, 338 return getEComparisonResult(compare(source.getBuffer(), uprv_min(length,source.length()), target.getBuffer(), uprv_min(length,target.length()), status)); 342 const UnicodeString& source, 347 return compare(source.getBuffer(), uprv_min(length,source.length()), target.getBuffer(), uprv_min(length,target.length()), status) [all...] |
| /external/chromium/third_party/icu/public/common/unicode/ |
| normlzr.h | 198 * @param source the input string to be normalized. 205 static void U_EXPORT2 normalize(const UnicodeString& source, 218 * @param source the string to be composed. 227 static void U_EXPORT2 compose(const UnicodeString& source, 240 * @param source the string to be decomposed. 249 static void U_EXPORT2 decompose(const UnicodeString& source, 266 * @param source string for determining if it is in a normalized format 275 quickCheck(const UnicodeString &source, UNormalizationMode mode, UErrorCode &status); 281 * @param source string for determining if it is in a normalized format 291 quickCheck(const UnicodeString &source, UNormalizationMode mode, int32_t options, UErrorCode &status) [all...] |
| /external/srec/tools/thirdparty/OpenFst/fst/lib/ |
| shortest-distance.h | 39 StateId source; // If kNoStateId, use the Fst's initial state member in struct:fst::ShortestDistanceOptions 44 : state_queue(q), arc_filter(filt), source(src), delta(d) {} 50 // ShortestDistance(source) when 'retain' is true for improved 51 // efficiency when calling multiple times from different source states 75 void ShortestDistance(StateId source); 87 vector<StateId> sources_; // Source state for ith state in 'distance_', 91 // Compute the shortest distance. If 'source' is kNoStateId, use 95 StateId source) { 111 if (source == kNoStateId) 112 source = fst_->Start() [all...] |
| /frameworks/base/core/java/android/text/ |
| BoringLayout.java | 2 * Copyright (C) 2006 The Android Open Source Project 39 public static BoringLayout make(CharSequence source, 44 return new BoringLayout(source, paint, outerwidth, align, 49 public static BoringLayout make(CharSequence source, 55 return new BoringLayout(source, paint, outerwidth, align, 65 public BoringLayout replaceOrMake(CharSequence source, TextPaint paint, 70 replaceWith(source, paint, outerwidth, align, spacingmult, 77 init(source, paint, outerwidth, align, spacingmult, spacingadd, 87 public BoringLayout replaceOrMake(CharSequence source, TextPaint paint, 97 replaceWith(source, paint, outerwidth, align, spacingmult [all...] |
| /packages/apps/Contacts/tests/src/com/android/contacts/ |
| EntityDeltaTests.java | 2 * Copyright (C) 2009 The Android Open Source Project 92 final EntityDelta source = EntityDelta.fromBefore(before); local 96 final EntityDelta merged = EntityDelta.mergeAfter(dest, source); 97 assertEquals("Unexpected change when merging", source, merged); 102 final EntityDelta source = EntityDelta.fromBefore(before); local 110 source.addEntry(ValuesDelta.fromAfter(phone)); 113 final EntityDelta merged = EntityDelta.mergeAfter(dest, source); 114 assertEquals("Unexpected change when merging", source, merged); 120 final EntityDelta source = EntityDelta.fromBefore(before); local 123 final ValuesDelta child = source.getEntry(TEST_PHONE_ID) 134 final EntityDelta source = EntityDelta.fromBefore(before); local 209 final EntityDelta source = EntityDelta.fromBefore(before); local 220 final EntityDelta source = EntityDelta.fromBefore(before); local 257 final EntityDelta source = EntityDelta.fromBefore(before); local 302 final EntityDelta source = EntityDelta.fromBefore(before); local 336 final EntityDelta source = EntityDelta.fromBefore(before); local 364 final EntityDelta source = new EntityDelta(values); local 385 final EntityDelta source = new EntityDelta(values); local [all...] |
| /bionic/libc/include/netinet/ |
| udp.h | 2 * Copyright (C) 2008 The Android Open Source Project 5 * Redistribution and use in source and binary forms, with or without 8 * * Redistributions of source code must retain the above copyright 38 u_int16_t uh_sport; /* source port */ 47 __u16 source; member in struct:udphdr
|
| /cts/tests/tests/text/src/android/text/cts/ |
| InputFilter_LengthFilterTest.java | 2 * Copyright (C) 2008 The Android Open Source Project 46 CharSequence source; local 53 // cut off the source CharSequence from beginning to fit the filter length. 54 source = "abc"; 58 dest.insert(1, source); 62 dest.replace(5, 8, source);
|