Home
last modified time | relevance | path

Searched refs:element (Results 1 – 25 of 58) sorted by relevance

123

/packages/apps/Dialer/java/com/android/dialer/rootcomponentgenerator/
DComponentGeneratingStep.java21 import static javax.lang.model.element.Modifier.ABSTRACT;
22 import static javax.lang.model.element.Modifier.PUBLIC;
23 import static javax.lang.model.element.Modifier.STATIC;
46 import javax.lang.model.element.AnnotationMirror;
47 import javax.lang.model.element.AnnotationValue;
48 import javax.lang.model.element.Element;
49 import javax.lang.model.element.ExecutableElement;
50 import javax.lang.model.element.TypeElement;
51 import javax.lang.model.element.VariableElement;
184 private void addElement(TypeSpec.Builder builder, Element element) { in addElement() argument
[all …]
DMetadataGeneratingStep.java34 import javax.lang.model.element.Element;
35 import javax.lang.model.element.TypeElement;
61 for (Element element : elementsByAnnotation.get(IncludeInDialerRoot.class)) { in process()
62 generateMetadataFor(IncludeInDialerRoot.class, MoreElements.asType(element)); in process()
64 for (Element element : elementsByAnnotation.get(InstallIn.class)) { in process()
65 if (element.getAnnotation(InstallIn.class).variants().length == 0) { in process()
69 ERROR, String.format("@InstallIn %s must have at least one variant", element)); in process()
72 generateMetadataFor(InstallIn.class, MoreElements.asType(element)); in process()
DRootComponentGeneratingStep.java48 import javax.lang.model.element.AnnotationMirror;
49 import javax.lang.model.element.Element;
50 import javax.lang.model.element.Modifier;
51 import javax.lang.model.element.PackageElement;
52 import javax.lang.model.element.TypeElement;
95 for (Element element : elementsByAnnotation.get(DialerRootComponent.class)) { in process()
102 generateRootComponent(MoreElements.asType(element)); in process()
183 for (Element element : cachePackage.getEnclosedElements()) { in extractInfoFromMetadata()
185 getAnnotationMirror(element, RootComponentGeneratorMetadata.class); in extractInfoFromMetadata()
186 if (isAnnotationPresent(element, RootComponentGeneratorMetadata.class) in extractInfoFromMetadata()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DPointerTrackerQueue.java72 final Element element = expandableArray.get(index); in remove() local
73 if (element == pointer) { in remove()
81 expandableArray.set(newIndex, element); in remove()
104 final Element element = expandableArray.get(index); in releaseAllPointersOlderThan() local
105 if (element == pointer) { in releaseAllPointersOlderThan()
108 if (!element.isModifier()) { in releaseAllPointersOlderThan()
109 element.onPhantomUpEvent(eventTime); in releaseAllPointersOlderThan()
114 expandableArray.set(newIndex, element); in releaseAllPointersOlderThan()
121 final Element element = expandableArray.get(index); in releaseAllPointersOlderThan() local
122 if (element == pointer) { in releaseAllPointersOlderThan()
[all …]
/packages/apps/Camera2/src/com/android/camera/util/
DConcurrentSharedRingBuffer.java94 public boolean select(E element); in select() argument
118 public Pinnable(E element) { in Pinnable() argument
119 mElement = element; in Pinnable()
384 Pinnable<E> element = mElements.get(key); in release() local
386 if (element == null) { in release()
391 if (!element.isPinned()) { in release()
396 element.mPins--; in release()
398 if (!element.isPinned()) { in release()
400 mUnpinnedElements.put(key, element); in release()
509 for (Pinnable<E> element : mElements.values()) { in close()
[all …]
/packages/apps/Car/Cluster/src/android/car/cluster/
DCueView.java80 .filter(element -> element.hasImage()) in setCue()
81 .map(element -> element.getImage()) in setCue()
102 for (CueElement element : cue.getElementsList()) { in update()
103 if (element.hasImage()) { in update()
104 Bitmap bitmap = bitmaps.get(element.getImage()); in update()
106 String imageText = element.getText().isEmpty() ? mImageSpanText : in update()
107 element.getText(); in update()
115 } else if (!element.getText().isEmpty()) { in update()
116 builder.append(element.getText()); in update()
/packages/apps/Nfc/nci/jni/
DRouteDataSet.cpp316 void RouteDataSet::importProtocolRoute(xmlNodePtr& element, in importProtocolRoute() argument
328 "%s: element=%s", "RouteDataSet::importProtocolRoute", element->name); in importProtocolRoute()
329 value = xmlGetProp(element, id); in importProtocolRoute()
345 value = xmlGetProp(element, secElem); in importProtocolRoute()
355 value = xmlGetProp(element, switchOn); in importProtocolRoute()
361 value = xmlGetProp(element, switchOff); in importProtocolRoute()
367 value = xmlGetProp(element, batteryOff); in importProtocolRoute()
386 void RouteDataSet::importTechnologyRoute(xmlNodePtr& element, in importTechnologyRoute() argument
398 "%s: element=%s", "RouteDataSet::importTechnologyRoute", element->name); in importTechnologyRoute()
399 value = xmlGetProp(element, id); in importTechnologyRoute()
[all …]
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
DArrayInitializerFormatter.java81 public void outElement(final String element) { in outElement() argument
82 if (!element.equals(mLastElement)) { in outElement()
86 final int nextLen = mBufferedLen + " ".length() + element.length(); in outElement()
90 mBuffer.append(element); in outElement()
98 mBuffer.append(element); in outElement()
99 mBufferedLen = element.length(); in outElement()
102 mLastElement = element; in outElement()
/packages/apps/Camera2/src/com/android/camera/async/
DCountableBufferQueue.java38 public void process(T element) { in process() argument
39 mProcessor.process(element); in process()
66 public void process(T element) { in CountableBufferQueue()
107 public void update(@Nonnull T element) { in update() argument
118 mBufferQueue.update(element); in update()
DConcurrentBufferQueue.java51 public void process(T element); in process() argument
104 public void process(T element) { in ConcurrentBufferQueue()
143 public void update(@Nonnull T element) { in update() argument
148 mQueue.add(makeEntry(element)); in update()
152 mUnusedElementProcessor.process(element); in update()
DRefCountedBufferQueueController.java32 public void update(@Nonnull T element) { in update() argument
33 mBuffer.get().update(element); in update()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapMessageListing.java43 public void add(BluetoothMapMessageListingElement element) { in add() argument
44 mList.add(element); in add()
46 if (!element.getReadBool()) { in add()
115 for (BluetoothMapMessageListingElement element : mList) { in encode()
116 element.encode(xmlMsgElement, includeThreadId); // Append the list element in encode()
DBluetoothMapConvoListing.java48 public void add(BluetoothMapConvoListingElement element) { in add() argument
49 mList.add(element); in add()
51 if (element.getReadBool()) { in add()
103 for (BluetoothMapConvoListingElement element : mList) { in encode()
104 element.encode(xmlConvoElement); // Append the list element in encode()
DBluetoothMapFolderElement.java388 BluetoothMapFolderElement element = in readFolders() local
390 element.setHasEmailContent(mHasEmailContent); in readFolders()
391 element.setHasImContent(mHasImContent); in readFolders()
392 element.setHasSmsMmsContent(mHasSmsMmsContent); in readFolders()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DStringUtils.java130 for (final String element : array) { in containsInArray()
131 if (text.equals(element)) { in containsInArray()
165 for (final String element : elements) { in removeFromCommaSplittableTextIfExists()
166 if (!text.equals(element)) { in removeFromCommaSplittableTextIfExists()
167 result.add(element); in removeFromCommaSplittableTextIfExists()
635 public String stringize(@Nullable final E element) { in stringize() argument
636 if (element == null) { in stringize()
639 return element.toString(); in stringize()
/packages/apps/TV/common/src/com/android/tv/common/flags/proto/
Dtyped-features.proto10 repeated int32 element = 1; field
14 repeated int64 element = 1; field
19 repeated string element = 1; field
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/
DCollectionUtils.java93 public static <T> List<T> singletonOrEmpty(@Nullable T element) { in singletonOrEmpty() argument
94 return element != null ? Collections.singletonList(element) : Collections.emptyList(); in singletonOrEmpty()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DAbstractKeyboardBuilder.java118 void setElementAt(final int row, final int column, final E element, final boolean insert) { in setElementAt() argument
133 newElements[columnIndex] = element; in setElementAt()
140 newElements[columnIndex] = element; in setElementAt()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_gatt.cpp459 ScopedLocalRef<jobject> element( in fillGattDbElementArray() local
464 env->SetIntField(element.get(), fid, curr.id); in fillGattDbElementArray()
467 env->SetIntField(element.get(), fid, curr.attribute_handle); in fillGattDbElementArray()
473 env->SetObjectField(element.get(), fid, uuid.get()); in fillGattDbElementArray()
476 env->SetIntField(element.get(), fid, curr.type); in fillGattDbElementArray()
479 env->SetIntField(element.get(), fid, curr.attribute_handle); in fillGattDbElementArray()
482 env->SetIntField(element.get(), fid, curr.start_handle); in fillGattDbElementArray()
485 env->SetIntField(element.get(), fid, curr.end_handle); in fillGattDbElementArray()
488 env->SetIntField(element.get(), fid, curr.properties); in fillGattDbElementArray()
490 env->CallBooleanMethod(*array, arrayAdd, element.get()); in fillGattDbElementArray()
[all …]
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/util/
DImageCloser.java24 public void process(ImageProxy element) { in process() argument
25 element.close(); in process()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/metadatasynchronizer/
DMetadataReleasingImageQueue.java61 public void update(@Nonnull ImageProxy element) { in update() argument
62 mOutputQueue.update(new MetadataReleasingImageProxy(element)); in update()
/packages/apps/Gallery2/src/android/util/
DPools.java159 public boolean release(T element) { in release() argument
161 return super.release(element); in release()
/packages/apps/Camera2/src/android/util/
DPools.java159 public boolean release(T element) { in release() argument
161 return super.release(element); in release()
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
DLocationSettingsTests.java127 for (String element : textElements) { in testLocationSettingsElements()
128 assertNotNull(element + " item not found under Location Settings", in testLocationSettingsElements()
129 mDevice.wait(Until.findObject(By.text(element)), TIMEOUT)); in testLocationSettingsElements()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/
DMpegTsMediaCodecAudioTrackRenderer.java80 for (StackTraceElement element : e.getStackTrace()) { in isAudioTrackSetPlaybackParamsError()
81 String elementString = element.toString(); in isAudioTrackSetPlaybackParamsError()

123