Searched refs:widgetSize (Results 1 – 2 of 2) sorted by relevance
228 final int widgetSize = (int) (minSide * 0.75); in onCreate() local229 final FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams(widgetSize, widgetSize); in onCreate()
5990 private RemoteViews findBestFitLayout(@NonNull SizeF widgetSize) {6000 if (fitsIn(layoutSize, widgetSize)) {6003 bestSqDist = squareDistance(layoutSize, widgetSize);6005 float newSqDist = squareDistance(layoutSize, widgetSize);6014 Log.w(LOG_TAG, "Could not find a RemoteViews fitting the current size: " + widgetSize);6032 @Nullable SizeF widgetSize) {6033 if (!hasSizedRemoteViews() || widgetSize == null) {6037 return findBestFitLayout(widgetSize);