Home
last modified time | relevance | path

Searched refs:mHelper (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedPreference.java35 RestrictedPreferenceHelper mHelper; field in RestrictedPreference
41 mHelper = new RestrictedPreferenceHelper(context, this, attrs); in RestrictedPreference()
61 mHelper.onBindViewHolder(holder); in onBindViewHolder()
70 if (!mHelper.performClick()) { in performClick()
76 mHelper.useAdminDisabledSummary(useSummary); in useAdminDisabledSummary()
81 mHelper.onAttachedToHierarchy(); in onAttachedToHierarchy()
86 mHelper.checkRestrictionAndSetDisabled(userRestriction, UserHandle.myUserId()); in checkRestrictionAndSetDisabled()
90 mHelper.checkRestrictionAndSetDisabled(userRestriction, userId); in checkRestrictionAndSetDisabled()
96 mHelper.setDisabledByAdmin(null); in setEnabled()
103 if (mHelper.setDisabledByAdmin(admin)) { in setDisabledByAdmin()
[all …]
DRestrictedSwitchPreference.java38 RestrictedPreferenceHelper mHelper; field in RestrictedSwitchPreference
46 mHelper = new RestrictedPreferenceHelper(context, this, attrs); in RestrictedSwitchPreference()
97 mHelper.onBindViewHolder(holder); in onBindViewHolder()
132 if (!mHelper.performClick()) { in performClick()
138 mHelper.useAdminDisabledSummary(useSummary); in useAdminDisabledSummary()
143 mHelper.onAttachedToHierarchy(); in onAttachedToHierarchy()
148 mHelper.checkRestrictionAndSetDisabled(userRestriction, UserHandle.myUserId()); in checkRestrictionAndSetDisabled()
152 mHelper.checkRestrictionAndSetDisabled(userRestriction, userId); in checkRestrictionAndSetDisabled()
158 mHelper.setDisabledByAdmin(null); in setEnabled()
165 if (mHelper.setDisabledByAdmin(admin)) { in setDisabledByAdmin()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/notification/
DRankingHelperTest.java43 private RankingHelper mHelper; field in RankingHelperTest
50 mHelper = new RankingHelper(getContext(), handler, mUsageStats, in setUp()
101 mHelper.sort(notificationList); in testFindAfterRankingWithASplitGroup()
102 assertTrue(mHelper.indexOf(notificationList, mRecordGroupGSortA) >= 0); in testFindAfterRankingWithASplitGroup()
103 assertTrue(mHelper.indexOf(notificationList, mRecordGroupGSortB) >= 0); in testFindAfterRankingWithASplitGroup()
104 assertTrue(mHelper.indexOf(notificationList, mRecordNoGroup) >= 0); in testFindAfterRankingWithASplitGroup()
105 assertTrue(mHelper.indexOf(notificationList, mRecordNoGroupSortA) >= 0); in testFindAfterRankingWithASplitGroup()
113 mHelper.sort(notificationList); in testSortShouldNotThrowWithPlainNotifications()
121 mHelper.sort(notificationList); in testSortShouldNotThrowOneSorted()
128 mHelper.sort(notificationList); in testSortShouldNotThrowOneNotification()
[all …]
/frameworks/opt/setupwizard/library/eclair-mr1/test/src/com/android/setupwizardlib/test/
DLinkAccessibilityHelperTest.java41 private TestLinkAccessibilityHelper mHelper; field in LinkAccessibilityHelperTest
56 mHelper = new TestLinkAccessibilityHelper(mTextView); in setUp()
64 final int virtualViewId = mHelper.getVirtualViewAt(dp2Px(15), dp2Px(10)); in testGetVirtualViewAt()
70 final int virtualViewId = mHelper.getVirtualViewAt(dp2Px(100), dp2Px(100)); in testGetVirtualViewAtHost()
78 mHelper.getVisibleVirtualViews(virtualViewIds); in testGetVisibleVirtualViews()
87 mHelper.onPopulateEventForVirtualView(1, event); in testOnPopulateEventForVirtualView()
99 mHelper.onPopulateEventForVirtualView(ExploreByTouchHelper.INVALID_ID, event); in testOnPopulateEventForVirtualViewHost()
110 mHelper.onPopulateNodeForVirtualView(1, info); in testOnPopulateNodeForVirtualView()
130 mHelper.onPopulateNodeForVirtualView(0, info); in testNullLayout()
150 mHelper = new TestLinkAccessibilityHelper(mTextView); in testRtlLayout()
[all …]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DGridLayoutManagerWrapContentWithAspectRatioTest.java83 OrientationHelper mHelper; field in GridLayoutManagerWrapContentWithAspectRatioTest
106 mHelper = OrientationHelper.createOrientationHelper( in init()
185 assertThat(mHelper.getDecoratedStart(child0), is(0)); in testChildWithMultipleSpans()
186 assertThat(mHelper.getDecoratedStart(child1), is(15)); in testChildWithMultipleSpans()
188 assertThat(mHelper.getDecoratedEnd(child0), is(15)); in testChildWithMultipleSpans()
189 assertThat(mHelper.getDecoratedEnd(child1), is(45)); in testChildWithMultipleSpans()
191 assertThat(mHelper.getDecoratedMeasurementInOther(child0), in testChildWithMultipleSpans()
193 assertThat(mHelper.getDecoratedMeasurementInOther(child1), in testChildWithMultipleSpans()
263 assertThat(mHelper.getDecoratedStart(child0), is(0)); in testChildWithMatchParentInOtherDirection()
264 assertThat(mHelper.getDecoratedStart(child1), is(15)); in testChildWithMatchParentInOtherDirection()
[all …]
/frameworks/opt/net/wifi/service/jni/
Djni_helper.h26 JNIHelper &mHelper;
33 return mHelper; in getHelper()
53 mHelper = rhs.mHelper;
146 : mHelper(helper), mObj(obj) in JNIObject()
151 : mHelper(rhs.mHelper), mObj(NULL) in JNIObject()
153 mObj = (T)mHelper.newLocalRef(rhs.mObj); in JNIObject()
165 mHelper.deleteLocalRef(mObj); in release()
173 return mHelper.newLocalRef(mObj); in clone()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DItemBridgeAdapterShadowOverlayWrapper.java27 private final ShadowOverlayHelper mHelper; field in ItemBridgeAdapterShadowOverlayWrapper
30 mHelper = helper; in ItemBridgeAdapterShadowOverlayWrapper()
36 ShadowOverlayContainer wrapper = mHelper.createShadowOverlayContainer(context); in createWrapper()
/frameworks/support/compat/java/android/support/v4/content/
DSharedPreferencesCompat.java45 private final Helper mHelper; field in SharedPreferencesCompat.EditorCompat
48 mHelper = new Helper(); in EditorCompat()
62 mHelper.apply(editor); in apply()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeConditions.java37 private final ZenModeHelper mHelper; field in ZenModeConditions
44 mHelper = helper; in ZenModeConditions()
102 mHelper.setConfig(mHelper.getConfig(), "zmc.onServiceAdded"); in onServiceAdded()
108 ZenModeConfig config = mHelper.getConfig(); in onConditionChanged()
116 mHelper.setConfig(config, "conditionChanged"); in onConditionChanged()
163 final ZenModeConfig config = mHelper.getConfig(); in isAutomaticActive()
DNotificationUsageStats.java1034 private final SQLiteOpenHelper mHelper; field in NotificationUsageStats.SQLiteLog
1082 mHelper = new SQLiteOpenHelper(context, DB_NAME, null, DB_VERSION) { in SQLiteLog()
1140 SQLiteDatabase db = mHelper.getReadableDatabase(); in jsonPostFrequencies()
1171 SQLiteDatabase db = mHelper.getReadableDatabase(); in printPostFrequencies()
1212 SQLiteDatabase db = mHelper.getWritableDatabase(); in writeEvent()
/frameworks/support/percent/src/android/support/percent/
DPercentRelativeLayout.java78 private final PercentLayoutHelper mHelper = new PercentLayoutHelper(this); field in PercentRelativeLayout
104 mHelper.adjustChildren(widthMeasureSpec, heightMeasureSpec); in onMeasure()
106 if (mHelper.handleMeasuredStateTooSmall()) { in onMeasure()
114 mHelper.restoreOriginalParams(); in onLayout()
DPercentFrameLayout.java78 private final PercentLayoutHelper mHelper = new PercentLayoutHelper(this); field in PercentFrameLayout
104 mHelper.adjustChildren(widthMeasureSpec, heightMeasureSpec); in onMeasure()
106 if (mHelper.handleMeasuredStateTooSmall()) { in onMeasure()
114 mHelper.restoreOriginalParams(); in onLayout()
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DNewDetailsSupportFragment.java70 private FullWidthDetailsOverviewSharedElementHelper mHelper; field in NewDetailsSupportFragment
171 mHelper = new FullWidthDetailsOverviewSharedElementHelper(); in onCreate()
172 mHelper.setSharedElementEnterTransition(getActivity(), in onCreate()
174 dorPresenter.setListener(mHelper); in onCreate()
220 if (mHelper != null && !mHelper.getAutoStartSharedElementTransition()) { in setItem()
221 mHelper.startPostponedEnterTransition(); in setItem()
DNewDetailsFragment.java68 private FullWidthDetailsOverviewSharedElementHelper mHelper; field in NewDetailsFragment
169 mHelper = new FullWidthDetailsOverviewSharedElementHelper(); in onCreate()
170 mHelper.setSharedElementEnterTransition(getActivity(), in onCreate()
172 dorPresenter.setListener(mHelper); in onCreate()
218 if (mHelper != null && !mHelper.getAutoStartSharedElementTransition()) { in setItem()
219 mHelper.startPostponedEnterTransition(); in setItem()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DRecentsProvider.java119 private DatabaseHelper mHelper; field in RecentsProvider
172 mHelper = new DatabaseHelper(getContext()); in onCreate()
179 final SQLiteDatabase db = mHelper.getReadableDatabase(); in query()
208 final SQLiteDatabase db = mHelper.getWritableDatabase(); in insert()
312 final SQLiteDatabase db = mHelper.getWritableDatabase(); in purgeByAuthority()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DMultiSelectManager.java1427 private final SelectionEnvironment mHelper; field in MultiSelectManager.GridModel
1468 mHelper = helper; in GridModel()
1470 mHelper.addOnScrollListener(this); in GridModel()
1478 mHelper.removeOnScrollListener(this); in stopListening()
1496 mPointer = mHelper.createAbsolutePoint(relativeOrigin); in startSelection()
1513 mPointer = mHelper.createAbsolutePoint(relativePointer); in resizeSelection()
1548 for (int i = 0; i < mHelper.getVisibleChildCount(); i++) { in recordVisibleChildren()
1549 int adapterPosition = mHelper.getAdapterPositionAt(i); in recordVisibleChildren()
1553 if (mHelper.hasView(adapterPosition) && in recordVisibleChildren()
1554 !mHelper.isLayoutItem(adapterPosition) && in recordVisibleChildren()
[all …]
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/details/
DDetailViewExampleFragment.java96 …FullWidthDetailsOverviewSharedElementHelper mHelper = new FullWidthDetailsOverviewSharedElementHel… in setupUi() local
97 mHelper.setSharedElementEnterTransition(getActivity(), TRANSITION_NAME); in setupUi()
98 rowPresenter.setListener(mHelper); in setupUi()
/frameworks/base/docs/html/training/in-app-billing/
Dpreparing-iab-app.jd185 IabHelper mHelper;
193 mHelper = new IabHelper(this, base64EncodedPublicKey);
207 mHelper.startSetup(new IabHelper.OnIabSetupFinishedListener() {
218 <p>If the setup completed successfully, you can now use the {@code mHelper} reference
235 if (mHelper != null) mHelper.dispose();
236 mHelper = null;
Dpurchase-iab-products.jd48 mHelper.launchPurchaseFlow(this, SKU_GAS, 10001,
83 mHelper.queryInventoryAsync(mGotInventoryListener);
114 mHelper.consumeAsync(inventory.getPurchase(SKU_GAS),
Dlist-iab-products.jd65 mHelper.queryInventoryAsync(true, additionalSkuList,