/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedPreference.java | 35 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 …]
|
D | RestrictedSwitchPreference.java | 38 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/ |
D | RankingHelperTest.java | 43 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/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | GridLayoutManagerWrapContentWithAspectRatioTest.java | 83 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/setupwizard/library/eclair-mr1/test/src/com/android/setupwizardlib/test/ |
D | LinkAccessibilityHelperTest.java | 41 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()
|
/frameworks/opt/net/wifi/service/jni/ |
D | jni_helper.h | 26 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/v4/java/android/support/v4/content/ |
D | SharedPreferencesCompat.java | 49 private final Helper mHelper; field in SharedPreferencesCompat.EditorCompat 53 mHelper = new EditorHelperApi9Impl(); in EditorCompat() 55 mHelper = new EditorHelperBaseImpl(); in EditorCompat() 67 mHelper.apply(editor); in apply()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeConditions.java | 37 private final ZenModeHelper mHelper; field in ZenModeConditions 44 mHelper = helper; in ZenModeConditions() 102 mHelper.setConfigAsync(mHelper.getConfig(), "zmc.onServiceAdded"); in onServiceAdded() 108 ZenModeConfig config = mHelper.getConfig(); in onConditionChanged() 116 mHelper.setConfigAsync(config, "conditionChanged"); in onConditionChanged() 162 final ZenModeConfig config = mHelper.getConfig(); in isAutomaticActive()
|
D | NotificationUsageStats.java | 1034 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/v17/leanback/src/android/support/v17/leanback/widget/ |
D | ItemBridgeAdapterShadowOverlayWrapper.java | 27 private final ShadowOverlayHelper mHelper; field in ItemBridgeAdapterShadowOverlayWrapper 30 mHelper = helper; in ItemBridgeAdapterShadowOverlayWrapper() 36 ShadowOverlayContainer wrapper = mHelper.createShadowOverlayContainer(context); in createWrapper()
|
/frameworks/support/percent/src/android/support/percent/ |
D | PercentRelativeLayout.java | 78 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()
|
D | PercentFrameLayout.java | 78 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/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | RecentsProvider.java | 119 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/ |
D | MultiSelectManager.java | 1427 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/base/docs/html/training/in-app-billing/ |
D | preparing-iab-app.jd | 121 IabHelper mHelper; 129 mHelper = new IabHelper(this, base64EncodedPublicKey); 136 mHelper.startSetup(new IabHelper.OnIabSetupFinishedListener() { 147 <p>If the setup completed successfully, you can now use the {@code mHelper} reference to communicat… 155 if (mHelper != null) mHelper.dispose(); 156 mHelper = null;
|
D | purchase-iab-products.jd | 48 mHelper.launchPurchaseFlow(this, SKU_GAS, 10001, 83 mHelper.queryInventoryAsync(mGotInventoryListener); 114 mHelper.consumeAsync(inventory.getPurchase(SKU_GAS),
|
D | list-iab-products.jd | 65 mHelper.queryInventoryAsync(true, additionalSkuList,
|