Searched refs:type (Results 51 - 75 of 1474) sorted by relevance

1234567891011>>

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DFacetProviderAdapter.java20 * query {@link FacetProvider} for a given type within Adapter. Note that
27 * Queries {@link FacetProvider} for a given type within Adapter.
28 * @param type type of the item.
29 * @return Facet provider for the type.
31 public FacetProvider getFacetProvider(int type); argument
/frameworks/av/media/img_utils/src/
H A DTiffEntry.cpp31 * Specialize for each valid type, including sub-IFDs.
37 const sp<TiffIfd>* TiffEntry::forceValidType<sp<TiffIfd> >(TagType type, const sp<TiffIfd>* value) { argument
38 if (type == LONG) {
41 ALOGE("%s: Value of type 'ifd' is not valid for tag with TIFF type %d.",
42 __FUNCTION__, type);
47 const uint8_t* TiffEntry::forceValidType<uint8_t>(TagType type, const uint8_t* value) { argument
48 if (type == BYTE || type == ASCII || type
57 forceValidType(TagType type, const int8_t* value) argument
67 forceValidType(TagType type, const uint16_t* value) argument
77 forceValidType(TagType type, const int16_t* value) argument
87 forceValidType(TagType type, const uint32_t* value) argument
97 forceValidType(TagType type, const int32_t* value) argument
107 forceValidType(TagType type, const double* value) argument
117 forceValidType(TagType type, const float* value) argument
136 TagType type = getType(); local
[all...]
/frameworks/base/libs/hwui/
H A DGpuMemoryTracker.cpp93 for (int type = 0; type < NUM_TYPES; type++) {
94 const TypeStats& stats = gObjectStats[type];
95 stream << TYPE_NAMES[type];
102 int GpuMemoryTracker::getInstanceCount(GpuObjectType type) { argument
103 return gObjectStats[static_cast<int>(type)].count;
106 int GpuMemoryTracker::getTotalSize(GpuObjectType type) { argument
107 return gObjectStats[static_cast<int>(type)].totalSize;
113 for (int type
[all...]
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
H A DSettingsProviderTest.java209 private void doTestQueryStringInBracketsViaProviderApiForType(int type) { argument
211 deleteStringViaProviderApi(type, FAKE_SETTING_NAME);
215 final Uri uri = insertStringViaProviderApi(type, FAKE_SETTING_NAME,
217 Uri expectUri = Uri.withAppendedPath(getBaseUriForType(type), FAKE_SETTING_NAME);
221 String firstValue = queryStringViaProviderApi(type, FAKE_SETTING_NAME, true, false);
225 deleteStringViaProviderApi(type, FAKE_SETTING_NAME);
229 private void toTestBulkInsertViaProviderApiForType(int type) { argument
231 deleteStringViaProviderApi(type, FAKE_SETTING_NAME);
232 deleteStringViaProviderApi(type, FAKE_SETTING_NAME_1);
233 deleteStringViaProviderApi(type, FAKE_SETTING_NAME_
280 doTestQueryUpdateDeleteGlobalViaProviderApiForType(int type) argument
317 performSetAndGetSettingTestViaFrontEndApi(int type, int userId) argument
329 performSetAndGetSettingTestViaProviderApi(int type) argument
342 setSettingViaFrontEndApiAndAssertSuccessfulChange(final int type, final String name, final String value, final int userId) argument
352 setSettingViaProviderApiAndAssertSuccessfulChange(final int type, final String name, final String value, final boolean withTableRowUri) argument
363 setSettingAndAssertSuccessfulChange(Runnable setCommand, final int type, final String name, final String value, final int userId) argument
415 queryAllSettingsViaProviderApiSettingAndAssertSettingPresent(int type, String name) argument
[all...]
/frameworks/opt/net/voip/src/java/android/net/rtp/
H A DAudioCodec.java39 * The RTP payload type of the encoding.
41 public final int type; field in class:AudioCodec
84 private AudioCodec(int type, String rtpmap, String fmtp) { argument
85 this.type = type;
100 * @param type The payload type of the encoding defined in RTP/AVP.
107 public static AudioCodec getCodec(int type, String rtpmap, String fmtp) { argument
108 if (type < 0 || type > 12
[all...]
/frameworks/base/core/java/android/ddm/
H A DDdmHandleProfiling.java31 public static final int CHUNK_MPRS = type("MPRS");
32 public static final int CHUNK_MPRE = type("MPRE");
33 public static final int CHUNK_MPSS = type("MPSS");
34 public static final int CHUNK_MPSE = type("MPSE");
35 public static final int CHUNK_MPRQ = type("MPRQ");
36 public static final int CHUNK_SPSS = type("SPSS");
37 public static final int CHUNK_SPSE = type("SPSE");
76 Log.v("ddm-heap", "Handling " + name(request.type) + " chunk");
77 int type = request.type;
166 handleMPSEOrSPSE(Chunk request, String type) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dcal_dc_scaler.cpp23 [input_variable_name] = [description of the input to module, its type
27 [local_store_name] = [description of the local store, its type
29 [local_buffer_name] = [description of the local buffer, its type
31 [local_ptr_name] = [description of the local pointer, its type
35 [global_store_name] = [description of the global store, its type
37 [global_buffer_name] = [description of the global buffer, its type
39 [global_ptr_name] = [description of the global pointer, its type
44 by module, its type definition, and length
49 variable_bfr_ptr points to, its type definition, and length
55 [local_store_name] = [describe new contents, its type
150 cal_dc_scaler( int QP, int type) argument
[all...]
/frameworks/base/core/java/android/os/health/
H A DPackageHealthStats.java33 @HealthKeys.Constant(type=HealthKeys.TYPE_STATS)
42 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENTS)
H A DServiceHealthStats.java34 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
43 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
H A DHealthKeys.java75 int type(); method in interface:HealthKeys.Constant
112 final int type = constant.type();
113 if (type >= keys.length) {
114 throw new RuntimeException("Unknown Constant type " + type
118 keys[type].addValue(field.getInt(null));
120 throw new RuntimeException("Can't read constant value type=" + type
140 * Return how many keys there are for the given field type
148 getSize(int type) argument
162 getIndex(int type, int key) argument
175 getKeys(int type) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DExpandableListPosition.java35 * This data type represents a child position
40 * This data type represents a group position
62 * What type of position this ExpandableListPosition represents
64 public int type; field in class:ExpandableListPosition
70 type = 0;
77 if (type == CHILD) return ExpandableListView.getPackedPositionForChild(groupPos, childPos);
98 elp.type = CHILD;
101 elp.type = GROUP;
106 static ExpandableListPosition obtain(int type, int groupPos, int childPos, int flatListPos) { argument
108 elp.type
[all...]
/frameworks/base/libs/androidfw/
H A DTypeWrappers.cpp30 const ResTable_type* type = mTypeVariant->data; local
31 const uint32_t entryCount = dtohl(type->entryCount);
36 const uintptr_t containerEnd = reinterpret_cast<uintptr_t>(type)
37 + dtohl(type->header.size);
39 reinterpret_cast<uintptr_t>(type) + dtohs(type->header.headerSize));
56 reinterpret_cast<uintptr_t>(type) + dtohl(type->entriesStart) + entryOffset);
/frameworks/base/media/java/android/media/
H A DAudioRoutesInfo.java58 return getClass().getSimpleName() + "{ type=" + typeToString(mainType)
63 private static String typeToString(int type) { argument
64 if (type == MAIN_SPEAKER) return "SPEAKER";
65 if ((type & MAIN_HEADSET) != 0) return "HEADSET";
66 if ((type & MAIN_HEADPHONES) != 0) return "HEADPHONES";
67 if ((type & MAIN_DOCK_SPEAKERS) != 0) return "DOCK_SPEAKERS";
68 if ((type & MAIN_HDMI) != 0) return "HDMI";
69 if ((type & MAIN_USB) != 0) return "USB";
70 return Integer.toHexString(type);
H A DAudioDevicePort.java22 * The AudioDevicePort is a specialized type of AudioPort
28 * - the device type (e.g AudioManager.DEVICE_OUT_SPEAKER)
41 int[] formats, AudioGain[] gains, int type, String address) {
43 (AudioManager.isInputDevice(type) == true) ?
46 mType = type;
51 * Get the device type (e.g AudioManager.DEVICE_OUT_SPEAKER)
53 public int type() { method in class:AudioDevicePort
58 * Get the device address. Address format varies with the device type.
87 if (mType != other.type()) {
101 String type
39 AudioDevicePort(AudioHandle handle, String deviceName, int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, int[] formats, AudioGain[] gains, int type, String address) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DProximityEvaluator.java20 public static float evaluate(float value, int type) { argument
23 if (type == Classifier.QUICK_SETTINGS) {
/frameworks/base/tools/aapt/
H A DResourceIdCache.h16 const String16& type,
21 const String16& type,
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DRenameClassAdapter.java60 * Renames an internal type name, e.g. "com.package.MyClass".
61 * If the type doesn't need to be renamed, returns the input string as-is.
63 * The internal type of some of the MethodVisitor turns out to be a type
67 protected String renameInternalType(String type) { argument
68 if (type == null) {
72 if (type.equals(mOldName)) {
76 if (!mOldBase.equals(mOldName) && type.equals(mOldBase)) {
80 int pos = type.indexOf('$');
81 if (pos == mOldBase.length() && type
[all...]
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DCheckedTextViewBindingAdapter.java22 @BindingMethod(type = android.widget.CheckedTextView.class, attribute = "android:checkMark", method = "setCheckMarkDrawable"),
23 @BindingMethod(type = android.widget.CheckedTextView.class, attribute = "android:checkMarkTint", method = "setCheckMarkTintList"),
H A DLinearLayoutBindingAdapter.java22 @BindingMethod(type = android.widget.LinearLayout.class, attribute = "android:divider", method = "setDividerDrawable"),
23 @BindingMethod(type = android.widget.LinearLayout.class, attribute = "android:measureWithLargestChild", method = "setMeasureWithLargestChildEnabled"),
H A DToolbarBindingAdapter.java23 @BindingMethod(type = Toolbar.class, attribute = "android:onMenuItemClick", method = "setOnMenuItemClickListener"),
24 @BindingMethod(type = Toolbar.class, attribute = "android:onNavigationClick", method = "setNavigationOnClickListener"),
H A DZoomControlsBindingAdapter.java23 @BindingMethod(type = ZoomControls.class, attribute = "android:onZoomIn", method = "setOnZoomInClickListener"),
24 @BindingMethod(type = ZoomControls.class, attribute = "android:onZoomOut", method = "setOnZoomOutClickListener"),
/frameworks/support/v4/froyo/android/support/v4/content/
H A DContextCompatFroyo.java28 public static File getExternalFilesDir(Context context, String type) { argument
29 return context.getExternalFilesDir(type);
/frameworks/support/v4/kitkat/android/support/v4/content/
H A DContextCompatKitKat.java28 public static File[] getExternalFilesDirs(Context context, String type) { argument
29 return context.getExternalFilesDirs(type);
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
H A DCallable.java29 public final Type type; field in class:Callable
41 public Callable(Type type, String name, String setterName, ModelClass resolvedType, argument
43 this.type = type;
78 "type=" + type +
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglGetTransformFeedbackVarying.java1 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
11 int[] type,
17 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
28 java.nio.IntBuffer type,
32 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
40 java.nio.IntBuffer type,
44 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
51 int[] type,
55 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
61 java.nio.IntBuffer type
3 glGetTransformFeedbackVarying( int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset ) argument
22 glGetTransformFeedbackVarying( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name ) argument
34 glGetTransformFeedbackVarying( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, java.nio.ByteBuffer name ) argument
46 glGetTransformFeedbackVarying( int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset ) argument
[all...]

Completed in 644 milliseconds

1234567891011>>