Home
last modified time | relevance | path

Searched refs:original (Results 1 – 25 of 265) sorted by relevance

1234567891011

/frameworks/base/core/tests/coretests/src/android/view/
DRemoteViewsTest.java65 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_doesNotCopyBitmap() local
68 original.setImageViewBitmap(R.id.image, bitmap); in clone_doesNotCopyBitmap()
69 RemoteViews clone = original.clone(); in clone_doesNotCopyBitmap()
78 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_originalCanStillBeApplied() local
80 RemoteViews clone = original.clone(); in clone_originalCanStillBeApplied()
87 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_clones() local
89 RemoteViews clone = original.clone(); in clone_clones()
90 original.setTextViewText(R.id.text, "test"); in clone_clones()
99 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_child_fails() local
102 original.addView(R.id.layout, child); in clone_child_fails()
[all …]
/frameworks/base/core/java/android/text/method/
DReplacementTransformationMethod.java53 char[] original = getOriginal(); in getTransformation() local
65 int n = original.length; in getTransformation()
67 if (TextUtils.indexOf(source, original[i]) >= 0) { in getTransformation()
85 original, replacement)); in getTransformation()
88 original, in getTransformation()
96 original, replacement); in getTransformation()
98 return new ReplacementCharSequence(source, original, replacement); in getTransformation()
112 public ReplacementCharSequence(CharSequence source, char[] original, in ReplacementCharSequence() argument
115 mOriginal = original; in ReplacementCharSequence()
173 public SpannedReplacementCharSequence(Spanned source, char[] original, in SpannedReplacementCharSequence() argument
[all …]
/frameworks/base/services/tests/servicestests/src/android/net/
DUidRangeTest.java38 UidRange original = new UidRange(1234, Integer.MAX_VALUE); in testNativeParcelUnparcel() local
40 byte[] inParcel = marshall(original); in testNativeParcelUnparcel()
44 assertEquals(original, roundTrip); in testNativeParcelUnparcel()
50 UidRange original = new UidRange(0x11115678, 0x22224321); in testIndividualNativeFields() local
51 byte[] originalBytes = marshall(original); in testIndividualNativeFields()
53 assertEquals(original.start, getStart(originalBytes)); in testIndividualNativeFields()
54 assertEquals(original.stop, getStop(originalBytes)); in testIndividualNativeFields()
/frameworks/support/compat/tests/java/android/support/v4/graphics/
DDrawableCompatTest.java40 final Drawable original = new GradientDrawable(); in testDrawableWrap() local
41 final Drawable wrappedDrawable = DrawableCompat.wrap(original); in testDrawableWrap()
44 assertNotSame(original, wrappedDrawable); in testDrawableWrap()
46 assertSame(original, wrappedDrawable); in testDrawableWrap()
52 final Drawable original = new GradientDrawable(); in testDrawableUnwrap() local
53 final Drawable wrappedDrawable = DrawableCompat.wrap(original); in testDrawableUnwrap()
54 assertSame(original, DrawableCompat.unwrap(wrappedDrawable)); in testDrawableUnwrap()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientAlternatesAdapter.java467 static Cursor removeUndesiredDestinations(final Cursor original, final String desiredMimeType, in removeUndesiredDestinations() argument
470 original.getColumnNames(), original.getCount()); in removeUndesiredDestinations()
478 original.moveToPosition(-1); in removeUndesiredDestinations()
479 while (original.moveToNext()) { in removeUndesiredDestinations()
480 final String mimeType = original.getString(Query.MIME_TYPE); in removeUndesiredDestinations()
485 defaultDisplayName = original.getString(Query.NAME); in removeUndesiredDestinations()
486 defaultPhotoThumbnailUri = original.getString(Query.PHOTO_THUMBNAIL_URI); in removeUndesiredDestinations()
487 defaultDisplayNameSource = original.getInt(Query.DISPLAY_NAME_SOURCE); in removeUndesiredDestinations()
492 original.moveToPosition(-1); in removeUndesiredDestinations()
493 while (original.moveToNext()) { in removeUndesiredDestinations()
[all …]
/frameworks/base/tests/CoreTests/android/core/
DNsdServiceInfoTest.java128 public void checkParcelable(NsdServiceInfo original) { in checkParcelable() argument
132 writer.putParcelable("test_info", original); in checkParcelable()
142 assertEquality(original.getServiceName(), result.getServiceName()); in checkParcelable()
143 assertEquality(original.getServiceType(), result.getServiceType()); in checkParcelable()
144 assertEquality(original.getHost(), result.getHost()); in checkParcelable()
145 assertTrue(original.getPort() == result.getPort()); in checkParcelable()
148 Map<String, byte[]> originalMap = original.getAttributes(); in checkParcelable()
/frameworks/base/core/java/android/content/
DContentProvider.java237 final String original = setCallingPackage(callingPkg); in query() local
243 setCallingPackage(original); in query()
262 final String original = setCallingPackage(callingPkg); in insert() local
266 setCallingPackage(original); in insert()
277 final String original = setCallingPackage(callingPkg); in bulkInsert() local
281 setCallingPackage(original); in bulkInsert()
314 final String original = setCallingPackage(callingPkg); in applyBatch() local
327 setCallingPackage(original); in applyBatch()
338 final String original = setCallingPackage(callingPkg); in delete() local
342 setCallingPackage(original); in delete()
[all …]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DLauncherActivity.java105 Intent original = activity.getIntent(); in createLaunchIntent() local
106 if (original != null) { in createLaunchIntent()
107 copyExtras(original, intent); in createLaunchIntent()
108 if (original.hasExtra(Intent.EXTRA_TITLE)) { in createLaunchIntent()
111 original.getStringExtra(Intent.EXTRA_TITLE)); in createLaunchIntent()
/frameworks/wilhelm/tools/hashgen/
Dtest.c31 const struct SLInterfaceID_ *original = &SL_IID_array[i]; in main() local
33 int MPH = IID_to_MPH(original); in main()
39 const struct SLInterfaceID_ copy = *original; in main()
/frameworks/ex/camera2/utils/tests/src/com/android/ex/camera2/utils/
DCamera2UtilsTest.java311 Camera2RequestSettingsSet original = new Camera2RequestSettingsSet(); in requestSettingsSetCopyConstructor() local
312 Camera2RequestSettingsSet unchanged = new Camera2RequestSettingsSet(original); in requestSettingsSetCopyConstructor()
314 requestSettingsSetAndForget(original, CaptureRequest.CONTROL_AE_LOCK, true); in requestSettingsSetCopyConstructor()
315 Camera2RequestSettingsSet changed = new Camera2RequestSettingsSet(original); in requestSettingsSetCopyConstructor()
321 Camera2RequestSettingsSet original = new Camera2RequestSettingsSet(); in requestSettingsSetCopyConstructorPreservesChangedStatus() local
322 Camera2RequestSettingsSet unchanged = new Camera2RequestSettingsSet(original); in requestSettingsSetCopyConstructorPreservesChangedStatus()
323 assertEquals(original.getRevision(), unchanged.getRevision()); in requestSettingsSetCopyConstructorPreservesChangedStatus()
325 requestSettingsSetAndAssertChanged(original, CaptureRequest.CONTROL_AE_LOCK, true, true); in requestSettingsSetCopyConstructorPreservesChangedStatus()
326 Camera2RequestSettingsSet changed = new Camera2RequestSettingsSet(original); in requestSettingsSetCopyConstructorPreservesChangedStatus()
327 assertEquals(original.getRevision(), changed.getRevision()); in requestSettingsSetCopyConstructorPreservesChangedStatus()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageKeySetData.java38 PackageKeySetData(PackageKeySetData original) { in PackageKeySetData() argument
39 mProperSigningKeySet = original.mProperSigningKeySet; in PackageKeySetData()
40 mUpgradeKeySets = ArrayUtils.cloneOrNull(original.mUpgradeKeySets); in PackageKeySetData()
41 mKeySetAliases.putAll(original.mKeySetAliases); in PackageKeySetData()
/frameworks/native/opengl/tools/glgen/src/
DCFunc.java21 String original; field in CFunc
33 public CFunc(String original) { in CFunc() argument
34 this.original = original; in CFunc()
38 return original; in getOriginal()
DGLESCodeEmitter.java48 public void emitCode(CFunc cfunc, String original) { in emitCode() argument
49 emitCode(cfunc, original, null, mJavaImplStream, in emitCode()
DEGLCodeEmitter.java50 public void emitCode(CFunc cfunc, String original) { in emitCode() argument
51 emitCode(cfunc, original, null, mJavaImplStream, in emitCode()
DJsr239CodeEmitter.java83 public void emitCode(CFunc cfunc, String original) { in emitCode() argument
84 emitCode(cfunc, original, mJavaInterfaceStream, mJavaImplStream, mCStream); in emitCode()
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java436 static byte[] stringToByteArray(String original, boolean isHex) in stringToByteArray() argument
438 int length = isHex ? original.length() / 2 : original.length(); in stringToByteArray()
446 output[i] = (byte) Integer.parseInt(original.substring(i*2, i*2+2), 16); in stringToByteArray()
452 output[i] = (byte) original.charAt(i); in stringToByteArray()
533 static private String decodeString(String original, boolean isHex, int coding) in decodeString() argument
535 String decoded = original; in decodeString()
536 byte[] input = stringToByteArray(original, isHex); in decodeString()
540 decoded = original; in decodeString()
556 decoded = original; in decodeString()
560 Log.e(TAG, "Unknown encoding " + coding + " for NI text " + original); in decodeString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBrightnessMirrorController.java88 public void setLocation(View original) { in setLocation() argument
89 original.getLocationInWindow(mInt2Cache); in setLocation()
93 int originalX = mInt2Cache[0] + original.getWidth() / 2; in setLocation()
94 int originalY = mInt2Cache[1] + original.getHeight() / 2; in setLocation()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneLayoutInflater.java47 protected PhoneLayoutInflater(LayoutInflater original, Context newContext) { in PhoneLayoutInflater() argument
48 super(original, newContext); in PhoneLayoutInflater()
/frameworks/native/libs/ui/tests/
DRegion_test.cpp48 void checkTJunctionFreeFromRegion(const Region& original, int expectedCount = -1) { in checkTJunctionFreeFromRegion() argument
49 Region modified = Region::createTJunctionFreeRegion(original); in checkTJunctionFreeFromRegion()
54 EXPECT_TRUE((original ^ modified).isEmpty()); in checkTJunctionFreeFromRegion()
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/
DLayoutFileParser.java92 private ResourceBundle.LayoutFileBundle parseOriginalXml(final File original, String pkg, in parseOriginalXml() argument
98 return original.getAbsolutePath(); in parseOriginalXml()
101 final String xmlNoExtension = ParserHelper.stripExtension(original.getName()); in parseOriginalXml()
102 FileInputStream fin = new FileInputStream(original); in parseOriginalXml()
114 XMLParser.ElementContext rootView = getViewNode(original, root); in parseOriginalXml()
122 ResourceBundle.LayoutFileBundle bundle = new ResourceBundle.LayoutFileBundle(original, in parseOriginalXml()
123 xmlNoExtension, original.getParentFile().getName(), pkg, isMerge); in parseOriginalXml()
124 final String newTag = original.getParentFile().getName() + '/' + xmlNoExtension; in parseOriginalXml()
125 parseData(original, data, bundle); in parseOriginalXml()
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DInputMethodSubtypeArrayTest.java53 InputMethodSubtypeArray cloneViaParcel(final InputMethodSubtypeArray original) { in cloneViaParcel() argument
57 original.writeToParcel(parcel); in cloneViaParcel()
/frameworks/multidex/library/src/android/support/multidex/
DMultiDex.java333 Object[] original = (Object[]) jlrField.get(instance); in expandFieldArray() local
335 original.getClass().getComponentType(), original.length + extraElements.length); in expandFieldArray()
336 System.arraycopy(original, 0, combined, 0, original.length); in expandFieldArray()
337 System.arraycopy(extraElements, 0, combined, original.length, extraElements.length); in expandFieldArray()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2Settings.java322 private int toIntConstrained(double original, int min, int max) { in toIntConstrained() argument
323 original = Math.max(original, min); in toIntConstrained()
324 original = Math.min(original, max); in toIntConstrained()
325 return (int) original; in toIntConstrained()
/frameworks/native/opengl/tests/angeles/
DREADME.txt17 The original version was made for desktop with OpenGL. It was
23 The Win32 (2000/XP) binary package of original version is
44 As the original version was optimized for size instead of
72 * Toni L�nnberg (!Cube) created the music for original version, which
/frameworks/base/tools/layoutlib/create/
DREADME.txt118 methods and types. Note that other classes are not transformed and keep referencing the original
135 DelegateMethodAdapter since it doesn't preserve the original copy of the method and more importantly
181 original (which is at platform/libcore/luni/src/main/java/...) is injected. Since these classees
189 it removes the original code and replaces it by a call to a specific OveriddeMethod.invokeX(). The
200 original class name. This allows the bridge to literally replace an implementation.
205 version of Paint can still use (either by inheritance or delegation) all the original non-native
226 all the original implementation is native.
237 a- A copy of the original method named SomeClass.MethodName_Original(). The content is the original
244 The delegate method is a static method. If the original method is non-static, the delegate method
245 receives the original 'this' as its first argument. If the original method is an inner non-static

1234567891011