Files
brave-core/android/java/res
Artem Samoilenko 01faa34916 [cr143][Android] Changes for StatusIcons size constraint
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/c818a3850128c73f62537482e36f43367e9c40ce

commit c818a3850128c73f62537482e36f43367e9c40ce
Author: Tomasz Wiszkowski <ender@google.com>
Date:   Fri Oct 3 15:11:19 2025 -0700

    Ensure all StatusIcons meet the specific size constraint.

    We've observed a weird behavior when toggling search engines results
    in oversize and cropped search engine icon shown in the omnibox.

    This is partially because the ChromeTransitionDrawable animating
    between states receives Drawables of inconsistent sizes, and changes
    its intrinsic size, trying to accommodate the larger of the drawables.

    Second more important factor is that the StatusIconResource carrying
    drawable was shared between two different views - the NTP Fakebox and
    the Omnibox. One view altering the Drawable state made the other view
    instantly see these alterations, resulting in wrong positioning of
    the icon.

    This change aligns all StatusView icon sizes, ensuring that no icon
    can ever change the intrinsic size of the TransitionDrawable.

    Change intentionally kept small as it will need to be cherrypicked.

    Fixed: 449181250
    Change-Id: I59953971b99a01d015aa2398db058677c7816d7c
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7007583
    Commit-Queue: Tomasz Wiszkowski <ender@google.com>
    Reviewed-by: Patrick Noland <pnoland@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1525046}
2025-10-15 20:31:36 -04:00
..