Home
last modified time | relevance | path

Searched refs:attachInfo (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DSwitchesProviderTest.java75 mSwitchesProvider.attachInfo(mContext, mProviderInfo); in attachInfo_noController_shouldThrowIllegalArgumentException()
84 mSwitchesProvider.attachInfo(mContext, mProviderInfo); in attachInfo_NoSwitchKeyInController_shouldThrowNullPointerException()
94 mSwitchesProvider.attachInfo(mContext, mProviderInfo); in attachInfo_NoMetaDataInController_shouldThrowNullPointerException()
109 mSwitchesProvider.attachInfo(mContext, mProviderInfo); in attachInfo_duplicateSwitchKey_shouldThrowIllegalArgumentException()
123 mSwitchesProvider.attachInfo(mContext, mProviderInfo); in attachInfo_hasDifferentControllers_shouldNotThrowException()
130 mSwitchesProvider.attachInfo(mContext, mProviderInfo); in getSwitchData_shouldNotReturnPrimarySwitchData()
145 mSwitchesProvider.attachInfo(mContext, mProviderInfo); in getSwitchData_shouldReturnDataList()
163 mSwitchesProvider.attachInfo(mContext, mProviderInfo); in getSwitchDataByKey_shouldReturnData()
178 mSwitchesProvider.attachInfo(mContext, mProviderInfo); in isChecked_shouldReturnCheckedState()
199 mSwitchesProvider.attachInfo(mContext, mProviderInfo); in getProviderIcon_noImplementInterface_shouldReturnNull()
[all …]
DEntriesProviderTest.java81 mEntriesProvider.attachInfo(mContext, mProviderInfo); in attachInfo_noController_shouldThrowIllegalArgumentException()
90 mEntriesProvider.attachInfo(mContext, mProviderInfo); in attachInfo_NoKeyInController_shouldThrowNullPointerException()
100 mEntriesProvider.attachInfo(mContext, mProviderInfo); in attachInfo_NoMetaDataInController_shouldThrowNullPointerException()
115 mEntriesProvider.attachInfo(mContext, mProviderInfo); in attachInfo_duplicateKey_shouldThrowIllegalArgumentException()
129 mEntriesProvider.attachInfo(mContext, mProviderInfo); in attachInfo_hasDifferentControllers_shouldNotThrowException()
136 mEntriesProvider.attachInfo(mContext, mProviderInfo); in getEntryData_shouldNotReturnPrimarySwitchData()
152 mEntriesProvider.attachInfo(mContext, mProviderInfo); in getEntryData_shouldReturnDataList()
172 mEntriesProvider.attachInfo(mContext, mProviderInfo); in getSwitchData_shouldReturnDataList()
193 mEntriesProvider.attachInfo(mContext, mProviderInfo); in getEntryDataByKey_shouldReturnData()
208 mEntriesProvider.attachInfo(mContext, mProviderInfo); in getSwitchDataByKey_shouldReturnData()
[all …]
/frameworks/base/core/java/android/view/
DThreadedRenderer.java430 boolean initializeIfNeeded(int width, int height, View.AttachInfo attachInfo, in initializeIfNeeded() argument
436 setup(width, height, attachInfo, surfaceInsets); in initializeIfNeeded()
515 void setup(int width, int height, AttachInfo attachInfo, Rect surfaceInsets) { in setup() argument
537 setLightCenter(attachInfo); in setup()
602 void setLightCenter(AttachInfo attachInfo) { in setLightCenter() argument
605 attachInfo.mDisplay.getRealMetrics(displayMetrics); in setLightCenter()
606 final float lightX = displayMetrics.widthPixels / 2f - attachInfo.mWindowLeft; in setLightCenter()
607 final float lightY = mLightY - attachInfo.mWindowTop; in setLightCenter()
795 void draw(View view, AttachInfo attachInfo, DrawCallbacks callbacks) { in draw() argument
796 attachInfo.mViewRootImpl.mViewFrameInfo.markDrawStart(); in draw()
[all …]
DView.java17067 void dispatchCollectViewAttributes(AttachInfo attachInfo, int visibility) { in dispatchCollectViewAttributes() argument
17068 performCollectViewAttributes(attachInfo, visibility); in dispatchCollectViewAttributes()
17071 void performCollectViewAttributes(AttachInfo attachInfo, int visibility) { in performCollectViewAttributes() argument
17074 attachInfo.mKeepScreenOn = true; in performCollectViewAttributes()
17076 attachInfo.mSystemUiVisibility |= mSystemUiVisibility; in performCollectViewAttributes()
17079 attachInfo.mHasSystemUiListeners = true; in performCollectViewAttributes()
18076 final AttachInfo attachInfo = mAttachInfo; in hasExpensiveMeasuresDuringInputEvent() local
18077 if (attachInfo == null || attachInfo.mRootView == null) { in hasExpensiveMeasuresDuringInputEvent()
18080 if (!attachInfo.mHandlingPointerEvent) { in hasExpensiveMeasuresDuringInputEvent()
18083 final ViewFrameInfo info = attachInfo.mViewRootImpl.mViewFrameInfo; in hasExpensiveMeasuresDuringInputEvent()
[all …]
DViewDebug.java947 final View.AttachInfo attachInfo = tree.mAttachInfo;
948 if (attachInfo == null) {
951 if (attachInfo.mHandler.getLooper() != Looper.myLooper()) {
955 final HardwareRenderer renderer = attachInfo.mThreadedRenderer;
1084 final View.AttachInfo attachInfo = tree.mAttachInfo;
1085 if (attachInfo == null) {
1088 if (attachInfo.mHandler.getLooper() != Looper.myLooper()) {
1092 final HardwareRenderer renderer = attachInfo.mThreadedRenderer;
DSurfaceView.java2208 void performCollectViewAttributes(AttachInfo attachInfo, int visibility) { in performCollectViewAttributes() argument
2209 super.performCollectViewAttributes(attachInfo, visibility); in performCollectViewAttributes()
2216 attachInfo.mKeepScreenOn = true; in performCollectViewAttributes()
DViewGroup.java1656 void dispatchCollectViewAttributes(AttachInfo attachInfo, int visibility) { in dispatchCollectViewAttributes() argument
1658 super.dispatchCollectViewAttributes(attachInfo, visibility); in dispatchCollectViewAttributes()
1663 child.dispatchCollectViewAttributes(attachInfo, in dispatchCollectViewAttributes()
6071 final AttachInfo attachInfo = mAttachInfo; in invalidateChild() local
6072 if (attachInfo != null && attachInfo.mHardwareAccelerated) { in invalidateChild()
6079 if (attachInfo != null) { in invalidateChild()
6097 final int[] location = attachInfo.mInvalidateChildLocation; in invalidateChild()
6102 RectF boundingRect = attachInfo.mTmpTransformRect; in invalidateChild()
6106 Transformation t = attachInfo.mTmpTransformation; in invalidateChild()
6109 transformMatrix = attachInfo.mTmpMatrix; in invalidateChild()
[all …]
/frameworks/layoutlib/bridge/src/android/view/
DAttachInfo_Accessor.java55 final View.AttachInfo attachInfo = view.mAttachInfo; in detachFromWindow() local
57 if (attachInfo != null) { in detachFromWindow()
58 ViewRootImpl_Accessor.detachFromWindow(attachInfo.mViewRootImpl); in detachFromWindow()
/frameworks/base/core/java/android/provider/
DSearchIndexablesProvider.java86 public void attachInfo(Context context, ProviderInfo info) { in attachInfo() method in SearchIndexablesProvider
114 super.attachInfo(context, info); in attachInfo()
DDocumentsProvider.java165 public void attachInfo(Context context, ProviderInfo info) { in attachInfo() method in DocumentsProvider
180 super.attachInfo(context, info); in attachInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleProvider.java141 public void attachInfo(Context context, ProviderInfo info) { in attachInfo() method in PeopleProvider
143 super.attachInfo(context, info); in attachInfo()
/frameworks/base/telephony/java/android/telephony/mbms/
DMbmsTempFileProvider.java91 public void attachInfo(Context context, ProviderInfo info) { in attachInfo() method in MbmsTempFileProvider
92 super.attachInfo(context, info); in attachInfo()
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DEntriesProvider.java82 public void attachInfo(Context context, ProviderInfo info) { in attachInfo() method in EntriesProvider
85 super.attachInfo(context, info); in attachInfo()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/debug/
DDebugProvider.kt84 override fun attachInfo(context: Context?, info: ProviderInfo?) { in attachInfo() method in com.android.settingslib.spa.debug.DebugProvider
91 super.attachInfo(context, info) in attachInfo()
/frameworks/base/core/tests/coretests/src/android/content/
DContentProviderTest.java58 mCp.attachInfo(mContext, mProvider); in setUp()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/search/
DSpaSearchProvider.kt96 override fun attachInfo(context: Context?, info: ProviderInfo?) { in attachInfo() method in com.android.settingslib.spa.search.SpaSearchProvider
102 super.attachInfo(context, info) in attachInfo()
/frameworks/base/test-mock/api/
Dlint-baseline.txt10 MissingNullability: android.test.mock.MockContentProvider#attachInfo(android.content.Context, andro…
11 Missing nullability on parameter `context` in method `attachInfo`
12 MissingNullability: android.test.mock.MockContentProvider#attachInfo(android.content.Context, andro…
13 Missing nullability on parameter `info` in method `attachInfo`
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DCustomizationProvider.kt86 override fun attachInfo(context: Context?, info: ProviderInfo?) { in <lambda>() method in com.android.systemui.keyguard.CustomizationProvider
88 super.attachInfo(context, info) in <lambda>()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DTestDocumentsProvider.java106 public void attachInfo(Context context, ProviderInfo info) { in attachInfo() method in TestDocumentsProvider
108 super.attachInfo(context, info); in attachInfo()
/frameworks/base/core/java/android/app/slice/
DSliceProvider.java194 public void attachInfo(Context context, ProviderInfo info) { in attachInfo() method in SliceProvider
195 super.attachInfo(context, info); in attachInfo()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/eab/
DEabContactSyncControllerTest.java72 mFakeContactProvider.attachInfo(mContext, providerInfo); in setUp()
/frameworks/base/test-mock/src/android/test/mock/
DMockContentProvider.java303 public void attachInfo(Context context, ProviderInfo info) { in attachInfo() method in MockContentProvider
/frameworks/base/core/java/android/content/
DContentProvider.java2602 attachInfo(context, info, true); in attachInfoForTesting()
2612 public void attachInfo(Context context, ProviderInfo info) { in attachInfo() method in ContentProvider
2613 attachInfo(context, info, false); in attachInfo()
2616 private void attachInfo(Context context, ProviderInfo info, boolean testing) { in attachInfo() method in ContentProvider
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardSliceProviderTest.java110 mProvider.attachInfo(getContext(), null); in setup()
DCustomizationProviderTest.kt242 underTest.attachInfo(context, null) in <lambda>()

12