Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 112) sorted by relevance

12345

/development/tools/apkcheck/src/com/android/apkcheck/
DFieldInfo.java34 public FieldInfo(String name, String type) { in FieldInfo() argument
36 mType = type; in FieldInfo()
54 String type = TypeUtils.ambiguousToBinaryName(mType, apiList); in normalizeType() local
55 if (!type.equals(mType)) { in normalizeType()
57 mType = type; in normalizeType()
DTypeUtils.java55 public static String typeToDescriptor(String type) { in typeToDescriptor() argument
56 String quick = sQuickConvert.get(type); in typeToDescriptor()
63 while ((posn = type.indexOf('[', posn+1)) != -1) { in typeToDescriptor()
71 type = type.substring(0, firstPosn); in typeToDescriptor()
78 quick = sQuickConvert.get(type); in typeToDescriptor()
83 builder.append(type.replace('.', '/')); in typeToDescriptor()
DMethodInfo.java66 public void addParameter(String type) { in addParameter() argument
67 mParameters.add(type); in addParameter()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DSystemPointerIconButton.java52 int type; in onResolvePointerIcon() local
55 type = PointerIcon.TYPE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW; in onResolvePointerIcon()
58 type = PointerIcon.TYPE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW; in onResolvePointerIcon()
61 type = PointerIcon.TYPE_HORIZONTAL_DOUBLE_ARROW; in onResolvePointerIcon()
64 type = PointerIcon.TYPE_VERTICAL_DOUBLE_ARROW; in onResolvePointerIcon()
67 type = PointerIcon.TYPE_ALL_SCROLL; in onResolvePointerIcon()
69 return PointerIcon.getSystemIcon(getContext(), type); in onResolvePointerIcon()
DList3.java59 int type = cursor.getInt(COLUMN_TYPE); in onCreate()
62 if (type == Phone.TYPE_CUSTOM) { in onCreate()
66 String text = (String) Phone.getTypeLabel(getResources(), type, label); in onCreate()
DList7.java83 int type = c.getInt(COLUMN_PHONE_TYPE); in onItemSelected() local
87 if (type == Phone.TYPE_CUSTOM) { in onItemSelected()
91 String numberType = (String) Phone.getTypeLabel(getResources(), type, label); in onItemSelected()
/development/vndk/tools/header-checker/tests/abi_dumps/
Dopaque_ptr_types.lsdump13 "referenced_type" : "type-1",
23 "referenced_type" : "type-2",
24 "self_type" : "type-1",
/development/samples/browseable/ShareActionProvider/src/com.example.android.shareactionprovider/content/
DContentItem.java44 public ContentItem(int type, int resourceId) { in ContentItem() argument
45 contentType = type; in ContentItem()
56 public ContentItem(int type, String assetFilePath) { in ContentItem() argument
57 contentType = type; in ContentItem()
/development/tools/winscope/src/
Dmatrix_utils.js138 transform.type = 0;
165 var type = transform.type || 0;
166 return (type & bits) === bits;
171 var type = transform.type || 0;
172 return (type & bits) === 0;
Ddecode.js209 function lookup_type(protoPath, type) { argument
210 return protobuf.Root.fromJSON(protoPath).lookupType(type);
236 if (fieldProperties.type === 'TransformProto') {
259 let blobUrl = URL.createObjectURL(new Blob([buffer], { type: fileType.dataType.mime })); property
265 let blobUrl = URL.createObjectURL(new Blob([data], { type: fileType.dataType.mime })); property
269 function dataFile(filename, timeline, data, blobUrl, type) { argument
275 type: type,
/development/vendor_snapshot/
Dupdate.py53 if type(val) == list or type(val) == dict:
58 if type(val) == bool:
60 elif type(val) == str:
62 elif type(val) == list:
67 elif type(val) == dict:
72 raise TypeError('unsupported type %s for gen_bp_prop' % type(val))
171 type=int,
/development/tools/bugreport/src/com/android/bugreport/stacks/
DLockSnapshot.java32 public int type; field in LockSnapshot
42 this.type = that.type; in LockSnapshot()
DThreadSnapshotParser.java130 result.type = ThreadSnapshot.TYPE_UNMANAGED; in parse()
136 result.type = ThreadSnapshot.TYPE_MANAGED; in parse()
143 result.type = ThreadSnapshot.TYPE_MANAGED; in parse()
228 lock.type = LockSnapshot.LOCKED; in parse()
237 lock.type = LockSnapshot.WAITING; in parse()
246 lock.type = LockSnapshot.SLEEPING; in parse()
255 lock.type = LockSnapshot.BLOCKED; in parse()
265 lock.type = LockSnapshot.BLOCKED; in parse()
275 lock.type = LockSnapshot.BLOCKED; in parse()
326 + (ls.type == LockSnapshot.LOCKED ? "locked" : "waiting") in parse()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyEvent.java45 public MonkeyEvent(int type) { in MonkeyEvent() argument
46 eventType = type; in MonkeyEvent()
/development/apps/Development/src/com/android/development/
DAccountsTester.java144 if (desc.type.equals(account.type)) { in getView()
210 String type = getSelectedAuthenticator().type; in onClick() local
211 onAccountsUpdated(mAccountManager.getAccountsByType(type)); in onClick()
222 mAccountManager.addAccount(getSelectedAuthenticator().type, in onClick()
228 mAccountManager.editProperties(getSelectedAuthenticator().type, in onClick()
366 getSelectedAuthenticator().type, in onCreateDialog()
391 AccountManagerCallback<Bundle> newAccountsCallback(String type, String[] features) { in newAccountsCallback() argument
392 return new GetAccountsCallback(type, features); in newAccountsCallback()
399 public GetAccountsCallback(String type, String[] features) { in GetAccountsCallback() argument
401 mAccountType = type; in GetAccountsCallback()
[all …]
DSyncAdapterDriver.java101 names[i] = item.type.authority + " - " + item.type.accountType; in getSyncAdapters()
139 mActiveServiceConnection.mSyncAdapter.type.accountType); in startSyncSelected()
167 mActiveServiceConnection.mSyncAdapter.type.accountType); in startSync()
169 mActiveServiceConnection.mSyncAdapter.type.authority, in startSync()
200 public void onServiceChanged(SyncAdapterType type, int userId, boolean removed) { in onServiceChanged() argument
234 final SyncAdapterType type = mActiveServiceConnection.mSyncAdapter.type; in onServiceConnected() local
236 type.authority, type.accountType)); in onServiceConnected()
/development/samples/browseable/BasicNetworking/
D_index.jd9 a network connection, and if so, what type of connection it is.
11 … on the active connection, and then the connection type is printed to an on-screen console.
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
DAdapters.java539 int type; in createAdapterFromXml() local
542 while (((type = parser.next()) != XmlPullParser.END_TAG || parser.getDepth() > depth) && in createAdapterFromXml()
543 type != XmlPullParser.END_DOCUMENT) { in createAdapterFromXml()
545 if (type != XmlPullParser.START_TAG) { in createAdapterFromXml()
635 int type; in parse() local
638 while (((type = parser.next()) != XmlPullParser.END_TAG || parser.getDepth() > depth) && in parse()
639 type != XmlPullParser.END_DOCUMENT) { in parse()
641 if (type != XmlPullParser.START_TAG) { in parse()
722 private CursorBinder findBinder(String type) throws IOException, XmlPullParserException { in findBinder() argument
730 final boolean isDrawable = ADAPTER_CURSOR_AS_DRAWABLE.equals(type); in findBinder()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DMatrixTrackingGL.java142 public void glColorPointer(int size, int type, int stride, Buffer pointer) { in glColorPointer() argument
143 mgl.glColorPointer(size, type, stride, pointer); in glColorPointer()
212 public void glDrawElements(int mode, int count, int type, Buffer indices) { in glDrawElements() argument
213 mgl.glDrawElements(mode, count, type, indices); in glDrawElements()
486 public void glNormalPointer(int type, int stride, Buffer pointer) { in glNormalPointer() argument
487 mgl.glNormalPointer(type, stride, pointer); in glNormalPointer()
537 int type, Buffer pixels) { in glReadPixels() argument
538 mgl.glReadPixels(x, y, width, height, format, type, pixels); in glReadPixels()
593 public void glTexCoordPointer(int size, int type, in glTexCoordPointer() argument
595 mgl.glTexCoordPointer(size, type, stride, pointer); in glTexCoordPointer()
[all …]
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DCard.java273 private void addAction(String label, int id, int type) { in addAction() argument
277 cardAction.type = type; in addAction()
422 public Builder addAction(String label, int id, int type) { in addAction() argument
423 mCard.addAction(label, id, type); in addAction()
553 switch (action.type) { in initializeActionViews()
614 public int type; field in Card.CardAction
621 actionClone.type = type; in createShallowClone()
704 public void setProgressType(int type) { in setProgressType() argument
705 progressType = type; in setProgressType()
707 switch (type) { in setProgressType()
/development/vndk/tools/header-checker/src/repr/
Dir_representation.h59 static_cast<std::underlying_type<CompatibilityStatusIR>::type>(f) |
60 static_cast<std::underlying_type<CompatibilityStatusIR>::type>(s));
66 static_cast<std::underlying_type<CompatibilityStatusIR>::type>(f) &
67 static_cast<std::underlying_type<CompatibilityStatusIR>::type>(s));
256 CXXBaseSpecifierIR(const std::string &type, bool is_virtual, in CXXBaseSpecifierIR() argument
258 : ReferencesOtherType(type), is_virtual_(is_virtual), access_(access) {} in CXXBaseSpecifierIR()
277 TemplateElementIR(std::string &&type) in TemplateElementIR() argument
278 : ReferencesOtherType(std::move(type)) {} in TemplateElementIR()
280 TemplateElementIR(const std::string &type) in TemplateElementIR() argument
281 : ReferencesOtherType(type) {} in TemplateElementIR()
[all …]
/development/gsi/gsi_util/gsi_util/commands/
Dpull.py69 type=str,
75 type=str,
/development/gsi/repack_super_image/
Drepack_super_image.py127 type=existing_abs_path,
132 type=existing_abs_path,
137 type=existing_abs_path,
141 type=existing_abs_path,
146 type=partition_image,
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
DCameraHelper.java154 public static File getOutputMediaFile(int type){ in getOutputMediaFile() argument
177 if (type == MEDIA_TYPE_IMAGE){ in getOutputMediaFile()
180 } else if(type == MEDIA_TYPE_VIDEO) { in getOutputMediaFile()
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/
DCameraHelper.java154 public static File getOutputMediaFile(int type){ in getOutputMediaFile() argument
177 if (type == MEDIA_TYPE_IMAGE){ in getOutputMediaFile()
180 } else if(type == MEDIA_TYPE_VIDEO) { in getOutputMediaFile()

12345