Home
last modified time | relevance | path

Searched refs:widgetState (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/
DTransitionLayout.kt125 val widgetState = currentState.widgetStates.get(child.id) ?: continue in applyCurrentState() constant
133 if (child is TextView && widgetState.width < widgetState.measureWidth) { in applyCurrentState()
135 widgetState.measureWidth - widgetState.width in applyCurrentState()
143 if (child.measuredWidth != widgetState.measureWidth || in applyCurrentState()
144 child.measuredHeight != widgetState.measureHeight) { in applyCurrentState()
145 val measureWidthSpec = MeasureSpec.makeMeasureSpec(widgetState.measureWidth, in applyCurrentState()
147 val measureHeightSpec = MeasureSpec.makeMeasureSpec(widgetState.measureHeight, in applyCurrentState()
153 val left = widgetState.x.toInt() + contentTranslationX - clipShift in applyCurrentState()
154 val top = widgetState.y.toInt() + contentTranslationY in applyCurrentState()
156 val boundsWidth = if (clipMode) widgetState.measureWidth else widgetState.width in applyCurrentState()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java1003 byte[] widgetState = AppWidgetBackupBridge.getWidgetState(pkgName, mUserId); in writeWidgetPayloadIfAppropriate()
1006 if (!priorStateExists && widgetState == null) { in writeWidgetPayloadIfAppropriate()
1009 mReporter.onWriteWidgetData(priorStateExists, widgetState); in writeWidgetPayloadIfAppropriate()
1016 if (widgetState != null) { in writeWidgetPayloadIfAppropriate()
1017 newChecksum = SHA1Checksum(widgetState); in writeWidgetPayloadIfAppropriate()
1034 if (widgetState != null) { in writeWidgetPayloadIfAppropriate()
1042 out.writeEntityHeader(KEY_WIDGET_STATE, widgetState.length); in writeWidgetPayloadIfAppropriate()
1043 out.writeEntityData(widgetState, widgetState.length); in writeWidgetPayloadIfAppropriate()
DKeyValueBackupReporter.java236 void onWriteWidgetData(boolean priorStateExists, @Nullable byte[] widgetState) { in onWriteWidgetData() argument
241 + (widgetState != null) in onWriteWidgetData()