Searched defs:type (Results 126 - 150 of 634) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/app/backup/
H A DFullBackup.java68 * If the {@code type} parameter indicates that the result should be a directory,
79 * @param type Must be either {@link BackupAgent#TYPE_FILE} for ordinary file data
93 long size, int type, long mode, long mtime, File outFile) throws IOException {
94 if (type == BackupAgent.TYPE_DIRECTORY) {
92 restoreFile(ParcelFileDescriptor data, long size, int type, long mode, long mtime, File outFile) argument
/frameworks/base/core/java/android/gesture/
H A DGestureStore.java43 // Nb. bytes Java type Description
108 * @param type SEQUENCE_INVARIANT or SEQUENCE_SENSITIVE
110 public void setSequenceType(int type) { argument
111 mSequenceType = type;
/frameworks/base/core/java/android/hardware/hdmi/
H A DHdmiPortInfo.java30 /** HDMI port type: Input */
33 /** HDMI port type: Output */
47 * @param type HDMI port input/output type
53 public HdmiPortInfo(int id, int type, int address, boolean cec, boolean mhl, boolean arc) { argument
55 mType = type;
72 * Returns the port type.
74 * @return port type
134 int type = source.readInt();
139 return new HdmiPortInfo(id, type, addres
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkIdentity.java60 int type, int subType, String subscriberId, String networkId, boolean roaming) {
61 mType = type;
87 builder.append("type=").append(getNetworkTypeName(mType));
159 final int type = state.networkInfo.getType();
166 if (isNetworkTypeMobile(type)) {
174 } else if (type == TYPE_WIFI) {
185 return new NetworkIdentity(type, subType, subscriberId, networkId, roaming);
59 NetworkIdentity( int type, int subType, String subscriberId, String networkId, boolean roaming) argument
/frameworks/base/core/java/android/preference/
H A DRingtonePreference.java80 * Returns the sound type(s) that are shown in the picker.
82 * @return The sound type(s) that are shown in the picker.
90 * Sets the sound type(s) that are shown in the picker.
92 * @param type The sound type(s) that are shown in the picker.
95 public void setRingtoneType(int type) { argument
96 mRingtoneType = type;
110 * to use will be deduced from the sound type(s) being shown.
/frameworks/base/core/java/android/print/
H A DPrintDocumentInfo.java30 * process based on the content type, such as document or photo.
78 * Content type: unknown.
83 * Content type: document.
94 * Content type: photo.
162 * Gets the content type.
164 * @return The content type.
319 * Sets the content type.
324 * @param type The content type.
330 public Builder setContentType(int type) { argument
[all...]
/frameworks/base/core/java/android/text/
H A DSpanned.java50 * 0-length spans with type SPAN_MARK_MARK behave like text marks:
65 * 0-length spans with type SPAN_POINT_POINT behave like cursors:
89 * Non-0-length spans of type SPAN_INCLUSIVE_EXCLUSIVE expand
96 * Spans of type SPAN_INCLUSIVE_INCLUSIVE expand
102 * Spans of type SPAN_EXCLUSIVE_EXCLUSIVE do not expand
110 * Non-0-length spans of type SPAN_EXCLUSIVE_INCLUSIVE expand
164 * slice of this CharSequence and whose type is the specified type
165 * or a subclass of it. Specify Object.class for the type if you
166 * want all the objects regardless of type
168 getSpans(int start, int end, Class<T> type) argument
197 nextSpanTransition(int start, int limit, Class type) argument
[all...]
/frameworks/base/core/java/android/text/method/
H A DReplacementTransformationMethod.java183 public <T> T[] getSpans(int start, int end, Class<T> type) { argument
184 return mSpanned.getSpans(start, end, type);
199 public int nextSpanTransition(int start, int end, Class type) { argument
200 return mSpanned.nextSpanTransition(start, end, type);
/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 DWindowManagerInternal.java178 * Adds a window token for a given window type.
181 * @param type The window type.
183 public abstract void addWindowToken(android.os.IBinder token, int type); argument
/frameworks/base/core/java/android/webkit/
H A DJsDialogHelper.java57 public JsDialogHelper(JsPromptResult result, int type, String defaultValue, String message, argument
62 mType = type;
70 mType = msg.getData().getInt("type");
85 throw new IllegalArgumentException("Unexpected type: " + mType);
/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.java228 * @param type the subsystem type
231 public double getAveragePower(String type) { argument
232 if (sPowerMap.containsKey(type)) {
233 Object data = sPowerMap.get(type);
237 return (Double) sPowerMap.get(type);
246 * @param type the subsystem type
252 public double getAveragePower(String type, int level) { argument
253 if (sPowerMap.containsKey(type)) {
[all...]
/frameworks/base/core/java/com/android/server/backup/
H A DSystemBackupAgent.java145 int type, String domain, String path, long mode, long mtime)
168 FullBackup.restoreFile(data, size, type, mode, mtime, outFile);
144 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument
/frameworks/base/core/jni/
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/core/tests/coretests/src/android/content/pm/
H A DParceledListSliceTest.java130 // The type/creator to use when unparceling. Here we use the base class
145 protected void writeToParcel(Parcel dest, int flags, int type) { argument
146 dest.writeInt(type);
168 throw new IllegalArgumentException("Unknown type");
202 // Consume the type (as it is always written out).
252 // Consume the type (as it is always written out).
/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 DBackupHelpers.h31 int type; // BACKUP_HEADER_ENTITY_V1 member in struct:android::__anon889
110 status_t ReadNextHeader(bool* done, int* type);
128 int type; member in union:android::BackupDataReader::__anon890
/frameworks/base/libs/hwui/
H A DProgram.cpp134 GLuint Program::buildShader(const char* source, GLenum type) { argument
137 GLuint shader = glCreateShader(type);
/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/media/java/android/media/
H A DMediaCodecList.java101 for (String type: supportedTypes) {
102 caps[typeIx++] = getCodecCapabilities(index, type);
115 getCodecCapabilities(int index, String type); argument
222 // type is not supported
/frameworks/base/media/java/android/media/tv/
H A DTvInputHardwareInfo.java103 b.append(", type=").append(mType);
155 public Builder type(int type) { argument
156 mType = type;
H A DTvStreamConfig.java52 type(source.readInt()).
133 public Builder type(int type) { argument
134 mType = type;
/frameworks/base/media/java/android/mtp/
H A DMtpPropertyGroup.java38 // MTP data type
39 int type; field in class:MtpPropertyGroup.Property
43 Property(int code, int type, int column) { argument
45 this.type = type;
93 int type;
98 type = MtpConstants.TYPE_UINT32;
102 type = MtpConstants.TYPE_UINT16;
106 type = MtpConstants.TYPE_UINT16;
110 type
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDirectoryLoader.java80 public DirectoryLoader(Context context, int type, RootInfo root, DocumentInfo doc, Uri uri, argument
83 mType = type;

Completed in 332 milliseconds

1234567891011>>