Home
last modified time | relevance | path

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

12345

/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/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()
/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.js205 if (fieldProperties.type === 'TransformProto') {
228 let blobUrl = URL.createObjectURL(new Blob([buffer], { type: fileType.dataType.mime })); property
234 let blobUrl = URL.createObjectURL(new Blob([data], { type: fileType.dataType.mime })); property
238 function dataFile(filename, timeline, data, blobUrl, type) { argument
244 type: type,
/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/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/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))
194 type=int,
/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/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/vndk/tools/header-checker/src/repr/
Dir_representation.h56 static_cast<std::underlying_type<CompatibilityStatusIR>::type>(f) |
57 static_cast<std::underlying_type<CompatibilityStatusIR>::type>(s));
63 static_cast<std::underlying_type<CompatibilityStatusIR>::type>(f) &
64 static_cast<std::underlying_type<CompatibilityStatusIR>::type>(s));
253 CXXBaseSpecifierIR(const std::string &type, bool is_virtual, in CXXBaseSpecifierIR() argument
255 : ReferencesOtherType(type), is_virtual_(is_virtual), access_(access) {} in CXXBaseSpecifierIR()
274 TemplateElementIR(std::string &&type) in TemplateElementIR() argument
275 : ReferencesOtherType(std::move(type)) {} in TemplateElementIR()
277 TemplateElementIR(const std::string &type) in TemplateElementIR() argument
278 : ReferencesOtherType(type) {} in TemplateElementIR()
[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/tests/abi_dumps/
Dopaque_ptr_types.lsdump13 "referenced_type" : "type-1",
23 "referenced_type" : "type-2",
24 "self_type" : "type-1",
/development/tools/bugreport/src/com/android/bugreport/stacks/
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()
DLockSnapshot.java32 public int type; field in LockSnapshot
42 this.type = that.type; in LockSnapshot()
/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/tools/apkcheck/
DREADME.txt76 type="android.os.Parcelable.Creator"
123 find a method that matches on everything but the return type, it will
134 <parameter name="key" type="K">
135 <parameter name="others" type="E...">
136 <parameter name="map" type="java.util.Map&lt;? extends K, ? extends V&gt;">
154 a method with a more specific return type (android.os.Parcelable), so
157 There is no way to recover the actual type, because the generic signature
159 as a covariant return type. When the generic type is in the parameter
170 to by application code. For example, an opaque type might be passed to
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyEvent.java45 public MonkeyEvent(int type) { in MonkeyEvent() argument
46 eventType = type; in MonkeyEvent()
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/
DMethodSourcer.java162 mOutput.write("%s /* non-standard method attribute */ ", attr.type); in visitAttribute()
171 public void visitFrame(int type, int local, Object[] local2, int stack, Object[] stack2) { in visitFrame() argument
248 public void visitTryCatchBlock(Label start, Label end, Label handler, String type) { in visitTryCatchBlock() argument
253 public void visitTypeInsn(int opcode, String type) { in visitTypeInsn() argument
/development/samples/ApiDemos/src/com/example/android/apis/app/
DPresentationWithMediaRouterActivity.java220 public void onRouteSelected(MediaRouter router, int type, RouteInfo info) {
221 Log.d(TAG, "onRouteSelected: type=" + type + ", info=" + info);
226 public void onRouteUnselected(MediaRouter router, int type, RouteInfo info) {
227 Log.d(TAG, "onRouteUnselected: type=" + type + ", info=" + info);
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
DContactManager.java68 new String[] { account.name, account.type, SAMPLE_GROUP_NAME }, null); in ensureSampleGroupExists()
83 contentValues.put(Groups.ACCOUNT_TYPE, account.type); in ensureSampleGroupExists()
359 final int type = c.getInt(DataQuery.COLUMN_PHONE_TYPE); in updateContact() local
360 if (type == Phone.TYPE_MOBILE) { in updateContact()
364 } else if (type == Phone.TYPE_HOME) { in updateContact()
368 } else if (type == Phone.TYPE_WORK) { in updateContact()
490 final int type = c.getInt(DataQuery.COLUMN_PHONE_TYPE); in getRawContact() local
491 if (type == Phone.TYPE_MOBILE) { in getRawContact()
493 } else if (type == Phone.TYPE_HOME) { in getRawContact()
495 } else if (type == Phone.TYPE_WORK) { in getRawContact()
/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