Searched refs:stub (Results 1 - 21 of 21) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
H A DViewStubTest.java42 final View stub = activity.findViewById(R.id.viewStub);
43 assertNotNull("The ViewStub does not exist", stub);
51 final ViewStub stub = (ViewStub) activity.findViewById(R.id.viewStub);
52 final View swapped = stub.inflate();
62 final ViewStub stub = (ViewStub) activity.findViewById(R.id.viewStubWithId);
63 final View swapped = stub.inflate();
75 final ViewStub stub = (ViewStub) activity.findViewById(R.id.viewStubWithId);
76 final View swapped = stub.inflate();
80 assertEquals("Both stub and inflated should same width",
81 stub
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DStubFactory.cpp34 /// addPrototype - register a stub prototype
39 /// create - create a stub if needed, otherwise return NULL
44 // find if there is a prototype stub for the input relocation
45 Stub* stub = NULL; local
57 // find if there is such a stub in the backward island first.
59 stub = islands.second->findStub(prototype, pReloc);
62 if (stub == NULL) {
63 // find if there is such a stub in the forward island.
64 stub = islands.first->findStub(prototype, pReloc);
65 if (stub
94 Stub* stub = prototype->clone(); local
[all...]
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
H A DViewStubProxy.java37 public void onInflate(ViewStub stub, View inflated) {
40 inflated, stub.getLayoutResource());
44 mOnInflateListener.onInflate(stub, inflated);
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64LDBackend.cpp316 // stub and simplify the logics.
328 Stub* stub = getStubFactory()->create(*frag_ref, local
331 if (stub != NULL) {
332 // A stub symbol should be local
333 assert(stub->symInfo() != NULL && stub->symInfo()->isLocal());
335 reinterpret_cast<const AArch64CA53ErratumStub*>(stub);
337 // Rewrite the erratum instruction as a branch to the stub.
344 reloc->setSymInfo(stub->symInfo());
349 stubs_strlen += stub
406 Stub* stub = getStubFactory()->create(*relocation, // relocation local
[all...]
/frameworks/base/core/java/android/service/quicksettings/
H A DTile.java87 public void setService(IQSService service, IBinder stub) { argument
89 mToken = stub;
/frameworks/opt/net/wifi/service/
H A DAndroid.mk19 # Make HAL stub library 1
40 # Make HAL stub library 2
58 LOCAL_MODULE := libwifi-hal-stub
103 LOCAL_STATIC_LIBRARIES += libwifi-hal-stub
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationsQuickSettingsContainer.java124 public void onInflate(ViewStub stub, View inflated) { argument
125 if (stub == mUserSwitcher) {
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMLDBackend.cpp859 Stub* stub = getStubFactory()->create(*relocation, // relocation local
863 if (stub != NULL) {
864 assert(stub->symInfo() != NULL);
865 // reset the branch target of the reloc to this stub instead
866 relocation->setSymInfo(stub->symInfo());
873 // a stub symbol should be local
874 assert(stub->symInfo() != NULL && stub->symInfo()->isLocal());
881 strtab.setSize(strtab.size() + stub->symInfo()->nameSize() +
899 // find the first fragment w/ invalid offset due to stub insertio
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/transition/
H A DTransitionHelper.java334 TransitionStub stub = (TransitionStub) transition;
335 if (stub.mTransitionListeners == null) {
336 stub.mTransitionListeners = new ArrayList<TransitionListener>();
338 stub.mTransitionListeners.add(listener);
343 TransitionStub stub = (TransitionStub) transition;
344 if (stub.mTransitionListeners != null) {
345 stub.mTransitionListeners.remove(listener);
/frameworks/base/core/java/android/view/
H A DViewStub.java45 * &lt;ViewStub android:id="@+id/stub"
52 * The ViewStub thus defined can be found using the id "stub." After inflation of
61 * ViewStub stub = (ViewStub) findViewById(R.id.stub);
62 * View inflated = stub.inflate();
315 * @param stub The ViewStub that initiated the inflation.
318 void onInflate(ViewStub stub, View inflated); argument
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DViewStubCompat.java260 * @param stub The ViewStub that initiated the inflation.
263 void onInflate(ViewStubCompat stub, View inflated); argument
/frameworks/base/media/java/android/media/tv/
H A DTvInputService.java2016 ITvInputSession stub = new ITvInputSessionWrapper(TvInputService.this,
2037 proxySession.mProxySession = stub;
2047 someArgs.arg2 = stub;
2058 ITvInputSession stub = (ITvInputSession) args.arg2;
2062 cb.onSessionCreated(stub, hardwareSessionToken);
2087 ITvInputSession stub = new ITvInputSessionWrapper(TvInputService.this,
2090 cb.onSessionCreated(stub, null);
/frameworks/base/media/java/android/media/session/
H A DMediaSession.java1256 public final ResultReceiver stub; field in class:MediaSession.Command
1258 public Command(String command, Bundle extras, ResultReceiver stub) { argument
1261 this.stub = stub;
1321 mCallback.onCommand(cmd.command, cmd.extras, cmd.stub);
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonLDBackend.cpp575 Stub* stub = getStubFactory()->create(*relocation, // relocation local
579 if (stub != NULL) {
580 assert(stub->symInfo() != NULL);
581 // reset the branch target of the reloc to this stub instead
582 relocation->setSymInfo(stub->symInfo());
588 strtab.setSize(strtab.size() + stub->symInfo()->nameSize() + 1);
600 // find the first fragment w/ invalid offset due to stub insertion
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
H A DVoiceInteractionManagerServiceImpl.java113 VoiceInteractionManagerService.VoiceInteractionManagerServiceStub stub,
117 mServiceStub = stub;
112 VoiceInteractionManagerServiceImpl(Context context, Handler handler, VoiceInteractionManagerService.VoiceInteractionManagerServiceStub stub, int userHandle, ComponentName service) argument
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
H A DListenerBindingObject.java227 public void onInflate(ViewStub stub, View inflated) { argument
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsLDBackend.cpp776 Stub* stub = getStubFactory()->create( local
779 if (stub == NULL)
782 assert(stub->symInfo() != NULL);
783 // reset the branch target of the reloc to this stub instead
784 pRel.setSymInfo(stub->symInfo());
790 strtab.setSize(strtab.size() + stub->symInfo()->nameSize() + 1);
827 // find the first fragment w/ invalid offset due to stub insertion
/frameworks/support/media-compat/java/android/support/v4/media/session/
H A DMediaSessionCompat.java2057 public final ResultReceiver stub; field in class:MediaSessionCompat.MediaSessionImplBase.Command
2059 public Command(String command, Bundle extras, ResultReceiver stub) { argument
2062 this.stub = stub;
2126 cb.onCommand(cmd.command, cmd.extras, cmd.stub);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DExpandableNotificationRow.java869 public void onInflate(ViewStub stub, View inflated) {
878 public void onInflate(ViewStub stub, View inflated) {
889 public void onInflate(ViewStub stub, View inflated) {
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAppCompatDelegateImplV9.java806 ViewStubCompat stub = (ViewStubCompat) mSubDecor
808 if (stub != null) {
810 stub.setLayoutInflater(LayoutInflater.from(getActionBarThemedContext()));
811 mActionModeView = (ActionBarContextView) stub.inflate();
/frameworks/base/core/java/com/android/internal/policy/
H A DDecorView.java1665 ViewStub stub = (ViewStub) findViewById(R.id.action_mode_bar_stub);
1666 if (stub != null) {
1667 mPrimaryActionModeView = (ActionBarContextView) stub.inflate();

Completed in 1323 milliseconds