Searched defs:type (Results 101 - 125 of 434) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/view/
H A DSurfaceHolder.java50 * whose type is SURFACE_TYPE_PUSH_BUFFERS.
149 * Sets the surface's type.
154 public void setType(int type); argument
H A DWindowInfo.java48 public int type = UNDEFINED; field in class:WindowInfo
72 parcel.writeInt(type);
84 type = parcel.readInt();
96 info.type = other.type;
138 type = UNDEFINED;
150 builder.append(", type:").append(type);
/frameworks/base/core/java/com/android/internal/net/
H A DVpnProfile.java51 public int type = TYPE_PPTP; // 1 field in class:VpnProfile
76 type = in.readInt();
97 out.writeInt(type);
128 profile.type = Integer.valueOf(values[1]);
129 if (profile.type < 0 || profile.type > TYPE_MAX) {
156 builder.append('\0').append(type);
/frameworks/base/core/java/com/android/internal/os/
H A DPowerProfile.java216 * @param type the subsystem type
219 public double getAveragePower(String type) { argument
220 if (sPowerMap.containsKey(type)) {
221 Object data = sPowerMap.get(type);
225 return (Double) sPowerMap.get(type);
234 * @param type the subsystem type
240 public double getAveragePower(String type, int level) { argument
241 if (sPowerMap.containsKey(type)) {
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_SensorManager.cpp37 jfieldID type; member in struct:android::SensorOffsets
74 env->SetIntField(sensor, sensorOffsets.type, list->getType());
158 sensorOffsets.type = _env->GetFieldID(sensorClass, "mType", "I");
H A Dandroid_nio_utils.cpp90 const char type[]) {
91 jfieldID f = env->GetFieldID(c, name, type);
89 getFieldID(JNIEnv* env, jclass c, const char name[], const char type[]) argument
/frameworks/base/graphics/java/android/renderscript/
H A DFileA3D.java46 * Specifies what renderscript object type is contained within
76 * object's type and also name and load the object itself if
102 * Returns the type of a renderscript object the index entry
104 * @return type of a renderscript object the index entry
158 IndexEntry(RenderScript rs, int index, int id, String name, EntryType type) { argument
163 mEntryType = type;
/frameworks/base/include/androidfw/
H A DAssetDir.h61 * Get the type of a file (usually regular or directory).
109 void set(const String8& path, FileType type) { argument
111 mFileType = type;
118 void setFileType(FileType type) { mFileType = type; } argument
H A DAssetManager.h189 * Get the type of a file in the asset hierarchy. They will either
225 FileType type; member in struct:android::AssetManager::asset_path
H A DBackupHelpers.h31 int type; // BACKUP_HEADER_ENTITY_V1 member in struct:android::__anon1009
110 status_t ReadNextHeader(bool* done, int* type);
128 int type; member in union:android::BackupDataReader::__anon1010
/frameworks/base/keystore/java/android/security/
H A DCredentials.java72 /** Data type for public keys. */
75 /** Data type for private keys. */
149 throw new IllegalArgumentException("Unknown type " + o.getType());
194 public void install(Context context, String type, byte[] value) { argument
197 intent.putExtra(type, value);
211 * Make sure every type is deleted. There can be all three types, so
225 * Make sure every certificate type is deleted. There can be two types,
/frameworks/base/libs/androidfw/
H A DInputDevice.cpp44 const String8& name, InputDeviceConfigurationFileType type) {
45 path.append(CONFIGURATION_FILE_DIR[type]);
53 path.append(CONFIGURATION_FILE_EXTENSION[type]);
58 InputDeviceConfigurationFileType type) {
66 type));
76 type));
83 return getInputDeviceConfigurationFilePathByName(deviceIdentifier.name, type);
87 const String8& name, InputDeviceConfigurationFileType type) {
92 appendInputDeviceConfigurationFileRelativePath(path, name, type);
107 appendInputDeviceConfigurationFileRelativePath(path, name, type);
43 appendInputDeviceConfigurationFileRelativePath(String8& path, const String8& name, InputDeviceConfigurationFileType type) argument
56 getInputDeviceConfigurationFilePathByDeviceIdentifier( const InputDeviceIdentifier& deviceIdentifier, InputDeviceConfigurationFileType type) argument
86 getInputDeviceConfigurationFilePathByName( const String8& name, InputDeviceConfigurationFileType type) argument
[all...]
/frameworks/base/libs/hwui/
H A DProgram.cpp134 GLuint Program::buildShader(const char* source, GLenum type) { argument
135 GLuint shader = glCreateShader(type);
H A DSkiaColorFilter.h50 ANDROID_API SkiaColorFilter(SkColorFilter *skFilter, Type type, bool blend);
60 Type type() const { function in struct:android::uirenderer::SkiaColorFilter
H A DTextureCache.cpp301 GLenum type, const GLvoid * data) {
303 glTexImage2D(GL_TEXTURE_2D, 0, format, width, height, 0, format, type, data);
305 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, format, type, data);
300 uploadToTexture(bool resize, GLenum format, GLsizei width, GLsizei height, GLenum type, const GLvoid * data) argument
/frameworks/base/location/java/android/location/
H A DGeofence.java95 private static void checkType(int type) { argument
96 if (type != TYPE_HORIZONTAL_CIRCLE) {
97 throw new IllegalArgumentException("invalid type: " + type);
104 int type = in.readInt();
108 checkType(type);
130 private static String typeToString(int type) { argument
131 switch (type) {
135 checkType(type);
/frameworks/base/services/java/com/android/server/
H A DSystemBackupAgent.java126 int type, String domain, String path, long mode, long mtime)
149 FullBackup.restoreFile(data, size, type, mode, mtime, outFile);
125 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument
/frameworks/base/services/java/com/android/server/display/
H A DDisplayDeviceInfo.java143 * Display type.
145 public int type; field in class:DisplayDeviceInfo
149 * Interpretation varies by display type.
178 && type == other.type
198 type = other.type;
210 + ", type " + Display.typeToString(type)
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DConnectivityServiceTest.java92 public MockNetwork(int type) { argument
94 info = new NetworkInfo(type, -1, getNetworkTypeName(type), null);
/frameworks/base/telephony/java/android/telephony/
H A DCellInfo.java51 // Observation time stamped as type in nanoseconds since boot
132 private static String timeStampTypeToString(int type) { argument
133 switch (type) {
177 protected void writeToParcel(Parcel dest, int flags, int type) { argument
178 dest.writeInt(type);
199 int type = in.readInt();
200 switch (type) {
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSgTransform.java65 public void setTransform(int index, Float4 value, TransformType type) { argument
67 mTransformData.transformTypes[index] = type.mID;
/frameworks/base/tools/aapt/
H A DSourcePos.cpp89 const char* type = fatal ? "error:" : "warning:"; local
92 fprintf(to, "%s:%d: %s %s\n", this->file.string(), this->line, type, this->error.string());
94 fprintf(to, "%s: %s %s\n", this->file.string(), type, this->error.string());
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DCustomBar.java160 protected Drawable loadIcon(int index, ResourceType type, String name) { argument
165 ResourceValue value = res.getFrameworkResource(type, name);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DResourceHelper.java314 int type; field in class:ResourceHelper.UnitEntry
318 UnitEntry(String name, int type, int unit, float scale) { argument
320 this.type = type;
339 * Returns the raw value from the given attribute float-type value string.
412 outValue.type = TypedValue.TYPE_FLOAT;
488 outValue.type = unit.type;
/frameworks/base/voip/jni/rtp/
H A DAmrCodec.cpp103 Frame_Type_3GPP type; local
106 samples, bytes + 1, &type, AMR_TX_WMF);
108 if (type != mMode || length != (8 + gFrameBits[mMode] + 7) >> 3) {
134 Frame_Type_3GPP type; local
144 type = (Frame_Type_3GPP)(bytes[1] >> 3);
145 if (length != (16 + gFrameBits[type] + 7) >> 3) {
154 type = (Frame_Type_3GPP)((bytes[0] << 1 | bytes[1] >> 7) & 0x07);
155 if (length != (10 + gFrameBits[type] + 7) >> 3) {
165 length = (gFrameBits[type] + 7) >> 3;
169 if (AMRDecode(mDecoder, type, byte
227 Frame_Type_3GPP type; local
[all...]

Completed in 281 milliseconds

1234567891011>>