Home
last modified time | relevance | path

Searched refs:fields (Results 1 – 25 of 138) sorted by relevance

123456

/frameworks/base/core/jni/
Dandroid_media_ToneGenerator.cpp39 static fields_t fields; variable
45 fields.context); in android_media_ToneGenerator_startTone()
58 fields.context); in android_media_ToneGenerator_stopTone()
70 fields.context); in android_media_ToneGenerator_getAudioSessionId()
80 fields.context); in android_media_ToneGenerator_release()
83 env->SetLongField(thiz, fields.context, 0); in android_media_ToneGenerator_release()
92 env->SetLongField(thiz, fields.context, 0); in android_media_ToneGenerator_native_setup()
106 env->SetLongField(thiz, fields.context, (jlong)lpToneGen); in android_media_ToneGenerator_native_setup()
108 ALOGV("ToneGenerator fields.context: %p", (void*) env->GetLongField(thiz, fields.context)); in android_media_ToneGenerator_native_setup()
116 fields.context); in android_media_ToneGenerator_native_finalize()
[all …]
Dandroid_hardware_Camera.cpp60 static fields_t fields; variable
122 …JNICameraContext* context = reinterpret_cast<JNICameraContext*>(env->GetLongField(thiz, fields.con… in get_native_camera()
198 env->CallStaticVoidMethod(mCameraJClass, fields.post_event, in notify()
276 env->CallStaticVoidMethod(mCameraJClass, fields.post_event, in copyAndPost()
307 env->CallStaticVoidMethod(mCameraJClass, fields.post_event, in postData()
347 jobject face = env->NewObject(mFaceClass, fields.face_constructor); in postMetadata()
350 jobject rect = env->NewObject(mRectClass, fields.rect_constructor); in postMetadata()
351 env->SetIntField(rect, fields.rect_left, metadata->faces[i].rect[0]); in postMetadata()
352 env->SetIntField(rect, fields.rect_top, metadata->faces[i].rect[1]); in postMetadata()
353 env->SetIntField(rect, fields.rect_right, metadata->faces[i].rect[2]); in postMetadata()
[all …]
Dandroid_hardware_camera2_CameraMetadata.cpp62 static fields_t fields; variable
78 fields.metadata_ptr)); in CameraMetadata_getNativeMetadata()
162 return reinterpret_cast<CameraMetadata*>(env->GetLongField(thiz, fields.metadata_ptr)); in CameraMetadata_getPointerNoThrow()
246 env->SetLongField(thiz, fields.metadata_ptr, 0); in CameraMetadata_close()
574 static int find_fields(JNIEnv *env, field *fields, int count) in find_fields() argument
577 field *f = &fields[i]; in find_fields()
612 { CAMERA_METADATA_CLASS_NAME, "mMetadataPtr", "J", &fields.metadata_ptr }, in CameraMetadata_classInit()
/frameworks/base/media/jni/
Dandroid_media_MediaMetadataRetriever.cpp49 static fields_t fields; variable
73 …MediaMetadataRetriever* retriever = (MediaMetadataRetriever*) env->GetLongField(thiz, fields.conte… in getRetriever()
80 MediaMetadataRetriever *old = (MediaMetadataRetriever*) env->GetLongField(thiz, fields.context); in setRetriever()
81 env->SetLongField(thiz, fields.context, (jlong) retriever); in setRetriever()
256 fields.configClazz, in android_media_MediaMetadataRetriever_getFrameAtTime()
257 fields.createConfigMethod, in android_media_MediaMetadataRetriever_getFrameAtTime()
272 fields.bitmapClazz, in android_media_MediaMetadataRetriever_getFrameAtTime()
273 fields.createBitmapMethod, in android_media_MediaMetadataRetriever_getFrameAtTime()
286 (SkBitmap *) env->GetLongField(jBitmap, fields.nativeBitmap); in android_media_MediaMetadataRetriever_getFrameAtTime()
306 jobject scaledBitmap = env->CallStaticObjectMethod(fields.bitmapClazz, in android_media_MediaMetadataRetriever_getFrameAtTime()
[all …]
Dandroid_media_MediaRecorder.cpp56 static fields_t fields; variable
105 env->CallStaticVoidMethod(mClass, fields.post_event, mObject, msg, ext1, ext2, 0); in notify()
133 MediaRecorder* const p = (MediaRecorder*)env->GetLongField(thiz, fields.context); in getMediaRecorder()
140 sp<MediaRecorder> old = (MediaRecorder*)env->GetLongField(thiz, fields.context); in setMediaRecorder()
147 env->SetLongField(thiz, fields.context, (jlong)recorder.get()); in setMediaRecorder()
323 jobject surface = env->GetObjectField(thiz, fields.surface); in android_media_MediaRecorder_prepare()
421 fields.context = env->GetFieldID(clazz, "mNativeContext", "J"); in android_media_MediaRecorder_native_init()
422 if (fields.context == NULL) { in android_media_MediaRecorder_native_init()
426 fields.surface = env->GetFieldID(clazz, "mSurface", "Landroid/view/Surface;"); in android_media_MediaRecorder_native_init()
427 if (fields.surface == NULL) { in android_media_MediaRecorder_native_init()
[all …]
Dandroid_media_MediaPlayer.cpp66 static fields_t fields; variable
118 env->CallStaticVoidMethod(mClass, fields.post_event, mObject, in notify()
123 env->CallStaticVoidMethod(mClass, fields.post_event, mObject, in notify()
138 MediaPlayer* const p = (MediaPlayer*)env->GetLongField(thiz, fields.context); in getMediaPlayer()
145 sp<MediaPlayer> old = (MediaPlayer*)env->GetLongField(thiz, fields.context); in setMediaPlayer()
152 env->SetLongField(thiz, fields.context, (jlong)player.get()); in setMediaPlayer()
256 …IGraphicBufferProducer * const p = (IGraphicBufferProducer*)env->GetLongField(thiz, fields.surface… in getVideoSurfaceTexture()
305 env->SetLongField(thiz, fields.surface_texture, (jlong)new_st.get()); in setVideoSurface()
654 fields.context = env->GetFieldID(clazz, "mNativeContext", "J"); in android_media_MediaPlayer_native_init()
655 if (fields.context == NULL) { in android_media_MediaPlayer_native_init()
[all …]
Dandroid_media_MediaScanner.cpp49 static fields_t fields; variable
230 return (MediaScanner *) env->GetLongField(thiz, fields.context); in getNativeScanner_l()
235 env->SetLongField(thiz, fields.context, (jlong)s); in setNativeScanner_l()
384 fields.context = env->GetFieldID(clazz, "mNativeContext", "J"); in android_media_MediaScanner_native_init()
385 if (fields.context == NULL) { in android_media_MediaScanner_native_init()
401 env->SetLongField(thiz, fields.context, (jlong)mp); in android_media_MediaScanner_native_setup()
/frameworks/base/media/jni/audioeffect/
Dandroid_media_Visualizer.cpp58 static fields_t fields; variable
196 fields.midPostNativeEvent, in captureCallback()
217 fields.midPostNativeEvent, in captureCallback()
235 thiz, fields.fidNativeVisualizer); in getVisualizer()
253 fields.clazzEffect = NULL; in android_media_visualizer_native_init()
262 fields.clazzEffect = (jclass)env->NewGlobalRef(clazz); in android_media_visualizer_native_init()
273 fields.midPostNativeEvent = env->GetStaticMethodID( in android_media_visualizer_native_init()
274 fields.clazzEffect, in android_media_visualizer_native_init()
276 if (fields.midPostNativeEvent == NULL) { in android_media_visualizer_native_init()
283 fields.fidNativeVisualizer = env->GetFieldID( in android_media_visualizer_native_init()
[all …]
Dandroid_media_AudioEffect.cpp51 static fields_t fields; variable
168 fields.midPostNativeEvent, in effectCallback()
192 fields.clazzEffect = NULL; in android_media_AudioEffect_native_init()
193 fields.clazzDesc = NULL; in android_media_AudioEffect_native_init()
202 fields.clazzEffect = (jclass)env->NewGlobalRef(clazz); in android_media_AudioEffect_native_init()
205 fields.midPostNativeEvent = env->GetStaticMethodID( in android_media_AudioEffect_native_init()
206 fields.clazzEffect, in android_media_AudioEffect_native_init()
208 if (fields.midPostNativeEvent == NULL) { in android_media_AudioEffect_native_init()
215 fields.fidNativeAudioEffect = env->GetFieldID( in android_media_AudioEffect_native_init()
216 fields.clazzEffect, in android_media_AudioEffect_native_init()
[all …]
/frameworks/base/core/jni/android/graphics/
DSurfaceTexture.cpp50 static fields_t fields; variable
58 (GLConsumer*)env->GetLongField(thiz, fields.surfaceTexture); in SurfaceTexture_setSurfaceTexture()
65 env->SetLongField(thiz, fields.surfaceTexture, (jlong)surfaceTexture.get()); in SurfaceTexture_setSurfaceTexture()
72 (IGraphicBufferProducer*)env->GetLongField(thiz, fields.producer); in SurfaceTexture_setProducer()
79 env->SetLongField(thiz, fields.producer, (jlong)producer.get()); in SurfaceTexture_setProducer()
87 env->GetLongField(thiz, fields.frameAvailableListener); in SurfaceTexture_setFrameAvailableListener()
94 env->SetLongField(thiz, fields.frameAvailableListener, (jlong)listener.get()); in SurfaceTexture_setFrameAvailableListener()
98 return (GLConsumer*)env->GetLongField(thiz, fields.surfaceTexture); in SurfaceTexture_getSurfaceTexture()
102 return (IGraphicBufferProducer*)env->GetLongField(thiz, fields.producer); in SurfaceTexture_getProducer()
185 env->CallStaticVoidMethod(mClazz, fields.postEvent, mWeakThiz); in onFrameAvailable()
[all …]
/frameworks/base/media/mca/
Dstructgen.py188 self.fields = []
236 self.fields.append(fieldtype)
265 cfields = [f.cString() for f in self.fields]
271 jgetters = [f.javaGetter() for f in self.fields]
272 jsetters = [f.javaSetter() for f in self.fields]
273 jnativesetters = [f.javaNativeSetter() for f in self.fields]
274 jnativegetters = [f.javaNativeGetter() for f in self.fields]
304 jnigetters = [f.jniGetterDefString() for f in self.fields]
305 jnisetters = [f.jniSetterDefString() for f in self.fields]
309 jnigetters = [f.jniGetterImplString() for f in self.fields]
[all …]
/frameworks/base/media/jni/soundpool/
Dandroid_media_SoundPool_SoundPoolImpl.cpp34 } fields; variable
36 return (SoundPool*)env->GetLongField(thiz, fields.mNativeContext); in MusterSoundPool()
182 …env->CallStaticVoidMethod(fields.mSoundPoolClass, fields.mPostEvent, user, event.mMsg, event.mArg1… in android_media_callback()
215 env->SetLongField(thiz, fields.mNativeContext, (jlong) ap); in android_media_SoundPool_SoundPoolImpl_native_setup()
242 env->SetLongField(thiz, fields.mNativeContext, 0); in android_media_SoundPool_SoundPoolImpl_release()
333 fields.mNativeContext = env->GetFieldID(clazz, "mNativeContext", "J"); in JNI_OnLoad()
334 if (fields.mNativeContext == NULL) { in JNI_OnLoad()
339 fields.mPostEvent = env->GetStaticMethodID(clazz, "postEventFromNative", in JNI_OnLoad()
341 if (fields.mPostEvent == NULL) { in JNI_OnLoad()
348 fields.mSoundPoolClass = (jclass) env->NewGlobalRef(clazz); in JNI_OnLoad()
/frameworks/rs/scriptc/
Drs_types.rsh211 * Provides two float fields packed into a single 64 bit field with 64 bit
216 * Vector version of the basic float type. Provides three float fields packed
222 * Provides four float fields packed into a single 128 bit field with 128 bit
228 * Vector version of the basic double type. Provides two double fields packed
233 * Vector version of the basic double type. Provides three double fields packed
238 * Vector version of the basic double type. Provides four double fields packed
244 * Vector version of the basic uchar type. Provides two uchar fields packed
249 * Vector version of the basic uchar type. Provides three uchar fields packed
254 * Vector version of the basic uchar type. Provides four uchar fields packed
260 * Vector version of the basic ushort type. Provides two ushort fields packed
[all …]
/frameworks/base/docs/html/design/building-blocks/
Dtext-fields.jd12 <p itemprop="description">Text fields allow the user to type text into your app. They can be either…
14 typing, text fields allow for a variety of other activities, such as text selection (cut, copy,
27 <p>Single-line fields automatically scroll their content to the left as the text input cursor reach…
28 the right edge of the input field. Multi-line text fields automatically break to a new line for
37 <p>Text fields can have different types, such as number, message, or email address. The type determ…
44 <h4>Auto-complete text fields</h4>
45 <p>Use auto-complete text fields to present real-time completions or search results in popups, so u…
/frameworks/base/core/tests/coretests/src/android/os/
DBinderThreadPriorityTest.java102 String fields[] = line.trim().split(":"); in getSchedulerGroup() local
103 if (fields.length == 3 && fields[1].equals("cpu")) return fields[2]; in getSchedulerGroup()
/frameworks/base/core/java/android/net/
DINetworkStatsSession.aidl29 NetworkStatsHistory getHistoryForNetwork(in NetworkTemplate template, int fields); in getHistoryForNetwork() argument
34 …kStatsHistory getHistoryForUid(in NetworkTemplate template, int uid, int set, int tag, int fields); in getHistoryForUid() argument
DNetworkStatsHistory.java102 public NetworkStatsHistory(long bucketDuration, int initialSize, int fields) { in NetworkStatsHistory() argument
105 if ((fields & FIELD_ACTIVE_TIME) != 0) activeTime = new long[initialSize]; in NetworkStatsHistory()
106 if ((fields & FIELD_RX_BYTES) != 0) rxBytes = new long[initialSize]; in NetworkStatsHistory()
107 if ((fields & FIELD_RX_PACKETS) != 0) rxPackets = new long[initialSize]; in NetworkStatsHistory()
108 if ((fields & FIELD_TX_BYTES) != 0) txBytes = new long[initialSize]; in NetworkStatsHistory()
109 if ((fields & FIELD_TX_PACKETS) != 0) txPackets = new long[initialSize]; in NetworkStatsHistory()
110 if ((fields & FIELD_OPERATIONS) != 0) operations = new long[initialSize]; in NetworkStatsHistory()
/frameworks/base/tools/apilint/
Dapilint.py118 self.fields = []
182 clazz.fields.append(Field(clazz, raw, blame))
218 for f in clazz.fields:
303 for f in clazz.fields:
336 for f in clazz.fields:
368 creator = [ i for i in clazz.fields if i.name == "CREATOR" ]
381 for f in clazz.fields:
404 for f in clazz.fields:
489 for f in clazz.fields:
507 for f in clazz.fields:
[all …]
/frameworks/base/core/java/android/view/
DViewDebug.java1003 Field[] fields = map.get(klass); in getExportedPropertyFields() local
1004 if (fields != null) { in getExportedPropertyFields()
1005 return fields; in getExportedPropertyFields()
1009 fields = klass.getDeclaredFields(); in getExportedPropertyFields()
1011 int count = fields.length; in getExportedPropertyFields()
1013 final Field field = fields[i]; in getExportedPropertyFields()
1021 fields = foundFields.toArray(new Field[foundFields.size()]); in getExportedPropertyFields()
1022 map.put(klass, fields); in getExportedPropertyFields()
1024 return fields; in getExportedPropertyFields()
1217 final Field[] fields = getExportedPropertyFields(klass); in exportFields() local
[all …]
/frameworks/base/test-runner/src/android/test/
DActivityTestCase.java63 final Field[] fields = getClass().getDeclaredFields(); in scrubClass() local
64 for (Field field : fields) { in scrubClass()
DInstrumentationCoreTestRunner.java173 Field[] fields = clazz.getDeclaredFields(); in getAndroidTestRunner()
174 for (int i = 0; i < fields.length; i++) { in getAndroidTestRunner()
175 Field f = fields[i]; in getAndroidTestRunner()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneData.java334 String[] fields = line.split("\t+"); in loadTzsInZoneTab() local
335 String newTzId = fields[1]; in loadTzsInZoneTab()
336 String oldTzId = fields[fields.length - 1]; in loadTzsInZoneTab()
384 final String[] fields = line.split("\t"); in loadTzsInZoneTab() local
385 final String timeZoneId = fields[2]; in loadTzsInZoneTab()
386 final String countryCode = fields[0]; in loadTzsInZoneTab()
/frameworks/base/core/java/android/test/
DAndroidTestCase.java158 final Field[] fields = getClass().getDeclaredFields(); in scrubClass() local
159 for (Field field : fields) { in scrubClass()
/frameworks/compile/slang/tests/F_struct_bitfield/
Dstderr.txt.expect1 struct_bitfield.rs:5:9: error: bit fields are not able to be exported: 's.x'
/frameworks/base/libs/hwui/
DRenderNode.h144 void setPropertyFieldsDirty(uint32_t fields) { in setPropertyFieldsDirty() argument
145 mDirtyPropertyFields |= fields; in setPropertyFieldsDirty()

123456