HomeSort by relevance Sort by last modified time
    Searched full:clazz (Results 326 - 350 of 1486) sorted by null

<<11121314151617181920>>

  /external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
ViewLoader.java 213 Class<? extends Fragment> clazz = loadFragmentClass(attributes.get("android:name")); local
214 Fragment fragment = ((Constructor<? extends Fragment>) clazz.getConstructor()).newInstance();
243 Class<? extends View> clazz = pickViewClass(); local
245 TestAttributeSet attributeSet = new TestAttributeSet(attributes, resourceExtractor, attrResourceLoader, clazz, isSystem);
249 return ((Constructor<? extends View>) clazz.getConstructor(Context.class, AttributeSet.class)).newInstance(context, attributeSet);
252 return ((Constructor<? extends View>) clazz.getConstructor(Context.class)).newInstance(context);
254 return ((Constructor<? extends View>) clazz.getConstructor(Context.class, String.class)).newInstance(context, "");
260 Class<? extends View> clazz = loadViewClass(name); local
261 if (clazz == null) {
262 clazz = loadViewClass("android.view." + name)
    [all...]
AttrResourceLoader.java 52 private String findKnownAttrClass(String attrName, Class<?> clazz, boolean isSystem) {
53 while (clazz != null) {
54 String className = clazz.getName();
56 className = clazz.getSimpleName();
61 clazz = clazz.getSuperclass();
  /frameworks/base/core/jni/
android_app_NativeActivity.cpp 118 if (env != NULL && clazz != NULL) {
119 env->DeleteGlobalRef(clazz);
211 code->env->CallVoidMethod(code->clazz, gNativeActivityClassInfo.finish);
215 code->env->CallVoidMethod(code->clazz,
220 code->env->CallVoidMethod(code->clazz,
225 code->env->CallVoidMethod(code->clazz,
230 code->env->CallVoidMethod(code->clazz,
245 loadNativeCode_native(JNIEnv* env, jobject clazz, jstring path, jstring funcName,
302 code->clazz = env->NewGlobalRef(clazz);
632 jclass clazz; local
    [all...]
android_view_SurfaceControl.cpp 94 static jint nativeCreate(JNIEnv* env, jclass clazz, jobject sessionObj,
108 static void nativeRelease(JNIEnv* env, jclass clazz, jint nativeObject) {
113 static void nativeDestroy(JNIEnv* env, jclass clazz, jint nativeObject) {
119 static jobject nativeScreenshotBitmap(JNIEnv* env, jclass clazz, jobject displayTokenObj,
182 static void nativeScreenshot(JNIEnv* env, jclass clazz,
200 static void nativeOpenTransaction(JNIEnv* env, jclass clazz) {
204 static void nativeCloseTransaction(JNIEnv* env, jclass clazz) {
208 static void nativeSetAnimationTransaction(JNIEnv* env, jclass clazz) {
212 static void nativeSetLayer(JNIEnv* env, jclass clazz, jint nativeObject, jint zorder) {
220 static void nativeSetPosition(JNIEnv* env, jclass clazz, jint nativeObject, jfloat x, jfloat y)
452 jclass clazz = env->FindClass("android\/view\/SurfaceControl$PhysicalDisplayInfo"); local
    [all...]
  /dalvik/vm/mterp/armv5te/
OP_INVOKE_SUPER.S 24 ldr r10, [r10, #offMethod_clazz] @ r10<- method->clazz
33 * r10 = method->clazz
36 ldr r1, [r10, #offClassObject_super] @ r1<- method->clazz->super
42 ldr r1, [r1, #offClassObject_vtable] @ r1<- ...clazz->super->vtable
47 mov r0, r10 @ r0<- method->clazz
49 bl dvmResolveMethod @ r0<- call(clazz, ref, flags)
  /dalvik/vm/oo/
Object.h 88 #define SET_CLASS_FLAG(clazz, flag) \
89 do { (clazz)->accessFlags |= (flag); } while (0)
91 #define CLEAR_CLASS_FLAG(clazz, flag) \
92 do { (clazz)->accessFlags &= ~(flag); } while (0)
94 #define IS_CLASS_FLAG_SET(clazz, flag) \
95 (((clazz)->accessFlags & (flag)) != 0)
97 #define GET_CLASS_FLAG_GROUP(clazz, flags) \
98 ((u4)((clazz)->accessFlags & (flags)))
181 ClassObject* clazz; member in struct:InterfaceEntry
206 ClassObject* clazz; member in struct:Object
299 ClassObject* clazz; \/* class in which the field is declared *\/ member in struct:Field
488 ClassObject* clazz; member in struct:Method
    [all...]
  /external/chromium_org/base/android/
command_line_android.cc 33 static void Reset(JNIEnv* env, jclass clazz) {
37 static jboolean HasSwitch(JNIEnv* env, jclass clazz, jstring jswitch) {
42 static jstring GetSwitchValue(JNIEnv* env, jclass clazz, jstring jswitch) {
52 static void AppendSwitch(JNIEnv* env, jclass clazz, jstring jswitch) {
57 static void AppendSwitchWithValue(JNIEnv* env, jclass clazz,
65 static void AppendSwitchesAndArguments(JNIEnv* env, jclass clazz,
  /external/javassist/src/main/javassist/
CtArray.java 63 public boolean subtypeOf(CtClass clazz) throws NotFoundException {
64 if (super.subtypeOf(clazz))
67 String cname = clazz.getName();
73 if (intfs[i].subtypeOf(clazz))
76 return clazz.isArray()
77 && getComponentType().subtypeOf(clazz.getComponentType());
  /external/javassist/src/main/javassist/bytecode/analysis/
Type.java 43 private final CtClass clazz; field in class:Type
122 * @param clazz The java class
125 public static Type get(CtClass clazz) {
126 Type type = (Type)prims.get(clazz);
127 return type != null ? type : new Type(clazz);
138 Type(CtClass clazz) {
139 this(clazz, false);
142 private Type(CtClass clazz, boolean special) {
143 this.clazz = clazz;
527 map.put(clazz.getName(), clazz); local
551 map.put(clazz.getName(), clazz); local
    [all...]
  /external/javassist/src/test/test/javassist/bytecode/analysis/
AnalyzerTest.java 30 CtClass clazz = pool.get(getClass().getName() + "$Dummy"); local
31 CtMethod method = clazz.getDeclaredMethod("commonSuperArray");
32 verifyArrayLoad(clazz, method, "java.lang.Number");
37 CtClass clazz = pool.get(getClass().getName() + "$Dummy"); local
38 CtMethod method = clazz.getDeclaredMethod("commonInterfaceArray");
39 verifyArrayLoad(clazz, method, "java.io.Serializable");
112 private static void verifyArrayLoad(CtClass clazz, CtMethod method, String component)
126 Frame[] frames = analyzer.analyze(clazz, info);
197 CtClass clazz = pool.makeClass(getClass().getName() + "$Generated0"); local
199 CtMethod method = new CtMethod(stringClass, "foo", new CtClass[0], clazz);
216 CtClass clazz = pool.makeClass(getClass().getName() + "$Generated4"); local
234 CtClass clazz = pool.makeClass(getClass().getName() + "$Generated3"); local
249 CtClass clazz = pool.makeClass(getClass().getName() + "$Generated1"); local
273 CtClass clazz = pool.makeClass(getClass().getName() + "$Generated2"); local
    [all...]
  /external/proguard/src/proguard/classfile/attribute/
LineNumberTableAttribute.java 82 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, AttributeVisitor attributeVisitor)
84 attributeVisitor.visitLineNumberTableAttribute(clazz, method, codeAttribute, this);
91 public void lineNumbersAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, LineNumberInfoVisitor lineNumberInfoVisitor)
97 lineNumberInfoVisitor.visitLineNumberInfo(clazz, method, codeAttribute, lineNumberTable[index]);
  /external/proguard/src/proguard/classfile/attribute/annotation/
ClassElementValue.java 37 * An extra field pointing to the Clazz objects referenced in the
42 public Clazz[] referencedClasses;
74 Clazz referencedClass = referencedClasses[index];
91 public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
93 elementValueVisitor.visitClassElementValue(clazz, annotation, this);
EnumConstantElementValue.java 38 * An extra field pointing to the Clazz objects referenced in the
44 public Clazz[] referencedClasses;
78 Clazz referencedClass = referencedClasses[index];
95 public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
97 elementValueVisitor.visitEnumConstantElementValue(clazz, annotation, this);
  /external/proguard/src/proguard/classfile/attribute/preverification/
SameOneFrame.java 67 public void stackItemAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VerificationTypeVisitor verificationTypeVisitor)
69 stackItem.accept(clazz, method, codeAttribute, offset, verificationTypeVisitor);
83 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, StackMapFrameVisitor stackMapFrameVisitor)
85 stackMapFrameVisitor.visitSameOneFrame(clazz, method, codeAttribute, offset, this);
StackMapAttribute.java 71 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, AttributeVisitor attributeVisitor)
73 attributeVisitor.visitStackMapAttribute(clazz, method, codeAttribute, this);
80 public void stackMapFramesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, StackMapFrameVisitor stackMapFrameVisitor)
88 stackMapFrameVisitor.visitFullFrame(clazz, method, codeAttribute, stackMapFrame.getOffsetDelta(), stackMapFrame);
StackMapTableAttribute.java 69 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, AttributeVisitor attributeVisitor)
71 attributeVisitor.visitStackMapTableAttribute(clazz, method, codeAttribute, this);
78 public void stackMapFramesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, StackMapFrameVisitor stackMapFrameVisitor)
90 stackMapFrame.accept(clazz, method, codeAttribute, offset, stackMapFrameVisitor);
VerificationType.java 62 public abstract void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor);
68 public abstract void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor);
74 public abstract void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor);
  /external/proguard/src/proguard/classfile/util/
ClassSubHierarchyInitializer.java 56 Clazz[] interfaceClasses = libraryClass.interfaceClasses;
70 private void addSubclass(Clazz subclass, Clazz clazz)
72 if (clazz != null)
74 clazz.addSubClass(subclass);
  /external/proguard/src/proguard/optimize/info/
BackwardBranchMarker.java 41 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {}
44 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
50 public void visitAnySwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SwitchInstruction switchInstruction)
  /frameworks/base/core/jni/android/graphics/
Interpolator.cpp 8 static SkInterpolator* Interpolator_constructor(JNIEnv* env, jobject clazz, int valueCount, int frameCount)
13 static void Interpolator_destructor(JNIEnv* env, jobject clazz, SkInterpolator* interp)
18 static void Interpolator_reset(JNIEnv* env, jobject clazz, SkInterpolator* interp, int valueCount, int frameCount)
23 static void Interpolator_setKeyFrame(JNIEnv* env, jobject clazz, SkInterpolator* interp, int index, int msec, jfloatArray valueArray, jfloatArray blendArray)
49 static void Interpolator_setRepeatMirror(JNIEnv* env, jobject clazz, SkInterpolator* interp, float repeatCount, jboolean mirror)
58 static int Interpolator_timeToValues(JNIEnv* env, jobject clazz, SkInterpolator* interp, int msec, jfloatArray valueArray)
  /frameworks/base/test-runner/src/android/test/
TestRunner.java 283 Class clazz = mContext.getClassLoader().loadClass(className); local
284 Method method = getChildrenMethod(clazz);
288 } else if (mRunnableClass.isAssignableFrom(clazz)) {
289 Runnable test = (Runnable) clazz.newInstance();
328 } else if (mJUnitClass.isAssignableFrom(clazz)) {
332 Method[] methods = getAllTestMethods(clazz);
334 junit.framework.TestCase test = (junit.framework.TestCase) clazz.newInstance();
402 Class clazz = mContext.getClassLoader().loadClass(className); local
403 Object perftest = clazz.newInstance();
492 Class clazz = mContext.getClassLoader().loadClass(className) local
595 Class clazz = c.getClassLoader().loadClass(className); local
656 Class clazz = c.getClassLoader().loadClass(className); local
674 Class clazz = mContext.getClassLoader().loadClass(className); local
688 Class clazz = c.getClassLoader().loadClass(className); local
    [all...]
  /frameworks/base/media/jni/
android_media_MediaDrm.cpp 42 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \
43 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
46 #define GET_METHOD_ID(var, clazz, fieldName, fieldDescriptor) \
47 var = env->GetMethodID(clazz, fieldName, fieldDescriptor); \
50 #define GET_STATIC_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \
51 var = env->GetStaticFieldID(clazz, fieldName, fieldDescriptor); \
54 #define GET_STATIC_METHOD_ID(var, clazz, fieldName, fieldDescriptor) \
55 var = env->GetStaticMethodID(clazz, fieldName, fieldDescriptor); \
135 jclass clazz = env->GetObjectClass(thiz); local
136 if (clazz == NULL)
408 jclass clazz; local
452 jclass clazz; local
467 jclass clazz; local
521 jclass clazz; local
725 jclass clazz; local
848 jclass clazz; local
    [all...]
  /external/android-mock/src/com/google/android/testing/mocking/
UsesMocksProcessor.java 171 for (Class<?> clazz : classesToMock) {
173 logger.printMessage(Kind.NOTE, "Mocking " + clazz);
174 if (!AndroidMock.isAndroidClass(clazz) || regenerateFrameworkMocks) {
175 mockedClassesSet.addAll(getAndroidMockGenerator().createMocksForClass(clazz));
177 mockedClassesSet.addAll(getAndroidFrameworkMockGenerator().getMocksForClass(clazz));
180 logger.reportClasspathError(clazz.getName(), e);
182 logger.reportClasspathError(clazz.getName(), e);
201 for (GeneratedClassFile clazz : mockedClassesSet) {
204 logger.printMessage(Kind.NOTE, "Saving " + clazz.getClassName());
205 JavaFileObject classFile = processingEnv.getFiler().createClassFile(clazz.getClassName())
    [all...]
  /frameworks/base/services/jni/
com_android_server_input_InputManagerService.cpp 91 jclass clazz; member in struct:android::__anon30218
95 jclass clazz; member in struct:android::__anon30219
99 jclass clazz; member in struct:android::__anon30220
469 count, gInputDeviceClassInfo.clazz, NULL);
    [all...]
  /cts/tools/dex-tools/test/dex/reader/
DexTestsCommon.java 96 for (DexClass clazz : file.getDefinedClasses()) {
97 if(className.equals(clazz.getName())){
98 return clazz;
105 protected DexField getField(DexClass clazz, String fieldName) {
106 assertNotNull(clazz);
108 for (DexField field : clazz.getFields()) {
113 fail("Field: " + fieldName +" not present in class: " + clazz.getName());
114 throw new IllegalArgumentException("Field: " + fieldName +" not present in class: " + clazz.getName());
129 protected DexMethod getMethod(DexClass clazz, String methodName, String... typeNames) {
130 assertNotNull(clazz);
    [all...]

Completed in 774 milliseconds

<<11121314151617181920>>