Home
last modified time | relevance | path

Searched refs:sel (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/java/android/widget/
DListView.java878 View sel = makeAndAddView(position, childrenTop, true, in fillFromMiddle() local
882 int selHeight = sel.getMeasuredHeight(); in fillFromMiddle()
884 sel.offsetTopAndBottom((height - selHeight) / 2); in fillFromMiddle()
887 fillAboveAndBelow(sel, position); in fillFromMiddle()
895 return sel; in fillFromMiddle()
905 private void fillAboveAndBelow(View sel, int position) { in fillAboveAndBelow() argument
908 fillUp(position - 1, sel.getTop() - dividerHeight); in fillAboveAndBelow()
910 fillDown(position + 1, sel.getBottom() + dividerHeight); in fillAboveAndBelow()
912 fillDown(position + 1, sel.getBottom() + dividerHeight); in fillAboveAndBelow()
914 fillUp(position - 1, sel.getTop() - dividerHeight); in fillAboveAndBelow()
[all …]
DGridView.java494 final View sel = makeRow(mStackFromBottom ? rowEnd : rowStart, topSelectionPixel, true); in fillSelection() local
515 return sel; in fillSelection()
744 View sel; in fillFromSelection() local
751 sel = makeRow(mStackFromBottom ? rowEnd : rowStart, selectedTop, true); in fillFromSelection()
770 return sel; in fillFromSelection()
932 View sel; in moveSelection() local
943 sel = makeRow(mStackFromBottom ? rowEnd : rowStart, oldBottom + verticalSpacing, true); in moveSelection()
954 sel = makeRow(mStackFromBottom ? rowEnd : rowStart, oldTop - verticalSpacing, false); in moveSelection()
965 sel = makeRow(mStackFromBottom ? rowEnd : rowStart, oldTop, true); in moveSelection()
979 return sel; in moveSelection()
[all …]
DAbsListView.java2599 void positionSelectorLikeTouch(int position, View sel, float x, float y) { in positionSelectorLikeTouch() argument
2600 positionSelector(position, sel, true, x, y); in positionSelectorLikeTouch()
2606 void positionSelectorLikeFocus(int position, View sel) { in positionSelectorLikeFocus() argument
2611 positionSelector(position, sel, true, x, y); in positionSelectorLikeFocus()
2613 positionSelector(position, sel); in positionSelectorLikeFocus()
2617 void positionSelector(int position, View sel) { in positionSelector() argument
2618 positionSelector(position, sel, false, -1, -1); in positionSelector()
2622 private void positionSelector(int position, View sel, boolean manageHotspot, float x, float y) { in positionSelector() argument
2629 selectorRect.set(sel.getLeft(), sel.getTop(), sel.getRight(), sel.getBottom()); in positionSelector()
2630 if (sel instanceof SelectionBoundsAdjuster) { in positionSelector()
[all …]
DSpinner.java672 View sel = makeView(mSelectedPosition, true); in layout() local
673 int width = sel.getMeasuredWidth(); in layout()
685 sel.offsetLeftAndRight(selectedOffset); in layout()
DGallery.java689 View sel = makeAndAddView(mSelectedPosition, 0, 0, true); in layout() local
692 int selectedOffset = childrenLeft + (childrenWidth / 2) - (sel.getWidth() / 2) + in layout()
694 sel.offsetLeftAndRight(selectedOffset); in layout()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/
Dencode_decode.c928 upb_selector_t sel = 0; in putary() local
936 sel = getsel(f, upb_handlers_getprimitivehandlertype(f)); in putary()
945 upb_sink_put##upbtype(&subsink, sel, *((ctype *)memory)); \ in putary()
977 upb_selector_t sel = 0; in put_ruby_value() local
979 sel = getsel(f, upb_handlers_getprimitivehandlertype(f)); in put_ruby_value()
984 upb_sink_putint32(sink, sel, NUM2INT(value)); in put_ruby_value()
987 upb_sink_putint64(sink, sel, NUM2LL(value)); in put_ruby_value()
990 upb_sink_putuint32(sink, sel, NUM2UINT(value)); in put_ruby_value()
993 upb_sink_putuint64(sink, sel, NUM2ULL(value)); in put_ruby_value()
996 upb_sink_putfloat(sink, sel, NUM2DBL(value)); in put_ruby_value()
[all …]
Dupb.c333 if (upb_handlers_getselector(f, type, &sel)) upb_inttable_insert(&t, sel, v); in assign_msg_indices()
337 upb_selector_t sel; in assign_msg_indices() local
2222 upb_selector_t sel; in trygetsel() local
2230 if (!upb_handlers_getselector(f, type, &sel)) { in trygetsel()
2237 return sel; in trygetsel()
2242 int32_t sel = trygetsel(h, f, type); in handlers_getsel() local
2243 assert(sel >= 0); in handlers_getsel()
2244 return sel; in handlers_getsel()
2252 static bool doset(upb_handlers *h, int32_t sel, const upb_fielddef *f, in doset() argument
2261 if (sel < 0) { in doset()
[all …]
Dupb.h4597 upb_selector_t sel);
5757 inline const Handlers *Handlers::GetSubHandlers(Handlers::Selector sel) const {
5758 return upb_handlers_getsubhandlers_sel(this, sel);
6083 UPB_INLINE bool upb_sink_put##type(upb_sink *s, upb_selector_t sel, \
6089 func = (functype *)upb_handlers_gethandler(s->handlers, sel); \
6091 hd = upb_handlers_gethandlerdata(s->handlers, sel); \
6109 UPB_INLINE size_t upb_sink_putstring(upb_sink *s, upb_selector_t sel,
6116 handler = (func *)upb_handlers_gethandler(s->handlers, sel);
6119 hd = upb_handlers_gethandlerdata(s->handlers, sel);
6147 UPB_INLINE bool upb_sink_startseq(upb_sink *s, upb_selector_t sel,
[all …]
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DConvert.java267 @NonNull ProgramSelector sel) { in programSelectorToHal()
271 programIdentifierToHal(hwSel.primaryId, sel.getPrimaryId()); in programSelectorToHal()
272 Arrays.stream(sel.getSecondaryIds()).map(Convert::programIdentifierToHal). in programSelectorToHal()
279 @NonNull android.hardware.broadcastradio.V2_0.ProgramSelector sel) { in programSelectorFromHal()
280 ProgramSelector.Identifier[] secondaryIds = sel.secondaryIds.stream(). in programSelectorFromHal()
285 identifierTypeToProgramType(sel.primaryId.type), in programSelectorFromHal()
286 Objects.requireNonNull(programIdentifierFromHal(sel.primaryId)), in programSelectorFromHal()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/
DGPBRootObject.m196 BOOL GPBResolveExtensionClassMethod(Class self, SEL sel) {
206 id extension = ExtensionForName(self, sel);
215 if (class_addMethod(metaClass, sel, imp, encoding)) {
223 + (BOOL)resolveClassMethod:(SEL)sel {
224 if (GPBResolveExtensionClassMethod(self, sel)) {
227 return [super resolveClassMethod:sel];
DGPBRootObject_PackagePrivate.h46 BOOL GPBResolveExtensionClassMethod(Class self, SEL sel);
DGPBMessage.m3060 + (BOOL)resolveInstanceMethod:(SEL)sel {
3075 if (sel == field->getSel_) {
3078 } else if (sel == field->setSel_) {
3081 } else if (sel == field->hasOrCountSel_) {
3089 } else if (sel == field->setHasSel_) {
3103 if (oneof && (sel == oneof->caseSel_)) {
3114 if (sel == field->getSel_) {
3126 } else if (sel == field->setSel_) {
3135 } else if (sel == field->hasOrCountSel_) {
3151 BOOL methodAdded = class_addMethod(descriptor.messageClass, sel,
[all …]
/frameworks/base/core/java/android/hardware/radio/
DProgramList.java199 ProgramSelector.Identifier sel = value.getSelector().getPrimaryId(); in putLocked() local
200 mListCallbacks.forEach(cb -> cb.onItemChanged(sel)); in putLocked()
206 ProgramSelector.Identifier sel = removed.getSelector().getPrimaryId(); in removeLocked()
207 mListCallbacks.forEach(cb -> cb.onItemRemoved(sel)); in removeLocked()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/
Dupb.c279 if (upb_handlers_getselector(f, type, &sel)) upb_inttable_insert(&t, sel, v); in assign_msg_indices()
283 upb_selector_t sel; in assign_msg_indices() local
2075 upb_selector_t sel; in trygetsel() local
2083 if (!upb_handlers_getselector(f, type, &sel)) { in trygetsel()
2090 return sel; in trygetsel()
2095 int32_t sel = trygetsel(h, f, type); in handlers_getsel() local
2096 assert(sel >= 0); in handlers_getsel()
2097 return sel; in handlers_getsel()
2105 static bool doset(upb_handlers *h, int32_t sel, const upb_fielddef *f, in doset() argument
2114 if (sel < 0) { in doset()
[all …]
Dupb.h3901 upb_selector_t sel);
5061 inline const Handlers *Handlers::GetSubHandlers(Handlers::Selector sel) const {
5062 return upb_handlers_getsubhandlers_sel(this, sel);
5648 UPB_INLINE bool upb_sink_put##type(upb_sink *s, upb_selector_t sel, \
5654 func = (functype *)upb_handlers_gethandler(s->handlers, sel); \
5656 hd = upb_handlers_gethandlerdata(s->handlers, sel); \
5674 UPB_INLINE size_t upb_sink_putstring(upb_sink *s, upb_selector_t sel,
5681 handler = (func *)upb_handlers_gethandler(s->handlers, sel);
5684 hd = upb_handlers_gethandlerdata(s->handlers, sel);
5712 UPB_INLINE bool upb_sink_startseq(upb_sink *s, upb_selector_t sel,
[all …]
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/tests/functional/
DRadioTunerTest.java393 ProgramSelector sel = list.get(0).getSelector(); in testTuneFromProgramList() local
394 mRadioTuner.tune(sel); in testTuneFromProgramList()
398 assertEquals(sel, infoc.getValue().getSelector()); in testTuneFromProgramList()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
DGPBConcurrencyTests.m195 SEL sel = @selector(readOptionalForeignMessageExtension:);
196 NSArray *threads = [self createThreadsWithSelector:sel object:messages];