Searched defs:type (Results 276 - 300 of 1121) sorted by relevance

<<11121314151617181920>>

/frameworks/base/core/java/android/net/metrics/
H A DDhcpErrorEvent.java58 // byte 0: error type
97 private static int makeErrorCode(int type, int subtype) { argument
98 return (type << 24) | ((0xFF & subtype) << 16);
/frameworks/base/core/java/android/os/health/
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/os/storage/
H A DVolumeRecord.java41 public final int type; field in class:VolumeRecord
50 public VolumeRecord(int type, String fsUuid) { argument
51 this.type = type;
56 type = parcel.readInt();
67 return type;
89 pw.printPair("type", DebugUtils.valueToString(VolumeInfo.class, "TYPE_", type));
149 parcel.writeInt(type);
/frameworks/base/core/java/android/preference/
H A DRingtonePreference.java81 * Returns the sound type(s) that are shown in the picker.
83 * @return The sound type(s) that are shown in the picker.
91 * Sets the sound type(s) that are shown in the picker.
93 * @param type The sound type(s) that are shown in the picker.
96 public void setRingtoneType(int type) { argument
97 mRingtoneType = type;
111 * to use will be deduced from the sound type(s) being shown.
/frameworks/base/core/java/android/print/
H A DPrintDocumentInfo.java37 * process based on the content type, such as document or photo.
95 * Content type: unknown.
100 * Content type: document.
111 * Content type: photo.
180 * Gets the content type.
182 * @return The content type.
338 * Sets the content type.
343 * @param type The content type.
349 public @NonNull Builder setContentType(@ContentType int type) { argument
[all...]
/frameworks/base/core/java/android/text/
H A DInputFilter.java139 public <T> T[] getSpans(int start, int end, Class<T> type) { argument
140 return ((Spanned) mSource).getSpans(mStart + start, mStart + end, type);
155 public int nextSpanTransition(int start, int limit, Class type) { argument
156 return ((Spanned) mSource).nextSpanTransition(mStart + start, mStart + limit, type)
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:
91 * Non-0-length spans of type SPAN_INCLUSIVE_EXCLUSIVE expand
98 * Spans of type SPAN_INCLUSIVE_INCLUSIVE expand
104 * Spans of type SPAN_EXCLUSIVE_EXCLUSIVE do not expand
112 * Non-0-length spans of type SPAN_EXCLUSIVE_INCLUSIVE expand
166 * slice of this CharSequence and whose type is the specified type
167 * or a subclass of it. Specify Object.class for the type if you
168 * want all the objects regardless of type
170 getSpans(int start, int end, Class<T> type) argument
198 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.
174 * Sets the surface's type.
179 public void setType(int type); argument
/frameworks/base/core/java/android/view/autofill/
H A DAutofillValue.java40 * <p>Each {@link AutofillValue} is associated with a {@code type}, as defined by
47 private AutofillValue(@View.AutofillType int type, @NonNull Object value) { argument
48 mType = type;
60 Preconditions.checkState(isText(), "value must be a text value, not type=" + mType);
81 Preconditions.checkState(isToggle(), "value must be a toggle value, not type=" + mType);
102 Preconditions.checkState(isList(), "value must be a list value, not type=" + mType);
123 Preconditions.checkState(isDate(), "value must be a date value, not type=" + mType);
177 .append("[type=").append(mType)
234 throw new IllegalArgumentException("type=" + mType + " not valid");
/frameworks/base/core/java/android/view/textclassifier/
H A DTextClassificationManager.java103 * Returns a specific type of text classifier.
110 public TextClassifier getTextClassifier(@TextClassifierType int type) { argument
111 switch (type) {
/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/os/logging/
H A DMetricsLoggerWrapper.java107 public static void logAppOverlayEnter(int uid, String packageName, boolean changed, int type, boolean usingAlertWindow) { argument
109 if (type != LayoutParams.TYPE_APPLICATION_OVERLAY) {
119 public static void logAppOverlayExit(int uid, String packageName, boolean changed, int type, boolean usingAlertWindow) { argument
121 if (type != LayoutParams.TYPE_APPLICATION_OVERLAY) {
/frameworks/base/core/java/com/android/server/backup/
H A DSystemBackupAgent.java131 int type, String domain, String path, long mode, long mtime)
154 FullBackup.restoreFile(data, size, type, mode, mtime, outFile);
130 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DParceledListSliceTest.java171 // The type/creator to use when unparceling. Here we use the base class
186 protected void writeToParcel(Parcel dest, int flags, int type) { argument
187 dest.writeInt(type);
209 throw new IllegalArgumentException("Unknown type");
243 // Consume the type (as it is always written out).
293 // Consume the type (as it is always written out).
/frameworks/base/core/tests/coretests/src/android/text/
H A DSpannableStringNoCopyTest.java119 public <T> T[] getSpans(int start, int end, Class<T> type) { argument
120 return mText.getSpans(start, end, type);
139 public int nextSpanTransition(int start, int limit, Class type) { argument
140 return mText.nextSpanTransition(start, limit, type);
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
H A DTextClassificationManagerTest.java374 final int startIndex, final int endIndex, final String type) {
382 && typeMatches(selection, type);
387 private boolean typeMatches(TextSelection selection, String type) {
388 return type == null
390 && type.trim().equalsIgnoreCase(selection.getEntity(0)));
396 String.format("%d, %d, %s", startIndex, endIndex, type));
402 final String text, final String substring, final String type) {
409 .appendText(", type=").appendValue(type);
417 return type
373 isTextSelection( final int startIndex, final int endIndex, final String type) argument
401 isTextLinksContaining( final String text, final String substring, final String type) argument
426 isTextClassification( final String text, final String type) argument
[all...]
/frameworks/base/libs/androidfw/include/androidfw/
H A DAssetDir.h61 * Get the type of a file (usually regular or directory).
110 void set(const String8& path, FileType type) { argument
112 mFileType = type;
119 void setFileType(FileType type) { mFileType = type; } argument
H A DAssetManager.h180 * Get the type of a file in the asset hierarchy. They will either
217 asset_path() : path(""), rawFd(-1), type(kFileTypeRegular), idmap(""),
221 FileType type; member in struct:android::AssetManager::asset_path
H A DBackupHelpers.h33 int type; // BACKUP_HEADER_ENTITY_V1 member in struct:android::__anon944
112 status_t ReadNextHeader(bool* done, int* type);
130 int type; member in union:android::BackupDataReader::__anon945
/frameworks/base/libs/hwui/
H A DGpuMemoryTracker.cpp92 for (int type = 0; type < NUM_TYPES; type++) {
93 const TypeStats& stats = gObjectStats[type];
94 stream << TYPE_NAMES[type];
101 int GpuMemoryTracker::getInstanceCount(GpuObjectType type) { argument
102 return gObjectStats[static_cast<int>(type)].count;
105 int GpuMemoryTracker::getTotalSize(GpuObjectType type) { argument
106 return gObjectStats[static_cast<int>(type)].totalSize;
112 for (int type
[all...]
H A DProfileData.h60 void reportJankType(JankType type) { mJankTypeCounts[static_cast<int>(type)]++; } argument
65 uint32_t jankTypeCount(JankType type) const { return mJankTypeCounts[static_cast<int>(type)]; }
H A DProgram.cpp131 GLuint Program::buildShader(const char* source, GLenum type) { argument
134 GLuint shader = glCreateShader(type);
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaMemoryTracer.cpp64 // find the type if one exists
65 const char* type; local
66 auto typeResult = mCurrentValues.find("type");
68 type = typeResult->second.units;
70 type = "Other";
73 // compute the type if we are itemizing or use the default "size" if we are not
74 const char* key = (mItemizeType) ? type : sizeResult->first;
/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);

Completed in 409 milliseconds

<<11121314151617181920>>